Claude Code reads instructions from several places, and it also writes notes of its own. /memory is the one screen that shows them all.
/memory
The list has your user CLAUDE.md in ~/.claude, the project CLAUDE.md, CLAUDE.local.md and other memory locations. Pick one and it opens in your editor. Pick one that doesn’t exist yet and Claude Code creates it first, which is the quickest way to start a personal file.
The same screen has the auto memory toggle and a way to open the auto memory folder. Auto memory is what Claude saves itself when you correct it or say “remember that the API tests need Redis”. Those notes live in ~/.claude/projects/<project>/memory/ as plain Markdown. All worktrees of a repository share one folder.
That folder is worth reading now and then, I think. Notes are written from corrections in the moment, and a correction that made sense once can be wrong a month later. You can edit or delete any file in it.
The toggle writes autoMemoryEnabled to your user settings, so switching it off applies to every project, not only this one. Only the first 200 lines or 25 KB of MEMORY.md load at the start of a session, so a bloated index quietly loses its tail.
Further reading: View and edit with /memory, Commands