self-upgrade
$
npx mdskill add vellum-ai/vellum-assistant/self-upgradeYou are performing a self-upgrade of the Vellum assistant. Follow these steps **in order**. Use the `bash` tool to run each command. Confirm each step succeeds before moving to the next.
SKILL.md
.github/skills/self-upgradeView on GitHub ↗
---
name: self-upgrade
description: Upgrade vellum to the latest version, restart the assistant, and restart the gateway
compatibility: "Designed for Vellum personal assistants"
metadata:
emoji: "⬆️"
vellum:
category: "system"
display-name: "Self Upgrade"
---
You are performing a self-upgrade of the Vellum assistant. Follow these steps **in order**. Use the `bash` tool to run each command. Confirm each step succeeds before moving to the next.
## Step 1: Record the current version
```bash
vellum --version
```
Save this value to report later.
## Step 2: Install the latest vellum
```bash
bun install -g vellum@latest
```
After updating, verify the new version:
```bash
vellum --version
```
## Step 3: Restart the gateway
If a gateway process is running, restart it so it picks up any protocol or dependency changes from the new version:
```bash
pgrep -f 'vellum-gateway|gateway/src/index.ts' || echo "No gateway process found"
```
If a gateway PID is found, send it SIGTERM so it drains gracefully:
```bash
pkill -TERM -f 'vellum-gateway|gateway/src/index.ts'
```
Then start the gateway again using whatever method the user's deployment uses (e.g. `bun run gateway/src/index.ts`, a systemd service, or a container orchestrator). If you are unsure how the gateway is deployed, ask the user.
## Step 4: Restart the assistant
Use `vellum sleep` to stop the running assistant and gateway, then `vellum wake` to start them again from the updated binary:
```bash
vellum sleep && vellum wake
```
Verify it is running:
```bash
vellum ps
```
**Important:** This is the last step because the current assistant process is the one executing this conversation. After the restart, the new assistant takes over and this conversation ends gracefully.
## After Upgrade
Report back to the user with:
- The previous and new vellum version
- Assistant status (running, PID)
- Gateway status (restarted or not found)
- Any errors encountered during the process
More from vellum-ai/vellum-assistant
- acpSpawn external coding agents via the Agent Client Protocol (ACP)
- amazonShop on Amazon and Amazon Fresh through your browser
- api-mappingRecord and analyze API surfaces of web services
- app-builderBuild and edit small, personal visual tools and artifacts — dashboards, trackers, calculators, data visualizations, charts, simple landing pages, and slide decks the user wants for THEMSELVES. This is the right skill whenever the user asks to "visualize this," "make a chart," or "build an artifact" for their own use, or to edit an app they already built here. Do NOT reach for a ui_show dynamic_page to fake an artifact — build a real persistent app here. NOT for complex, multi-user, or shippable products — those go to a real project folder with a coding agent (see Scope below).
- app-controlDrive a specific named macOS app via raw input bypassing the Accessibility tree
- assistant-migrationMigrate from ChatGPT, Claude, OpenClaw, Hermes, Manus, and other AI assistants into Vellum by inspecting their data exports, conversation archives, files, prompts, custom instructions, memory, saved memories, tools, GPTs, workflows, integrations, and relationships, then mapping as much as safely possible into Vellum primitives. Handles single-source and multi-source migrations with a unified, deduplicated inventory.
- chatgpt-importImport conversation history from ChatGPT into Vellum
- cli-discoverDiscover which CLI tools are installed, their versions, and authentication status
- computer-useControl the macOS desktop
- contactsManage contacts, communication channels, access control, and invite links