mnemo

Claude Code memory surfaces

Native model

Claude Code has two durable context systems:

  1. CLAUDE.md files and .claude/rules/ files for user- or project-authored instructions.
  2. Auto memory files that Claude writes itself when it decides a fact is worth preserving.

The official docs describe CLAUDE.md files as persistent context and auto memory as notes Claude writes based on corrections and preferences. Auto memory is enabled by default and can be disabled via /memory, settings, or CLAUDE_CODE_DISABLE_AUTO_MEMORY=1.

Locations

Instruction files:

Auto memory:

Shape and retrieval

Conversion notes for mnemo

Recommended import order:

  1. Project CLAUDE.md / .claude/CLAUDE.md and project rules.
  2. CLAUDE.local.md only when the user explicitly opts in.
  3. Auto memory MEMORY.md index, then the topic files it references.
  4. User-level files only with explicit --scope=user or equivalent.

Suggested mapping:

Important importer behavior:

Sources