AI Compass / Knowledge cards
Memory in three tiers
what Claude knows about you and your projects
A chat knows only what is in its history. Jack Roberts therefore describes a memory in three tiers: a short instruction about you that applies everywhere, a folder per work area with its own CLAUDE.md and notes, and an archive for history and expertise. His goal: a new chat answers just as well right away as an old one. Claude Code also comes with its own automatic memory, in which Claude itself stores notes about you and your project.
What it is for
You do not have to explain yourself, your goals and your projects anew in every chat. You can find last week’s decisions again.
Steps
- Group your own activities into 6 to 8 areas, no more.
- Tier 1: a short instruction with name, role, goals, answer style, tools and taboos, under 200 words. In Claude Code, according to the docs, it belongs in
~/.claude/CLAUDE.mdand then applies to all projects. The video shows the Claude app. - Tier 2: for each area, a folder with a short
CLAUDE.mdand amemory/subfolder for purpose, technology, decisions made and an overview of what is where. Always start in the right folder, because according to the docs Claude Code loads theCLAUDE.mdof the folder you work in. - Create a profile as its own file: current strategy, focus, decisions. It is read in every session. You can include it in the
CLAUDE.mdwith@path/to/file(according to the docs). - Tier 3, the archive: notes as Markdown files, for example in Obsidian if you want to read them yourself. A vector search (search by meaning instead of by keyword) pays off only with a very large amount of text. The area’s
CLAUDE.mdsays when to consult the archive. - At the end of every session, have a summary with date, decisions and next steps written into the archive. Jack Roberts uses a custom command “/wrap-up” for this. The video does not show how it is built.
- Know the automatic memory: According to the docs, Claude Code stores notes about your preferences, your corrections and the project status under
~/.claude/projects/<project>/memory/and loads the first 200 lines or 25 KB of the fileMEMORY.mdat the start of every session. With/memoryyou can see it and switch it on or off. Read it now and then and delete anything wrong.
What Anthropic measured
In November 2026, Anthropic described how Claude models keep a memory made of note files that persists from one session to the next. Four results help with the setup above:
- Only record what cannot be looked up. In the game Pokémon Red, Sonnet 3.7 had created 413 note files after around 10,000 steps and won one badge. Fable 5 made do with nine files plus an overview file and won four. It noted the goal, the plan and rules it had tested itself, not what was on the screen anyway. The large archive kept going out of date and cost more and more steps for sorting.
- Say what the memory is for, not how to keep it. With the fixed instruction “record only failures”, Opus 5 and Opus 4.7 lost a large part of what memory gave them. Older models, by contrast, need precise instructions: Sonnet 4.6 almost doubled its score when it was explicitly told to read its notes first and to test its assumptions.
- Keep what every session loads small. Loaded notes cost tokens, and a wrong note affects every session. Anthropic refers to the Claude Code docs: longer instruction files are followed less reliably. This explains why the automatic memory loads only the beginning of
MEMORY.md(step 7). - Check notes against the history. During breaks, Anthropic has Claude compare the notes with the session logs and correct them. Anthropic calls this dreaming. With a note corrected this way, Claude found its way through a cave system to the next town in the game. With the wrong note, it fell back on the old route three times and never arrived.
Limits
- Data protection: Customer data and access keys never belong in an archive in the cloud. Jack Roberts uses Pinecone, a cloud database. For one person, local files are enough (my own assessment). In an older video, a key is visible in plain sight in a connection address. Do not copy that.
- According to the docs,
CLAUDE.mdand automatic memory are context, not fixed rules. What must never happen belongs in a hook. - Claude writes the automatic memory itself. It can be wrong or retain outdated information.
- “10x” in the video title is unsupported. There are no measured values for the three-tier model itself. Anthropic measured what belongs in an agent’s memory, not this setup.
- The finished “Memory OS” exists only in Jack’s community. You do not need it to rebuild this.
Links
- Knowledge base for agents: the wiki for knowledge about the world. This card is the memory about you and your projects.
- Project start with rules and plan files: what should be in files within a single project.
- Keeping context clean: The handover file carries an ongoing task forward, the archive preserves the result.
- Measuring skills: Jack Roberts advises drafting new skills in dialogue with the skill creator. Only a comparison shows whether they help.
Sources
- Jack Roberts: This Memory System just 10x’d Claude Code, 3 May 2026, 3:11-13:24. Firecrawl affiliate link, Glaido link, advertising for the community
- Jack Roberts: Karpathy’s Skills just changed Everything (Claude Code), 28 April 2026, 7:30-9:39, 12:21, 15:33-17:42. Short links suspected to be affiliate links (Zapier, Firecrawl), advertising for the community
- Claude Code docs: Memory (
~/.claude/CLAUDE.md, loading per folder,@import, automatic memory), retrieved 17 October 2026 - Anthropic, Lance Martin: The components of agent memory, 6 November 2026, sections “Claude has learned to judge salience”, “Steering Claude to write memory”, “Dreaming can correct memory”, “Dreaming can promote notes up the memory hierarchy”, retrieved 27 November 2026
Status
Checked 27 November 2026 · Maturity new (concept available, built-in tools described in the docs; Anthropic measured what belongs in a memory, the three-tier setup itself has not been measured)
More quick reads for this card
You can try this with your team in the AI Lab. See the AI Lab