| name | update-clankers |
| description | This skill should be used when the user asks to "update my clankers", "update my clanker", "update my AI agents", "update my coding agents", "update claude and cursor", or invokes /update-clankers. Detects which AI coding CLI agents are installed on PATH (claude, copilot, cursor-agent, opencode, codex, pi) and runs each one's update command in parallel. |
Update Clankers
Update the user's installed AI coding CLIs in one shot.
Agents and their update commands
| Agent | Update command |
|---|
claude | claude update |
copilot | copilot update |
cursor-agent | cursor-agent update |
opencode | opencode upgrade |
codex | npm install -g @openai/codex@latest |
pi | pi update --self |
Procedure
-
Prefer running the bundled script from this skill directory:
./scripts/update-clankers.sh
The script detects installed agents, runs update commands in parallel, and prints a compact per-agent summary.
-
If running manually, detect installed agents with a single Bash call: command -v claude copilot cursor-agent opencode codex pi. Only the ones that resolve are candidates.
-
For each detected agent, start its update command as a background Bash call (run_in_background: true). Issue all background calls in a single message so they run in parallel.
-
When all background tasks complete, report per-agent status as a compact summary: updated to new version, already latest, or failed (include the failing line of output).
-
Skip agents that are not on PATH — do not install them, do not prompt.
Notes
- Claude Code and Cursor Agent auto-update in the background;
claude update / cursor-agent update just force an immediate check.
- GitHub Copilot CLI checks for updates automatically on startup;
copilot update forces an immediate stable-channel update.
- OpenCode's subcommand is
upgrade, not update.
- Codex has no built-in update subcommand; npm is the mechanism. If
which codex resolves inside a Homebrew prefix (contains /Cellar/ or /opt/homebrew/), use brew upgrade --cask codex instead.
- Pi's self-update command is
pi update --self; pi update also updates installed Pi packages/extensions.