You ask Claude the best time to send your email, and it tells you Tuesday at 10:30 like it's a fact. It has never seen your list.
You say "keep this one short, I'm in a rush", and it saves "short captions" as a rule for good. You ask for a sales page, and it builds the whole thing with a price it made up.
So you write longer prompts, and you still type the same corrections into every chat.
Flip it around. Give Claude a list of what to stop doing. One short file, a few "don't" lines, and Claude reads it before every task.
These are the rules I give mine.
What CLAUDE.md is
Claude Code reads a file called CLAUDE.md every time you start it in a folder. Whatever is in that file, Claude sees it before your first message.
So a rule you put in there works in every chat. You never type it again.
1Save the don't file
Open Claude Code in the folder where you work on your business and paste this. Fill in the bracket in line 4 first. It adds the rules to CLAUDE.md, or makes the file if you don't have one yet.
Add the rules below to CLAUDE.md in this folder. If there's no CLAUDE.md, make one. Don't change anything else in the file. Then show me what you added. ## Don'ts (follow these on every task) 1. Don't guess. If you don't know, say "I don't know." That is a full answer. Then tell me how we could find out. 2. Don't turn something I said once into a rule. Before you save anything as a rule, ask me: "Is this a rule, or just for today?" 3. Don't give me a timeline in days or weeks. Check what already exists first, then tell me in hours. 4. Don't talk to me like a beginner. [what you've done, like "I've run my coaching business for 6 years and I have an email list of 2,000 people."] Skip the basics unless I ask for them. 5. Don't start a big build until I say go. For a page, a product or anything with more than a few steps, show me the plan first, then wait. 6. Don't invent numbers, facts or stories. Ask me, or leave a blank like [my number: ...]. No made-up quotes or results either. 7. Don't fix anything when I ask for a review. List the problems first, and change nothing until I tell you which ones to fix. 8. Don't bury your answer. Give me your verdict first, then the reasons. 9. Don't give me a long list of options. Give me 2 at most, and tell me which one you'd pick. 10. Don't use em dashes or en dashes. Use a comma, a period or a hyphen instead.
Every line has two parts: what to stop, and what to do instead. A plain "don't" leaves Claude guessing what you want, so always give it the instead.
Here's why the first five are in my file.
1. Don't guess. Claude would sooner sound sure than say it doesn't know. In my file, "I don't know" is a full answer. I can work with that. I can't work with a guess that looks like a fact.
2. Don't turn a passing comment into a rule. Claude saves notes as it works. Say one thing in a hurry and it can become a rule it follows for months. Mine is not allowed to do that. If it isn't sure, it asks.
3. Don't give me days. Ask how long something takes and you get "two to three weeks". A lot of the time, part of it is already built. Make it look at what exists, then answer in hours.
4. Don't talk to me like a beginner. I've been a marketer for ten years. I don't need the 101 list. Tell Claude what you've done and it skips to the part that helps.
5. Don't build until I say go. A plan is quick to fix. A finished page built on a wrong guess is not.
Rule 10 is my pet peeve. To me, long dashes are the number one sign AI wrote something.
Use Codex? Do the same thing, and change CLAUDE.md to AGENTS.md in the first line.
Want it in every folder? Before you paste, change "CLAUDE.md in this folder" to "~/.claude/CLAUDE.md". That's the one Claude Code reads everywhere.
2Try it in a new chat
Close Claude Code and open it again in the same folder, so it reads the file fresh.
Now give it one of the asks that used to bug you. This one shows the difference fast. Put your own program in the bracket:
Build me a sales page for [your program, and who it helps in one line].
Without the file, Claude can build the whole page right away, with a price, a schedule and a refund policy it made up. With the file, it shows you the plan first, lists the real facts it needs from you, and waits until you say go.
Or ask it something it can't know, like the best day to email your list. It should say "I don't know", then tell you how to find out.
3Add your own don'ts over time
This file is never finished. When Claude does the same annoying thing twice, add a line.
Paste this right after it happens. Fill in the bracket first.
You just [what you did that I didn't want]. Add one line to the Don'ts in CLAUDE.md so it doesn't happen again. Start it with "Don't", then say what to do instead, in one short line. Don't change anything else in the file. Show me the new line.
A few things that keep the file working:
- One habit per line. If two lines say the same thing, merge them.
- Keep it short. A long file buries the rules that matter.
- When Claude slips, point at the line: "You broke rule 5." No need to explain it all again.
The limitations you should know
- It's a habit file, not a lock. Claude can still slip, so read what it gives you.
- It only works in the folder where you saved it. Open Claude Code somewhere else and it's gone, unless you saved it to ~/.claude/CLAUDE.md.
- "Show me the plan first" means one more step before big jobs. For a quick throwaway ask, tell it "just build it this time".
- "I don't know" is not the end. Claude tells you how to find out, and you still have to go and check.
- The rules can't give Claude facts it doesn't have. With the file, it asks for them instead of making them up. Answer its questions, or paste in your sales page or notes.
Want the next guide? Follow @zachcrawford.ai
