New to skills? A skill is a saved set of instructions your AI assistant reads whenever the job comes up, so you set it up once and it works the same way every time. AI Skills for Teams explains how they work.
More than a style guide
A style guide says how to write it. CLAUDE.md Discipline decides what belongs in it at all: what loads every time, what loads on demand, what goes to the archive, and how many tokens it's allowed to cost.
What it does
It treats CLAUDE.md like code. Every token costs money and dilutes attention, so the file gets a budget. Small projects under 2,000 tokens, medium under 4,000, large under 6,000. State the budget and the current count in the body near the top, never in a comment - comments can be stripped before the file reaches the model.
It covers three tiers of context. Always loaded is CLAUDE.md and rules files - design philosophy, architecture, how to build and run, testing, security, active gotchas, the 10 to 15 key files. On demand are skills and docs files - detailed patterns, module contracts, reference gotchas, loaded when working in that area. Archive is git history and docs/HISTORY.md - how things evolved, finished phases.
As CLAUDE.md grows, some things move out. Standalone instruction sets go to .claude/rules/*.md. A history section past five entries goes to docs/HISTORY.md. Gotchas for one subsystem go to a reference doc. A key-files table past 15 rows keeps the top 10 to 15. Duplicates get merged into the most authoritative section.
What it won't do
It won't decide what your design philosophy is. That's on you. It just teaches the structure that keeps CLAUDE.md useful instead of bloated.
It also won't move a rule out without a warning: a rule moved to a skill fails silently if the skill can't load, so it reminds you to check that every moved rule still loads.
More free skills
To shrink a bloated CLAUDE.md, CLAUDE.md Slim moves content to files that load only when needed. For decisions about naming and structure in a skill, Skill Authoring covers what actually makes skills activate. The full set is on the skills page.