upgrade-claude
Upgrade Claude Code to the latest version with graceful shutdown and auto-restart.
Skill by zylos-ai
Chalk Labs
Need help deploying upgrade-claude?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zylos-ai-upgrade-claude
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building, ci-cd
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/upgrade-claude
What's inside
- Skill name
upgrade-claude- Description
- Upgrade Claude Code to the latest version with graceful shutdown and auto-restart. Use when the user asks to upgrade or when a new Claude Code version is available.
- License
- MIT
- Instructions
- 67 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Files (3)
- SKILL.md
- package.json
- upgrade.js · scripts/
SKILL.md (first lines)
# Upgrade Claude Code Skill Upgrade Claude Code to the latest version - sends /exit, waits for exit, upgrades, and lets activity-monitor restart. ## When to Use - User explicitly asks to upgrade Claude Code - New Claude Code version is available - Need to apply Claude Code updates ## Pre-Upgrade Checklist Before launching the upgrade script, complete these steps **in order**: ### 1. Stop background tasks Check for running background agents (Task tool). If any are active, stop them to avoid orphaned work. ### 2. Sync memory Update memory files (state.md, sessions/current.md, etc.) to preserve important context that would otherwise be lost on restart. ### 3. Write a session handoff summary Write a brief message covering: - **What was being worked on** (active tasks, user requests in progress) - **Current state** (what's done, what's pending, any blockers) - **What the next session should pick up** (if anything) ### 4. Send the handoff summary Send the full handoff summary to the internal `void` channel via C4: ```bash cat <<'EOF' | node ~/zylos/.claude/skills/comm-bridge/scripts/c4-send.js "void" "session-handoff" <handoff summary> EOF ``` The `void` channel is record-only: the message is stored in C4 conversation history (so the upgraded session's startup hook, `c4-session-init`, includes it in startup context) but is never delivered to any real channel or display surface. Do not send the full handoff summary to the active external user channel (Telegram, Lark, Feishu, HXA, etc.). Handoff summaries are operational context for the next agent session and may contain task state from outside the current conversation. If the user is actively waiting, send only a short user-facing notice to their current `reply via` path, without internal task inventory or cross-channel context. ### 5. Launch the upgrade script **IMPORTANT: Must use `nohup ... &` pattern!** ```bash nohup node ~/zylos/.claude/skills/upgrade-claude/scripts/upgrade.js >> ~/zylos/logs/upgrade.log 2>&1 & ``` ## How It Works 1. **Enqueue /exit**: Puts `/exit` into the control queue (priority=1, block_queue_until_idle) — dispatcher handles idle detection and message blocking 2. **Wait for exit**: Monitors Claude process until it exits (up to 120s); aborts if timeout 3. **Upgrade**: Runs native installer (`curl -fsSL https://claude.ai/install.sh | bash`) 4. **Daemon restart**: activity-monitor detects exit and restarts Claude automatically
From zylos-ai/zylos-core, MIT.
More from zylos-ai/zylos-core
- 0.828score
component-management
zylos-ai
Guidelines for managing zylos components via CLI and C4 channels.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
zylos-memory
zylos-ai
Core memory system.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
scheduler
zylos-ai
Use when user wants to schedule tasks for future, recurring, or interval execution.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
http
zylos-ai
Caddy-based web server providing web console hosting, file sharing, and health check endpoints.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
health-check
zylos-ai
System health check dispatched by the activity monitor via Control queue.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
comm-bridge
zylos-ai
C4 communication bridge — central gateway for ALL external communication (Telegram, Lark, etc.).
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
activity-monitor
zylos-ai
Guardian service that monitors the active runtime agent's state and automatically restarts it if stopped.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.823score
create-skill
zylos-ai
Guide for creating effective skills.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.823score
web-console
zylos-ai
Built-in web interface for communicating with Claude without external services.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
new-session
zylos-ai
Start a new session when context is high.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
check-context
zylos-ai
Accurately check current context window and token usage.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.815score
shell
zylos-ai
CLI interactive mode channel.
SkillAFreshness: A★ 1.2KClaude Code +9
Signals
- Stars
- 1,159
- Forks
- 131
- Open issues
- 124
- Last commit (this folder)
- Jul 3, 2026 (4 months ago)
- Last release
- Oct 22, 2026 (8 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zylos-ai/zylos-core
- Website
- zylos.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from zylos-ai
- 0.828score
scheduler
zylos-ai
Use when user wants to schedule tasks for future, recurring, or interval execution.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
health-check
zylos-ai
System health check dispatched by the activity monitor via Control queue.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
component-management
zylos-ai
Guidelines for managing zylos components via CLI and C4 channels.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
zylos-memory
zylos-ai
Core memory system.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
http
zylos-ai
Caddy-based web server providing web console hosting, file sharing, and health check endpoints.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.828score
comm-bridge
zylos-ai
C4 communication bridge — central gateway for ALL external communication (Telegram, Lark, etc.).
SkillAFreshness: A★ 1.2KClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get upgrade-claude running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
upgrade-claude skill. Agent Mart. https://agentmart.dev/skills/zylos-ai-upgrade-claude (last updated 2026-10-24)