capability-documentation — Claude Code skill: install
The capability-documentation skill helps document other skills with clear structure, examples, and behavior checks. It fits reusable agent guidance that needs verification.
LicenseRef-Proprietary 130 installs ★ 50 updated 2026-01-05
npx skills add qodex-ai/ai-agent-skills --skill capability-documentation -a claude-codeWhat capability-documentation does
The skill treats skill documentation as a RED-GREEN-REFACTOR cycle. Start with pressure scenarios for subagents before writing the document, record the baseline failures, add targeted rules to SKILL.md, then run the scenarios again to check compliance.
It covers skill categories, the skills/skill-name/ layout, YAML requirements for name and description, and decisions about inline content versus supporting files. It also explains how to write descriptions that help Claude find the right skill without replacing the document’s actual instructions.
You need to understand superpowers:test-driven-development first. The skill uses that cycle as its foundation, so this prerequisite affects how the guidance is applied.
What it helps with
- write a reusable
SKILL.mdreference - test an agent’s baseline behavior before documentation
- close loopholes in skill instructions
- separate heavy references from inline guidance
- make a skill easier for Claude to discover
Example prompts for the agent
- Create a reusable skill guide for a technique that applies across projects.
- Run pressure scenarios with subagents to see which rules an agent breaks before
SKILL.mdexists. - Draft
SKILL.mdwith YAML metadata, common mistakes, and a quick reference section.
How to install capability-documentation
1Skills CLI (Vercel)
npx skills add qodex-ai/ai-agent-skills --skill capability-documentation -a claude-code2Manually: put the files in place
~/.claude/skills/capability-documentation/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/capability-documentation/
1Skills CLI (Vercel)
npx skills add qodex-ai/ai-agent-skills --skill capability-documentation -a codex2Manually: put the files in place
.agents/skills/capability-documentation/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add qodex-ai/ai-agent-skills --skill capability-documentation -a cursor2Manually: put the files in place
.cursor/skills/capability-documentation/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install qodex-ai/ai-agent-skills skills/capability-documentation2Manually: put the files in place
.github/skills/capability-documentation/SKILL.md1Skills CLI (Vercel)
npx skills add qodex-ai/ai-agent-skills --skill capability-documentation -a gemini-cli2Platform CLI
gemini skills install https://github.com/qodex-ai/ai-agent-skills --path skills/capability-documentationManually: put the files in place
.devin/skills/capability-documentation/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add qodex-ai/ai-agent-skills --skill capability-documentation -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about capability-documentation
How do I install capability-documentation in Claude Code?
Run npx skills add qodex-ai/ai-agent-skills --skill capability-documentation -a claude-code, then check ~/.claude/skills/capability-documentation/SKILL.md.
What does capability-documentation do?
It guides the creation of skill documentation through baseline behavior checks, targeted rules, and a second verification pass with the agent.
What do I need before using capability-documentation?
You need to understand superpowers:test-driven-development first. This skill applies that RED-GREEN-REFACTOR cycle to documentation work.