/memory
/memory edits the CLAUDE.md files that teach Claude your conventions. It
opens the project, user, and personal memory files, toggles auto-memory, and
shows what auto-memory has stored. What you write persists across sessions.
Mid-session you settle on a convention that isn’t in the code yet — “use
vi.fn(), not jest.fn(), since we migrated to Vitest.” Drop it into project
memory and the next session starts already knowing it, instead of suggesting the
helper you just dropped.
~/code/api > /memory
Memory files
──────────────────────────────────────────────
▸ Project ./CLAUDE.md
User ~/.claude/CLAUDE.md
Personal ./CLAUDE.local.md
Auto-memory on
↵ edit a toggle auto-memory q quitI keep project memory short. It’s a place for the non-obvious rules a new engineer would have to be told — not a copy of the docs Claude can already read.