brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: /memory opens every CLAUDE.md and the auto memory Claude keeps

Claude
~/tips/tip-claude-memory-command

/memory

Shows which instruction files Claude Code loads and lets you edit them or switch auto memory off.

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

More Claude tips /recap /focus /skill-doctor /autocompact 500k claude purge ~/work/my-repo --dry-run All Claude tips (83) All topics

Link