clean
Run capa clean when you want to strip capa-managed artifacts before a reinstall or when leaving a project.
Synopsis
Section titled “Synopsis”capa cleanThis command has no command-specific flags. Global flags still apply — see Global flags.
What it removes
Section titled “What it removes”- Skill directories capa installed for each provider
- capa-managed MCP client config entries
- capa-managed blocks in
AGENTS.md/CLAUDE.md(deletes the file if it becomes empty) - capa-installed hook entries (hand-authored hooks are preserved)
- Materialized hook scripts under
~/.capa/hooks/<projectId>/
It does not delete your capabilities.yaml / .json or user-authored provider files.
Examples
Section titled “Examples”capa cleancapa clean && capa install