upgrade
/upgrade
Bring a project up to date with the clm it runs, taking the migrations clm upgrade lists and landing them. Use when clm says a migration is pending or the human asks to upgrade the project.
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Bring a project up to date with the clm it runs, taking the migrations clm upgrade lists and landing them. Use when clm says a migration is pending or the human asks to upgrade the project.
Original author description
Bring a project up to date with the clm it runs, taking the migrations clm upgrade lists and landing them. Use when clm says a migration is pending or the human asks to upgrade the project.
How it works
SKILL.md has no level-two headings · 17 lines, 895 words
SKILL.md preview
--- description: Bring a project up to date with the clm it runs, taking the migrations clm upgrade lists and landing them. Use when clm says a migration is pending or the human asks to upgrade the project. --- # Upgrade the project Bring the project up to date with the `clm` it runs, one migration at a time (`upgrades-carry-migrations`). Never push `main` by any means but `clm land`. Run `clm approve` only after the human says yes in this conversation, and only through the guard's confirmation. 1. Run `clm upgrade`. When it prints `up to date`, say so and stop. 2. Cut the branch `upgrade/<YYYYMMDD>` from `origin/main` in a worktree of its own (`session-worktrees`): run `git worktree add .claude/worktrees/upgrade-<YYYYMMDD> -b upgrade/<YYYYMMDD> origin/main`, change into it and work only there. Never switch the checkout you started in onto another branch. 3. Run `clm upgrade --apply`. It takes the mechanical migrations and prints a `note <id>` line for each advised edit the project owns. 4. For each `note <id>`, read the note with `clm upgrade --note <id>`, show the human the edit it proposes beside the file's current text, and make the edit on their yes. On their no, run `clm upgrade --decline <id>`. An edit to `ARCHITECTURE.md` or `CAPABILITIES.md` is one the human then approves again with `clm approve`. A note that says it edits no file, such as the one telling a project its tests must now overlap (`upgrade/migration-tests-overlap`), asks for no edit: show the human the note, offer to do what it advises (such as looking through the check script and tests for fixed ports, paths and shared servers and recording each as a `bug` backlog item on the notes branch) and do it on their yes, and run no `clm upgrade --decline` for it, since `clm upgrade --apply`'s stamp has already taken it (`stamp-taken-notes`). For the note on `.claude/settings.json` (`upgrade/migration-unattended-allow-rules`), never edit that file yourself, since it holds the human's settings and is a protected path (`unattended-steps-run-clm`): show the human the rules `clm init --check-permissions` prints in the upgrade's worktree, ask them to add those they want to `.claude/settings.json` there by hand, and run `clm upgrade --decline` for the migration when they want none. When the root component's `paths` don't list `.claude/settings.json` and git doesn't track it yet, as in a project set up before `clm init` seeded the rules, put the file's addition to the root's `paths` on the notes branch, as a change of its own as `/clm:propose` makes one (`changes/<id>/` with a delta for the root's frontmatter, applied), landing it as that branch lands, and commit the settings file only after that, on a third branch `upgrade/<YYYYMMDD>-settings` cut from the new `origin/main` and landed as the code branch is, since `.claude/settings.json` is a code path and `clm check` reports a tracked file that no component's `paths` hold. A project whose root already lists the file takes the human's settings edit on the first, code, branch. When `clm upgrade --apply` prints `applied 20261107-slow-tests-after-land`, the migration "Slow tests can run after the land: offer [verify]" (`upgrade/migration-offer-verify`), which appended the commented `[verify]` section to `clm.toml`, ask the human the questions `/clm:init` asks about slow tests (`init-skill-asks-verify`): whether the project has tests too slow to run on every land and, on a yes, the command, where they run (`local`, `pipeline` or `import`) and the triggers, recommending `change-done`. Ask them before committing the first branch. On a yes, replace the commented section with those settings, keep those tests out of `[land] check`, and for `pipeline` and `import` say what the host's pipeline must run, naming `clm guide ci-and-deployment`. The settings are a change outside spec paths, so they land on the first branch in step 7, as a code branch of its own when nothing else is outside spec paths, never with the notes. On a no, leave the section commented. 5. When `clm upgrade` still lists a `required` migration after `--apply`, or a migration fails, report it with `clm defect --component upgrade`, tell the human that `skip_migrations` in this clone's `clm.local.toml` lets this clone run meanwhile, never setting it without their yes, and stop: land nothing, so `upgraded` never records a project that still has a required migration pending. 6. Run `clm check`. 7. Land in two branches, since mechanical migrations are code and a note's edit is spec, which `clm gate` refuses together as `mixed`. First commit the changes outside spec paths on `upgrade/<YYYYMMDD>`, when there are any, `[verify]` settings among them, leaving the rest uncommitted. `clm.toml` holds both the settings and the `upgraded` and `declined_migrations` lines, which go on the notes branch, so split `clm.toml`'s edit: note the new values of those two lines, set them back to what `origin/main` has, and commit `clm.toml` with only its settings here, never the stamp lines with them. Run `clm gate --base origin/main` and land the branch by its first line, as `propose` lands a branch: `code` lands on checks; push with `clm branch push`, open the pull request with `clm pr open` and run `clm land`. Go by what `clm land` prints; `gate/up-to-date` or a conflict means `clm rebase` until its last line is `rebase ok`. 8. Then add a second worktree from the new `origin/main`, `git worktree add .claude/worktrees/upgrade-<YYYYMMDD>-notes -b upgrade/<YYYYMMDD>-notes origin/main`, make the notes' edits and `clm.toml`'s `upgraded` and `declined_migrations` lines there, run `clm check`, commit and land it the same way. When `clm gate --base origin/main` prints `spec review`, ask for the human's `clm approve` first and run `clm land` on their yes. 9. Delete each pushed branch after it lands with `clm branch delete`, and remove its worktree.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · clunny/clm | 80 | MIT |
| rossumai/claude-marketplace | 100 | MIT |
| naymspace/backpex | 100 | MIT |
| hellblazer/nexus | 100 | AGPL-3.0 |
| chrs-myrs/livespec | 100 | MIT |
| jamesm-dev/payday-dev | 100 | MIT |
| kayossouza/brain-template | 100 | MIT |
| kayossouza/brain-template | 100 | MIT |
| fx/cc | 100 | MIT |
Database snapshot: 13.11.2026 · package version 87cbb2d94d0e (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 80init
Bring a repository under CLM. Sets up its tooling with clm init and proposes its first spec graph, drafted from a short conversation for a new project or recovered from the code for an existing one. Use when the user wants to adopt CLM in a repository without specs/SPEC.md. - 80triage
Work the CLM backlog down unattended. Groups the backlog with clm triage and offers a menu of what it holds (approvals, questions for the human, bugs, blockers and ideas), approves designed changes, records the human's answers, brainstorms ideas, drafts each bug group in a… - 90kelly-clm
Lightweight contract lifecycle management App-in-Skill (Busabase App-in-Skill) for contract inventory, lifecycle status, owners, obligations, renewal notices, and simple approval reminders. Use when the user invokes $kelly-clm or /kelly-clm, mentions CLM, contract lifecycle… - 100update
Bring a whole project to the latest of everything, now and then. Upgrade the tools, their settings and every package, big upgrades included, ask only about the ones that need the owner's call, prove the app still builds and works, and end in a pull request. Use when someone says… - 100pro-upgrade
Use when the user wants to upgrade their Ant Design Pro project to the latest version. Triggers on: upgrade pro, pro upgrade, migrate pro, update pro, 升级, 迁移项目, "how to upgrade", "update to latest", "keep project up to date". - 100cursor-upgrade-migration
Execute upgrade Cursor versions and migrate settings. Triggers on "upgrade cursor", "update cursor", "cursor migration", "cursor new version", "cursor changelog". Use when working with cursor upgrade migration functionality. Trigger with phrases like "cursor upgrade migration",…