In this episode
Tired of telling Claude Code the same things every time you open it: answer in Chinese, I'm a beginner, watch out for this? You can make it remember you. Claude Code keeps two notebooks, and this episode covers both:
- It remembers on its own: auto memory: when you tell it something important that it thinks will matter later, it writes it into its own notebook. Start a new conversation and it still knows
- So why CLAUDE.md?: with auto memory, Claude decides what to keep.
CLAUDE.mdholds the rules you set. It lives in your folder, Claude reads it every time it opens there, you can open and edit it any time, and the rules travel with the folder to another person or computer - Write one automatically:
/init: type/initin the input box. It asks which CLAUDE.md to create (pick Project) and whether to also set up skills and hooks (beginners pick just CLAUDE.md). Then it reads the files in your folder, asks you about anything the files don't tell it, and writes a CLAUDE.md - Add your own rules: no need to edit the file yourself. Just say "add this to CLAUDE.md". If you only say "remember", it usually goes into its own notebook instead
- Take a look:
/memory: the menu turns auto memory on or off, opens its notebook, and shows two sets of rules: User instructions apply to all your folders, Project instructions only to this one. On Windows the file opens in Notepad; edit and save - A real example: social posts for Afang's neighbourhood bakery
- It reads her 8 past posts and writes this week's new-bread post in her voice
- Told that a regular customer's child has a nut allergy, it notes this down by itself; after
/clearthe new conversation still marks the walnut loaf as containing nuts /initreads the folder, notices the nut rule only lives in its own notebook, and asks whether to put it in CLAUDE.md- The next day, in a brand-new conversation with nothing explained, the nut label, the allergy reminder and the shop address are all there
- The commands are the same on a Mac. The editor that opens there may differ; if you don't like it, just ask Claude to make the change for you
Before you start
- Claude Code installed (episode 2)
- You can start it and talk to it (episode 3) and use
/clearto change topic (episode 6)
Next: Safety and permissions.
