alive:system-upgrade

alive:system-upgrade is a skill for Claude Code, Codex from alivecontext/alive. It costs 57 tokens per session (6,502 once invoked), scanned A, original, MIT.

A migration tool for updating an ALIVE workspace from older versions to the current version. It supports several ALIVE layouts and can preview changes, resume incomplete upgrades, or inspect rollback packages.

In plain words
What is it for?
Use it to upgrade an ALIVE workspace, detect its older version, preview the migration, resume it after failure, or inspect an earlier upgrade package.
Why use it?
It reduces the manual work and risk involved in changing the workspace structure between versions. It also helps recover or review a partially completed upgrade.

Skill for Claude CodeCodex

Part of the alive plugin — 17 skills, 5 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alivecontext/alive/system-upgrade
Any agent
npx skills add alivecontext/alive --skill system-upgrade
Clone the repo
git clone --depth 1 https://github.com/alivecontext/alive

Made for: Claude Code, Codex.

Or install alive, the plugin that ships this one along with the rest of its 17 skills, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for alive:system-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivecontext/alive/system-upgrade.svg)](https://agentmods.dev/skills/alivecontext/alive/system-upgrade)
Your own site
<a href="https://agentmods.dev/skills/alivecontext/alive/system-upgrade"><img src="https://agentmods.dev/badge/skills/alivecontext/alive/system-upgrade.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,502 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00057 $0.06502
Opus 5 $0.00028 $0.03251
Sonnet 5 $0.00011 $0.01300
Haiku 4.5 $0.00006 $0.00650

Measured 3d ago against content hash 0927f045b75c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

alive:system-upgrade scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

3. **Invoke the orchestrator via subprocess.run.** The skill calls `python -m system_upgrade.cli <args>` (or, in-process, dispatches through the `bin/alive` `_SUBCOMMANDS` registry) with `subprocess.run(..., shell=False,
plugins/alive/skills/system-upgrade/SKILL.md · 309 lines

How it starts

The opening of the file, as written. The whole thing — 309 lines — stays where its author put it; the contents beside it link to each section on GitHub.

System Upgrade

Upgrade an ALIVE world from any prior version to the current target. The skill is a thin operator-facing surface; the work happens in the system_upgrade/ Python package shipped with the plugin (orchestrator + 13 locked phases). Stdlib-only, no PyYAML/ruamel.

If you are reading this on the old monolithic skill (476 lines of inline upgrade logic), that file has been retired in favour of the orchestrator. This file documents what the operator and skill agent need to know to drive it.


When It Fires

  • The human runs /alive:system-upgrade (any version of the world — v1, v2, v3.0, v3.1, v3.2).
  • The session-new hook detects a legacy structure and surfaces the upgrade prompt.
  • The human says "upgrade my world", "migrate to the new version", "update alive".
  • The human asks to inspect or restore an earlier upgrade tarball (--rollback).

Tool version vs world version

Two distinct version concepts; the orchestrator never confuses them.

  • Tool version — read from plugins/alive/.claude-plugin/plugin.json version. The version of the migrator currently installed. Used for --resume plugin-version-skew validation and the upgrade record's tool_version_at_run field. Never feeds world-version inference; never feeds the no-op short-circuit.
  • World version — derived from world content fingerprints only: path/file existence, bundle schema fingerprints, hook/script content patterns. Three signals, not four. Lowest-version-wins. When zero signals fire, refuse with --assume-empty-world as the explicit override.
  • TARGET_WORLD_VERSION — hardcoded constant in system_upgrade/__init__.py (currently "3.2.0"). The version the redesign migrates worlds TO. The no-op short-circuit compares the world version (and every per-walnut version) against this constant — never against the tool version. Bumped in lockstep with each plugin minor that introduces world-format changes.

Phases (locked 13)

The orchestrator runs the same 13 steps every invocation. Numbers below are stable contract numbers — they appear in resume markers, runstate logs, and the phase_reached envelope field.

Read the full file on GitHub · 309 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 309 lines · 57 tokens per session scan A 0927f045b75c

Subscribe to this mod's changes

alive:system-upgrade is a skill published in the GitHub repository alivecontext/alive (127 stars, last pushed 8d ago), licensed MIT. It adds 57 tokens to every session and 6,502 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

crit-cli

Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared code/plans/docs/proposals), publish or unpublish a crit review with crit share, sync a crit review to or from a GitHub PR or GitLab MR, or read/interpret a crit review JSON file.…

tomasz-tomczyk/crit · 110 tokens

crit

Review code changes, a plan, a live page (running dev server), or a local HTML file with Crit inline comments and structured human feedback. Use only when the user explicitly invokes /crit or directly asks to use Crit; a generic review request does not count.

tomasz-tomczyk/crit · 55 tokens

crit-story

Author a crit story only when the user explicitly invokes /crit-story or directly asks you to generate a crit story. Do not infer this skill from generic review, PR, or diff-review requests.

tomasz-tomczyk/crit · 42 tokens

cco-config

View and tune CCO's behavior thresholds — re-read warnings, cache staleness, prompt-coach length bands, and the /cco-pack budget cap.

egorfedorov/claude-context-optimizer · 34 tokens

cco-budget

Configure token budget limits, auto-compact settings, and view current budget status (model-aware — Opus 4.8 default, full 1M context at standard price).

egorfedorov/claude-context-optimizer · 39 tokens

cco-overhead

Audit the fixed context overhead every session starts with — system prompt, MCP tools, agents, CLAUDE.md, memory — measured from real transcript usage.

egorfedorov/claude-context-optimizer · 34 tokens