upgrade-chief
Installation
SKILL.md
Upgrade the Chief Agent Framework to the version specified in the arguments.
Arguments
The first argument is the target version (branch or tag). Optional.
- No argument → upgrade to the latest stable release (highest semver tag). Find it by running
git ls-remote --tags https://github.com/thaitype/chief-agent-framework.git, striprefs/tags/, ignore^{}entries, and pick the highest semver version. canary→ latest canary branch (active development, unreleased)v1.0.0,v2.0.0, etc. → specific tagged version
Steps
0. Detect coding agent and install mode
Before cloning, detect which coding agent the user has set up by checking directories:
- Check if
.claude/agents/exists → suggest Claude Code - Check if
.github/agents/exists with agent files → suggest Copilot - If only
.agents/exists (no coding-agent-specific directory) → suggest OpenCode (or unknown agent)
Related skills