Blog · Setting up Claude Code to work my way
Where it writes things down, and where it doesn't
Status goes in the project map, decisions in the history log, and only lessons in memory.
In this seriesShow all 11 partsHide the list
- 01One file every session reads first
- 02Where it writes things down, and where it doesn't
- 03Every project starts with the same five files
- 04What it does on its own, and what waits for me
- 05Show me before you build it
- 06A front desk for all my projects
- 07The cheapest model that does the job right
- 08Two voices: documentation and me
- 09Rules that came from things going wrong
- 10Keeping projects from bleeding into each other
- 11Routines that get better every run
Claude Code can keep notes between sessions. The hard part isn't getting it to remember. It's deciding what belongs in memory and what belongs somewhere sturdier.
Three places, three jobs
I ended up with three homes for what a session learns:
- The project map. Where the work stands, what's next, and what's waiting on me. It lives in the project's folder.
- The history log. What changed and why, newest first. Also in the project's folder.
- Memory notes. Only what isn't in those two: how I like things done, and lessons that should change behavior next time.
The map and the log are in Git, so they're backed up, versioned, and readable by me. Memory notes sit in a folder on my PC. So anything important goes in the files Git protects, and memory stays short.
What a good memory note looks like
One fact per note, with a line on why it matters and a line on how to apply it. A real example, lightly trimmed: "When you fill in a form in a second browser tab and ask me to click Save, say which tab to click first. Why: I told you there was no Save button, because the form was in a tab I wasn't looking at." Another: "Anything I should look at gets a clickable link and a one-line purpose."
Each note gets a one-line entry in an index that loads at the start of every session. The index stays scannable, and a session opens the full note only when it's relevant.
Making sure it actually saves
Sessions didn't always write things down before they ended. The fix was a check that runs when a session tries to finish. It asks whether anything new came up, and points to where each kind of thing goes: status in the map, decisions in the log, preferences in memory. If nothing's new, the session ends quietly.
The check also catches the opposite problem. A session that wants to save a project's status as a memory note gets pointed back to the map, where that status belongs.
The test I use
Could a brand-new session, with no conversation history, pick up this project from the map and the log alone? If yes, memory is doing its job, which is a small one: holding the preferences and lessons that don't fit anywhere else.