Turn a feature request into a reviewed code change with Clavain, a collection of guided workflows for coding agents.
After installing, open your project in Claude Code and run
/clavain:sprint "add CSV export". Clavain helps clarify the request, writes a
plan, builds and tests the feature, and gathers review findings for you to inspect.
Clavain includes 28 skills, 6 agents, and 66 commands.
- A guided path from feature idea to tested, reviewed code.
- Standalone commands for planning, debugging, review, and finishing a change.
- Written plans and review findings you can inspect in your repository.
- Optional second opinions from other models through companion plugins.
Clavain runs on Claude Code, Codex, Hermes, and Kimi Code; Claude Code is the primary path. See other host setups. It is an opinionated personal workflow, useful both as a daily tool and as a reference for building your own. Read the background and design principles for its goals and limits.
Recommended: the full Claude Code install. This installs Clavain and its companions and configures MCP servers (tools the agent can call). It also configures environment settings and resolves conflicting plugins; review the installer's proposed changes.
Have these ready before running the installer:
- Claude Code, installed and signed in.
- Node.js 20+, including
npx. - Go for
clavain-cli: the CLI currently declares Go 1.25.0 in its module. Use the module requirement when choosing a Go toolchain. - Git and a project you can work in.
Required companions: context7 (library documentation) and explanatory-output-style (explanations in agent output). Recommended companions: interphase (phase tracking), interflux (review),
intertest (testing discipline), and interpeer (second opinions). The full installer handles companions; plugin-only installation requires setup. See the companion reference for the
larger ecosystem and conflicts.
Run in your terminal:
npx @gensysven/agent-rig install mistakeknot/ClavainRestart Claude Code in your project directory. Verify the installation inside Claude Code:
/clavain:clavain-doctor
Resolve any reported missing tools or companions before starting a sprint. Then run /clavain:clavain-help to confirm the command menu is available.
Installation troubleshooting covers marketplace and
stale plugin-cache errors.
Start with a small change in an existing project. These are Claude Code slash
commands, not terminal commands. The /clavain: prefix makes the plugin explicit.
-
Check the available workflows:
/clavain:clavain-help -
Ask Clavain to plan and build one small feature:
/clavain:sprint "add CSV export"It clarifies requirements, structures the work, writes and reviews a plan, implements it, runs tests, reviews quality, resolves findings, and records lessons before the ship step. Answer its questions and inspect the artifacts as it goes. Approval checkpoints and your repository's rules still apply.
-
Inspect the work's current state:
/clavain:sprint-status -
For a planning-only session, start with:
/clavain:brainstorm "how should CSV export work?"
A sprint can take longer than ten minutes; the aim here is to start one and
understand its checkpoints. For a new repository, /clavain:project-onboard
sets up tracking and documentation before your first sprint.
| You want to… | Start with |
|---|---|
| Build a feature through the full lifecycle | /clavain:sprint |
| Test a design question with disposable code | /clavain:prototype (/prototype) |
| Explore an idea before committing to it | /clavain:brainstorm |
| Write an implementation plan | /clavain:write-plan |
| Review a document or repository | /interflux:flux-drive |
| Check your setup | /clavain:clavain-doctor |
The workflow guide explains the lifecycle, review, optional Codex delegation, and authorization setup. The component reference lists skills, agents, commands, hooks, customization, and routing. Advanced permission handoffs are covered in scoped delegation tokens.
For plugin-only, local development, Codex, the full Sylveste platform, or uninstalling, see Other install options. Codex uses native skill discovery and generated prompt wrappers; restart it after installation. Additional model tools such as Codex CLI and Oracle are optional for the Claude Code path.
- Contributing: local setup and existing validation commands.
- Philosophy, development model, and limits.
- Vision and roadmap.
- Troubleshooting.
Named after one of the protagonists from Alastair Reynolds's Revelation Space series. Built on the work of:
- Jesse Vincent (@obra): superpowers, superpowers-lab, superpowers-developing-for-claude-code
- Kieran Klaassen (@kieranklaassen): compound-engineering at Every
- Steve Yegge (@steveyegge): beads
- Peter Steinberger (@steipete): oracle
- Tobi Lütke (@tobi): qmd
MIT. Adapted third-party content and its licences are listed in THIRD-PARTY-NOTICES.md.