Getting started¶
Kanso has two parts you can use on their own: the skill, which every coding agent reads, and kanso-runner, a small Python CLI that hands your agent the next step of a plan.
Install the skill¶
As a plugin¶
Each plugin ships the skill. The Claude Code and Codex plugins also ship a prompt hook that asks the agent to load Kanso on every prompt. Start a fresh session after installing.
Claude Code¶
Run these in Claude Code. Append --scope project to the install command to install for the current project only.
/plugin marketplace add datenwissenschaften/kanso
/plugin install kanso@kanso
Codex¶
codex plugin marketplace add datenwissenschaften/kanso
codex plugin add kanso@kanso
Review and trust the hook in /hooks to enable it.
GitHub Copilot CLI¶
copilot plugin marketplace add datenwissenschaften/kanso
copilot plugin install kanso@kanso
To request Kanso on every prompt in a repository, add the activation block to .github/copilot-instructions.md.
With the Skills CLI¶
Run the Skills CLI from your project directory, or add --global to install for your user:
npx --yes skills@1.9.1 add datenwissenschaften/kanso --skill kanso
By hand¶
Download kanso.zip from the latest release and extract the kanso folder into your agent's skills directory.
| Agent | For your user | For one repository | Activation block goes in |
|---|---|---|---|
| Codex | ~/.agents/skills/ |
.agents/skills/ |
~/.codex/AGENTS.md, AGENTS.md |
| Claude Code | ~/.claude/skills/ |
.claude/skills/ |
~/.claude/CLAUDE.md, CLAUDE.md |
| Cursor | ~/.agents/skills/ |
.agents/skills/ |
User Rules, AGENTS.md |
| GitHub Copilot | ~/.agents/skills/ on supported local clients |
.agents/skills/ |
.github/copilot-instructions.md |
| Gemini CLI | ~/.gemini/skills/ |
.gemini/skills/ |
~/.gemini/GEMINI.md, GEMINI.md |
| OpenCode | ~/.agents/skills/ |
.agents/skills/ |
~/.config/opencode/AGENTS.md, AGENTS.md |
On Windows, ~ is your Windows home directory; in WSL, use the Linux home directory if the agent runs there. Commit a repository install and its instruction file when teammates or cloud agents should get the same version. RetroSpeedLab does exactly that: its suite holds the skill in .agents/skills/kanso/.
Apply it on every prompt¶
Add this block once to the instruction file for your scope, with <skill-file> replaced by the path of the extracted SKILL.md: a home-directory path for user instructions, a repository-relative one such as .agents/skills/kanso/SKILL.md for a repository.
## Kanso
On every user prompt, use the kanso skill or read <skill-file>.
Apply the guidance relevant to the task while respecting higher-priority
instructions and repository contracts.
Start a fresh session, try a small task without naming the skill, and ask which engineering guidance the agent applied. In Codex, use the active file under CODEX_HOME if it is set; a non-empty AGENTS.override.md takes precedence over AGENTS.md. Agents without skill discovery get the same block in their persistent instructions, pointing to a readable copy of SKILL.md and its references/ and profiles/.
Install kanso-runner¶
kanso-runner needs Python 3.12 or later and git on the PATH. It has no dependencies of its own.
uvx kanso-runner --help # run it without installing
pip install kanso-runner # or install it, for the CLI and the Python API
Write a plan¶
The runner reads every docs/<name>-implementation-plan.md at a git ref. A minimal plan for RetroSpeedLab's music test, saved as docs/music-ab-implementation-plan.md:
# Music A/B test: implementation plan
## Steps
1. **Second take:** Pip Express has one music take. Next action: add the calmer take as `music-b.ogg` and load it next to the first.
2. **Assignment:** Next action: assign each visit to a take with the experiment's hashed variant.
3. (owner) **Licence:** confirm the licence of the calmer take before the test starts.
Commit it to main. Step 3 is tagged (owner), so the runner never picks it.
Run the first step¶
$ uvx kanso-runner next --repository . --ref main
{"plan": "music-ab", "path": "docs/music-ab-implementation-plan.md", "step": "1. **Second take:** Pip Express has one music take. Next action: ...", "prompt": "Work on the implementation plan docs/music-ab-implementation-plan.md with the Kanso skill, one step per session. ..."}
Give the prompt to your agent in a fresh session. It implements step 1 and removes it from the plan in the same commit; that commit becomes one pull request. Once that pull request is merged, next returns step 2. When no step is open, the command prints nothing and exits with code 3.
kanso-runner explains how the runner picks, and the Reference lists every option and field.