agent-add-rule
Installation
SKILL.md
Add Rule — Place Agent Instructions Correctly
Add a new rule or convention to the right location in the progressive disclosure structure.
Context Spectrum
Static (root CLAUDE.md) — loaded every conversation. Token cost paid on every conversation.
Semi-dynamic (docs/agents/) — linked from root. Token cost paid only when Claude reads it.
Fully dynamic (skills) — metadata only in context. Token cost paid only when triggered.
Workflow
Step 1: Ask
Ask the user: "What rule or convention do you want to add?"
Accept free text. If the user already provided it (e.g., /agent-add-rule always use snake_case for database columns), skip this step.