Memory for Claude Code

Checked against Anthropic's Claude Code documentation on 25 November 2026.

Claude Code keeps its own notes on each machine. Atlaso adds one memory that follows you to your other machines and tools, brought in before every prompt and saved after every turn.

Free to start. No credit card needed.

Does Claude Code remember between sessions?

Yes, in two ways. CLAUDE.md files hold instructions you write, and Claude reads them at the start of every session. Auto memory holds notes Claude writes itself from your corrections and preferences, on by default in local sessions. Auto memory is machine-local: its files are not shared across machines or cloud environments.

What Claude Code keeps on its own

What Claude Code keeps on its own
Kept asWhat it isWhere it livesWhat it reaches
CLAUDE.mdInstructions you writeYour project, shared through source control, plus your own and your organisation's filesEvery session
Auto memoryNotes Claude writes itself from your corrections and preferences~/.claude/projects/<project>/memory/ on this machineThis machine. Worktrees of a repository share it, and the first 200 lines or 25KB of MEMORY.md load at the start
Project memoryFiles with a MEMORY.md index, in Claude Code Projects (beta)In the cloud, with the projectThat project, on Pro, Max and Ultra, not Team or Enterprise
AGENTS.mdInstructions written for coding agentsYour repositoryRead in place of CLAUDE.md when there is none, from Claude Code v2.1.277

Turn auto memory off with /memory, the autoMemoryEnabled setting or CLAUDE_CODE_DISABLE_AUTO_MEMORY=1.

Checked against Anthropic's Claude Code documentation on 25 November 2026: How Claude remembers your project (opens in a new tab) and Claude Code Projects (opens in a new tab).

Where it stops

CLAUDE.md and auto memory are good at what they do. Three things fall outside them.

01

Your other machine

Auto memory stays on the machine that wrote it. Open the same repository on your laptop and those notes are not there, and they are not shared with cloud environments either.

02

Your other tools

Auto memory is notes Claude writes in Claude Code. What you decide in Codex, Cursor or Claude Desktop does not land in it.

03

What nobody writes down

CLAUDE.md holds what someone wrote. The reason behind a choice, the approach you ruled out and where you left off rarely make it in.

  • Each tool's own files, kept apart
  • Atlaso: one memory, joined to every tool

Clockwise from the top: Claude Code, Codex, Cursor, Claude Desktop, Antigravity and OpenCode.

What Atlaso adds

One memory outside Claude Code, the same on every machine and in every tool you connect.

One memory, every tool

What Claude Code saves is there for Codex, Cursor and every tool you connect, on every machine. Saving and using memories is free and unlimited.

Automatic in Claude Code

Atlaso brings in the memories that fit before every prompt and saves what matters after every turn. There is nothing to run day to day.

Secrets stay out

Passwords, keys and tokens Atlaso recognises are blacked out before anything is saved. We never train AI models on your memory, sell it, or use it for ads.

Yours to see and forget

Every memory is on your dashboard. Ask your memory a question, or forget a memory and it stops coming back in every tool.

Can a session start where I left off?

Sessions start caught up. With Ambient Memory, each Claude Code session opens with a short brief: what changed, what is still open, and what likely comes next.

*Beta. Free. Today in Claude Code and Codex.

How it works with Claude Code

Everything is automatic: recall runs before every prompt and capture after every turn. Capture happens in the background after your turn ends, so it never blocks your session.

What setup installs

What setup installs in Claude Code
PieceWhat it does
HooksRecall before every prompt, capture after every turn, and a sync when a session starts
MCP toolsSave, recall, list and forget memories when you ask
SkillMemory-aware behaviours for Claude Code
Ambient MemoryA short brief when a session starts (Beta)

How do I give Claude Code persistent memory?

One command, one sign-in, one restart.

01

Run one command

In your terminal, run curl -fsSL https://atlaso.ai/install.sh | bash. On Windows, run irm https://atlaso.ai/install.ps1 | iex in PowerShell.

02

Authorize in your browser

Your browser opens. Sign in, or create your account, and click Authorize to link this machine. You don't edit config files or paste API keys.

03

Pick Claude Code, then restart it

Back in the terminal, pick Claude Code. Restart Claude Code when setup finishes, and memory runs by itself from then on.

Built-in memory and Atlaso, side by side

Keep what Claude Code does on its own. Atlaso runs beside it.

Claude Code on its own and with Atlaso
QuestionClaude Code on its ownWith Atlaso
Who writes itYou write CLAUDE.md, and Claude writes auto memory.Atlaso saves as you work, in every tool you connect.
Across machinesCLAUDE.md through source control. Auto memory stays on the machine that wrote it.The same memory on every machine you link.
Across toolsClaude Code. Your other tools keep their own files.Claude Code, Codex, Cursor, Claude Desktop, Antigravity, OpenCode and Grok Build.
What you controlEdit the files, or turn auto memory off with /memory.See, ask and forget any memory on your dashboard.

Questions, answered

Yes. CLAUDE.md holds instructions you write and loads in every session, and auto memory holds notes Claude writes itself, on by default in local sessions. Auto memory stays on the machine that wrote it. Atlaso adds one memory that follows you to your other machines and tools.

Other tools

What Claude Code saves, your other tools can use. Atlaso keeps one memory for Claude Code, Codex, Cursor, Claude Desktop, Antigravity, OpenCode and Grok Build.

Never explain yourself twice.

Free in Claude Code, Codex, Cursor, Claude Desktop, Antigravity, OpenCode and Grok Build, with unlimited memories.

Free to start. No credit card needed.