agentleFS
vellum-aivellum-ai/vellum-assistant/.claude/skills/update/SKILL.md

update

Skill1.4k starsChanged 5 months agoMITView on GitHub

Restart the Vellum assistant and gateway services. Smart branch handling: pulls from main by default, restarts in-place on feature branches, or switches to a specified branch. Pass --pull to force-pull on the current branch.

41 other projects use a version of this.

Trending

Quiet since October.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 5 mentionsSep 2026: 6 mentionsOct 2026: 2 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the vellum-ai/vellum-assistant repository that our weekly crawl found: only 14 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about vellum-ai/vellum-assistant

The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 14

Talked about on GitHub and Bluesky (14 times).

On GitHub · 13

8 more on GitHub

Used with

Projects with it also use create, install and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SprintsAISkill

    create

    Create a new task in the workspace default stack. Use to add work items directly from Claude Code.

    Also in 3 projects that use this

  • thesmartSkill

    install

    Detects the user's OS and available package managers, then runs the correct install, uninstall, search, or list command. Use this skill whenever the user asks to install, remove, update, or search for a package or CLI tool — even if they don't name a specific package manager. Also activate when the user says things like "I need ffmpeg", "get me node 20", "remove postgres", "what package managers do I have", or "how do I install X on this machine".

    Also in 3 projects that use this

  • tombelieberSkill

    backup

    Manage Claude Code backups — sync config and sessions, list/restore sessions, check status. Use when the user asks about backups, restoring sessions, or migrating their Claude environment.

    Also in 3 projects that use this

  • MicrosoftSkill

    help

    Entry point for the MedImageInsight plugin, covering the getting-started walkthrough, how the skills work, what MI2 is, and troubleshooting.

    Also in 5 projects that use this

  • kv0906Skill

    inbox

    Quick capture mode (with content) or batch processing mode (no content). GTD-style routing of inbox items to proper folders. Use "/inbox thought to capture" or "/inbox" to process.

    Also in 3 projects that use this

  • nicodianskSkill

    wrap

    Use when ending a session, taking a break, or context is getting full. Captures session state, decisions, and generates a resume prompt for the next session. Critical for multi-session continuity.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 39 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ensure Bun is on PATH:

    line 24
  2. Very specific:

    Verify stopped - run vellum ps and confirm no running processes.

    line 39
  3. Very specific:

    After fallback cleanup, run vellum ps again to confirm all processes are stopped.

    line 51
  4. Distinctive:

    Case B - Explicit branch name provided: Check out the requested branch, pulling if possible.

    line 68
  5. Very specific:

    Verify fresh state - run vellum ps to confirm processes are running:

    line 109

“Common” is measured: kept by at least 6 in 10 of the 39 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Update - Restart Vellum (with Smart Branch Handling)

Restart the Vellum assistant and gateway services with branch-aware git behavior.

Arguments

The user may pass $ARGUMENTS to control branch behavior:

InvocationBehavior
/update (no args, on main)Pull latest from origin/main (default)
/update (no args, on a feature branch)Skip git ops - restart with the current checkout
/update <branch>Check out that branch, pull if it has a remote
/update --pullForce pull on whatever branch you're currently on

Steps

  1. Ensure Bun is on PATH:
    export PATH="$HOME/.bun/bin:$PATH"
  2. Preflight snapshot - capture current state before making changes:
    vellum ps
  3. Quiesce with vellum sleep - stop assistant and gateway processes. This is directory-agnostic and stops processes globally regardless of CWD:
    vellum sleep || true
  4. Verify stopped - run vellum ps and confirm no running processes. If vellum ps shows processes still running, run fallback cleanup to force-kill them:

    vellum ps

    Fallback cleanup if vellum ps confirms processes are still running:

    pkill -x "vellum-assistant" || true
    pkill -f "gateway/src/index" || true
    lsof -ti :7830 | xargs kill -9 2>/dev/null || true
    lsof -ti :7821 | xargs kill -9 2>/dev/null || true

    After fallback cleanup, run vellum ps again to confirm all processes are stopped.

  5. Smart branch handling - determine what git operations (if any) to perform:

    CURRENT=$(git branch --show-current)
    GIT_OPS_RAN=false

    Case A - --pull flag: Force pull on the current branch.

    if [[ "$ARGUMENTS" == "--pull" ]]; then
      git pull
      GIT_OPS_RAN=true
    fi

    Case B - Explicit branch name provided: Check out the requested branch, pulling if possible. Before checking out, verify the working tree is clean - if there are uncommitted changes, stop and warn the user rather than silently losing work. Do NOT stash automatically.

    if [[ -n "$ARGUMENTS" && "$ARGUMENTS" != "--pull" ]]; then
      if ! git diff --quiet || ! git diff --cached --quiet; then
        echo "ERROR: Uncommitted changes detected. Commit or stash them before switching branches."
        # Stop and report the error to the user. Do not proceed.
      fi
      git checkout "$ARGUMENTS"
      git pull origin "$ARGUMENTS" 2>/dev/null || true
      GIT_OPS_RAN=true
    fi

    Case C - No args, on main: Pull latest from origin (preserves current default behavior).

    if [[ -z "$ARGUMENTS" && "$CURRENT" == "main" ]]; then
      git pull origin main
      GIT_OPS_RAN=true
    fi

    Case D - No args, on a feature branch: Skip git ops entirely - just restart with the current checkout.

    if [[ -z "$ARGUMENTS" && "$CURRENT" != "main" ]]; then
      echo "On branch '$CURRENT' - skipping git pull, restarting with current checkout"
    fi
  6. Install dependencies - only if git operations ran (dependencies are unlikely to have changed for a local-only restart):
    if [[ "$GIT_OPS_RAN" == "true" ]]; then
      cd assistant && bun install && cd ..
      cd gateway && bun install && cd ..
    fi
  7. Restart with vellum wake - start assistant and gateway from the current checkout. vellum wake must be run from the checkout directory that should supply the new assistant code:
    vellum wake
  8. Verify fresh state - run vellum ps to confirm processes are running:
    sleep 5
    echo ""
    echo "=== Startup Summary ==="
    vellum ps
    echo "======================="

Report

Tailor the report to what actually happened:

  • If git pulled (Cases A, B, C): Report what was pulled (new commits), the branch, and whether dependencies were updated.
  • If restarted in-place (Case D): Report that services were restarted on the current branch with no git changes.
  • Always include: The startup summary block output (assistant health, gateway health).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.