Skip to content

Handbook

Welcome to the Claude Rules handbook. This is the complete guide to analyzing, splitting, and maintaining your CLAUDE.md instruction files.

CLAUDE.md files grow over time. Every line costs tokens every session — whether it matters for the current task or not. A 300-line instruction file quietly becomes a tax on every thought the model has.

Claude Rules splits your instruction file into three layers:

LayerFileLoaded
Operator consoleCLAUDE.mdAlways (lean index)
Dispatch table.claude/rules/index.jsonAlways (machine-readable)
Rule payloads.claude/rules/*.mdOn demand

The agent reads the dispatch table and loads rule files when the task matches their keywords. The rest stay unloaded, saving context tokens every session.

Back to landing page