/init Writes The Project Briefing
Run /init in a new project and the agent studies your folder and writes CLAUDE.md — a briefing it re-reads at the start of every session. Without it, each session re-explores your project from zero, on your token bill.
Why it works
Every session starts with amnesia — close the app and the agent forgets your project exists. CLAUDE.md is the briefing it re-reads at every session start: what this project is, how you like things done, what to never touch. Without it, each session re-explores your folder from zero, on your token bill; with it, session two starts where session one left off.
How to do it
- In any project, type /init in the prompt field.
- The agent studies your folder and writes CLAUDE.md — a plain text file you can open anywhere.
- Read it. Delete anything it could re-learn by looking at the folder.
- Add what it can NOT infer: your rules, your tone, forbidden moves ('never touch pricing.csv').
- When it repeats a mistake, ask: 'add a rule to CLAUDE.md so this never happens again.'
- Re-run /init after big changes — it proposes updates rather than overwriting your rules.
Copy this
prompt
/init
What to watch for
- Writing the briefing by hand from scratch wastes the feature — let /init draft it from evidence, then edit.
- A briefing that restates the obvious ('this folder contains HTML files') is pure token tax; every line should earn its re-reading.
Sources
Original: conon.aiDocumentation: code.claude.com