Module 5 of 10
Your CLAUDE.md, For Real
replace the basic CLAUDE.md from Module 4 with a comprehensive one that fundamentally changes how Claude works for you. After this module, Claude will feel less like a generic assistant and more like one that's been working with you for months.
What Changes Now
In Module 4, we set up a basic CLAUDE.md — about 200 words covering your preferences, communication style, and a few "don't do this" rules. That was a good start. It saved you from repeating yourself every session.
Now we're going to build the real thing.
A well-crafted CLAUDE.md doesn't just save tokens. It changes what Claude does. It makes Claude proactive instead of reactive. It makes Claude catch mistakes before they happen. It makes Claude route tasks to the right tools automatically instead of waiting for you to ask.
The difference between a basic CLAUDE.md and a comprehensive one is the difference between a colleague who knows your name and a colleague who knows how you think.
We'll build this in sections. Each section serves a specific purpose, and we'll explain that purpose before adding the content. Nothing goes in without a reason.
Section 1: Behavioral Preferences
This is the section that shapes how Claude talks to you and works with you. Not what it does — how it does it.
Here's what this section looks like:
Why each line matters
"Clarifying questions before complex tasks." Without this, Claude will take a vague request and run with its best guess. Sometimes the guess is right. Often it's not, and you spend tokens correcting course. This one instruction saves more tokens than any other because it prevents wrong-direction work.
"No sycophancy." Claude has a natural tendency to agree with you and tell you your ideas are great. That's pleasant but not useful. If you're about to make a mistake — choosing the wrong architecture, writing a weak argument, missing an obvious flaw — you want Claude to tell you. This instruction gives it permission to push back.
"Flag assumptions." When Claude doesn't have enough information, it fills in gaps with assumptions. Usually reasonable ones. But "usually reasonable" means "sometimes wrong," and you don't discover the wrong assumption until four messages deep. Making assumptions visible lets you catch them early.
"Track confidence." Claude can sound equally certain whether it's 99% sure or 60% sure. This instruction asks it to distinguish between the two. When Claude flags low confidence, you know to verify. When it doesn't flag, you can generally trust the output.
"Present options with trade-offs." By default, Claude picks what it thinks is the best approach and does it. But "best" depends on context Claude might not have. If there are three reasonable ways to structure a document and Claude picks one without telling you, you might have preferred another. Seeing options with trade-offs lets you make informed choices quickly.
Section 2: Communication Style
This section controls the texture of Claude's responses — length, format, tone.
What these prevent
Without communication style instructions, Claude defaults to a pattern that's thorough but inefficient: it explains its reasoning, does the thing, then summarises what it did. That's three messages worth of content in every response. For complex tasks, this adds up fast.
"Lead with the answer" flips the default. Instead of "Let me think about this... considering the options... I think the best approach is X," you get "X. Here's why." Same information, fewer tokens, faster to scan.
"Don't summarise what you just did" is one you'll appreciate within the first session. When Claude edits a file, it naturally wants to list every change it made. You can already see the changes. The summary is redundant tokens.
"One question at a time" prevents a pattern where Claude asks three questions in one message, you answer all three, and then Claude asks two more follow-ups. Single questions keep the conversation moving linearly.
Section 3: Work Domain
This is where your CLAUDE.md becomes truly yours. The previous sections are broadly useful. This section tells Claude about your specific field of work.
We can't write this section for you — it depends on what you do. But we can show you the pattern and give you examples for different domains.
The pattern
Example: Content creator
Section 4: File Management
If you use Claude Code to work with files (and you should — it's one of its biggest strengths), this section prevents a common source of chaos.
Why this matters
Without file management instructions, Claude Code makes reasonable but inconsistent choices about where to put files, what to name them, and how to organise them. Over time, this creates a mess — files scattered across directories, inconsistent naming, READMEs you didn't ask for cluttering up your folders.
These five lines create consistency. Every file Claude creates follows the same conventions. Every new project gets organised the same way. You spend zero time cleaning up after Claude.
Section 5: Self-Maintenance
This is the section most people don't think to include, and it's one of the most valuable.
What this creates
Over time, you build three incredibly useful documents:
learnings.md — A running log of hard-won lessons. "The client prefers bullet points over paragraphs in status updates." "Summaries of financial documents need to keep the exact numbers, not round them." These are the things that cost you time the first time and seconds every time after, because Claude checks its learnings before repeating mistakes.
errors.md — A pattern tracker. If the same type of error keeps appearing, it shows up here and you can address the root cause instead of fixing symptoms.
feature-requests.md — Ideas for your own workflow that emerge naturally during work. Claude notices things you don't — "this task would be faster if we had a skill for it" — and captures them instead of losing them.
These files live in your .claude/ directory and persist across sessions. They're your setup getting smarter over time, not just staying static.
Section 6: What You DON'T Want
We had a basic version of this in Module 4. Now let's make it comprehensive.
Why negative instructions are powerful
Claude is trained to be helpful. Sometimes it's helpful in ways you didn't want — adding documentation to code that didn't need it, refactoring a function that worked fine, creating helper utilities for one-time operations. Each of these costs tokens and creates noise.
Negative instructions are precise. "Don't add comments to code" is clearer than "only add comments when the logic is non-obvious," because Claude's definition of "non-obvious" might be different from yours. When in doubt, be explicit about what you don't want.
You'll discover new items for this section as you work. When Claude does something that annoys you, don't just correct it in the conversation — add it to this section so it never happens again.
Assembling the Full CLAUDE.md
Your CLAUDE.md isn't a one-time setup. It's a living document that gets sharper every time Claude does something you didn't want.
Let's put all six sections together. If you ran the setup prompt, your CLAUDE.md already has a comprehensive version based on these sections. Here's how to review and customise it.
A few guidelines:
Keep it under 500 words total. This might seem short given how much we've covered, but remember: your CLAUDE.md loads into every conversation. A 500-word CLAUDE.md is roughly 650 tokens. A 1,000-word one is ~1,300 tokens. The difference compounds across every session, every day. Include what changes Claude's behaviour. Leave out what doesn't.
Be specific, not exhaustive. "Use British English" is specific. "Write clearly and professionally" is vague enough to be useless. Every line should change something concrete about how Claude operates.
Update it as you learn. Your CLAUDE.md isn't a one-time setup. It's a living document that gets sharper as you discover what works. When you notice Claude doing something wrong repeatedly, add an instruction. When an instruction isn't making a difference, remove it.
Test after changes. After editing your CLAUDE.md, start a new Claude Code session and give it a task that would exercise the new instructions. Check whether the behaviour actually changed. If it didn't, the instruction might need to be more specific.
Approximate token cost
Your complete CLAUDE.md should be in the range of 500-700 tokens. That's the "startup cost" of every session. In exchange, you get:
- No wasted tokens on repeating preferences
- No correction rounds for wrong assumptions
- No cleanup of unwanted additions
- Claude that works the way you think, from the first message
The breakeven point is typically within the first 2-3 exchanges of any conversation.
This is a meaningful upgrade from where you were. Your Claude Code now has a comprehensive understanding of how you work, what you want, and what you don't want. Every session starts from a position of context, not cold ignorance.
But we're not done. The CLAUDE.md tells Claude how to behave. The next module gives it capabilities — skills and commands that let Claude do things it couldn't do before.