Give Claude Code persistent memory across sessions using Atlas — remember codebases, decisions, and context automatically.
Fetch the complete documentation index
Claude Code is Anthropic’s agentic coding CLI. Atlas supercharges it with persistent long-term memory so that Claude Code remembers your project structure, coding standards, past decisions, and team conventions across every session.
npm install -g @anthropic-ai/claude-code)Create ~/.claude/atlas_tool.py (or in your project root for per-project memory):
Make it executable:
Add to ~/.zshrc or ~/.bashrc:
CLAUDE.md is the file Claude Code reads at the start of every session. Create one in your project root:
Open Claude Code in your project directory:
Then in the session:
Claude Code will call atlas_tool.py store and atlas_tool.py recall automatically.
Add this to your CLAUDE.md to make Claude Code automatically summarise and store what it learned at the end of each session:
python ~/.claude/atlas_tool.py stats to see how many entities and memories have been stored for your project.You can manually trigger memory operations by typing `/run python ~/.claude/atlas_tool.py recall "query"` in the Claude session.
Set `ATLAS_PERSONA=<project-name>` in your shell before starting Claude to keep memories isolated per project.
Run the `stats` command once a week to monitor the growth of your knowledge graph and ensure critical entities are being captured.