
MEMORY.md is a markdown file containing project-relevant information for Claude Code. It is stored in a sub-directory named /memory rather than at the project root. Claude Code loads MEMORY.md into every session, using it as a concise index. As the project expands, the /memory directory can accumulate additional files that Claude Code can use, such as debugging notes and design or UX/UI conventions. Keeping related memory details together in the same directory helps organize information and makes it easier for Claude Code to access consistent context across sessions.
"~/.claude/projects/<project>/memory/ └── MEMORY.md # Concise index, loaded into every session The reason for that is simple: as your project grows, the memory directory will be populated with additional information that Claude Code can benefit from. And having all these details in the same space is beneficial."
"~/.claude/projects/<project>/memory/ ├── MEMORY.md # Concise index, loaded into every session ├── debugging.md # Detailed notes on debugging patterns ├── design-conventions.md # UX/UI design decisions └── ..."
Read at Medium
Unable to calculate read time
Collection
[
|
...
]