# Stuffing the Head: CLAUDE.md, the always-on frontal lobe

_Chapter 2 · Bildabrain_

> CLAUDE.md is the one document Claude reads before every single turn. Treat it as identity and standing orders — a lean table of contents, never a junk drawer.

If memory is what Claude knows and skills are what it can do, `CLAUDE.md` is **who it is**. It is the handful of pages read at the start of every conversation, before you have typed a word. Get it right and every session starts oriented. Get it wrong and you are re-introducing yourself to a stranger forever.

## What it is

`CLAUDE.md` is a plain Markdown file that Claude Code loads automatically. There are two useful altitudes:

- A **global** file (in your home config) that every project inherits — who you are, your tone, the rules that never change.
- A **project** file (at the repo root) with the facts specific to this codebase or client.

Both are injected into the model's context on every turn. That is the superpower and the trap. Superpower: standing orders that never have to be repeated. Trap: every word is re-read every turn, so bloat costs real money and, worse, **dilutes attention** — the more you cram in, the less weight any one line carries.

## Keep it a table of contents, not a rulebook

The single most common mistake is turning `CLAUDE.md` into a 4,000-line everything-document. Resist. The best `CLAUDE.md` is a lean index that **points** to detailed docs, and holds only: identity, tone, the short list of hard rules, and links to everything else. Deep material lives in its own files and is pulled in when relevant.

A sane CLAUDE.md skeleton
```
# About me
Short. Name, role, what I'm building, how to reach the facts I care about.

## Tone
Brisk. Act, don't re-prompt. One question max when it's genuinely my call.

## Hard rules (the few that must never break)
1. Never do <the thing that would cost me dearly>.
2. Money / deletes / anything irreversible -> confirm first.
3. ...keep this list short enough to actually remember.

## Pointers (the table of contents)
- Deploy steps -> docs/deploy.md
- The client list -> docs/clients.md
- Design system -> docs/design.md

```

> **Scarecrow says:** A head stuffed to bursting isn't a smart head, it's a heavy one. I would know. Give the fellow three rules he can recite from memory, not thirty he'll skim and forget.

## What belongs here (and what doesn't)

**Belongs:** identity, voice, non-negotiable rules, model and cost preferences, and links to the docs that hold the rest. **Does not belong:** anything that changes often, anything the code already states, long procedures (those are [skills](/skills/)), and one-off facts about a task (those are [memory](/memory/)).

### Three failure modes to watch for

- **The junk drawer.** Every passing instruction gets appended and nothing is ever removed. Prune it like a hedge, monthly.
- **The contradiction.** Two rules added months apart that quietly disagree. The model will pick one at random and you will blame the model.
- **The stale rule.** An instruction that made sense once and now actively misfires. A rule nobody re-reads is a rule nobody can trust.

## How it works with the rest of the brain

`CLAUDE.md` sets the constitution. Memory supplies the current facts. Skills supply the procedures. Connectors supply the reach. When they pull in the same direction, sessions feel like working with someone who already knows the house rules. `CLAUDE.md` is where those house rules live.

**Straw-brain summary**

- `CLAUDE.md` is read every turn — identity and standing orders, nothing that changes often.
- Lean table of contents that points to detailed docs; prune ruthlessly.
- A short list of hard rules beats a long one nobody remembers.
- Procedures go in skills, task facts go in memory, code facts stay in code.
