# Memory & state [Back to README](../README.md) | | Convention | Files | Read by | Spec | | --- | --- | --- | --- | --- | | 🟢 | [MEMORY.md](../conventions/memory-md/) | `MEMORY.md` | Claude Code's auto-memory - the per-project MEMORY.md index it writes and re-reads each session | [spec ↗](https://code.claude.com/docs/en/memory) | | 🟢 | [Memory Bank](../conventions/memory-bank/) | `projectbrief.md` `productContext.md` `activeContext.md` `systemPatterns.md` `techContext.md` `progress.md` | Cline, Roo Code, and Cursor (via the Memory Bank custom-instructions pattern) | [spec ↗](https://docs.cline.bot/best-practices/memory-bank) | ## [MEMORY.md](../conventions/memory-md/) A persistent, agent-maintained index of durable facts - written and re-read across sessions so an agent accumulates project memory instead of relearning each time. ## [Memory Bank](../conventions/memory-bank/) Cline's structured memory system - a set of Markdown files an agent reads at the start of every task to reconstruct full project context after its session memory resets. The six files shown are Cline's set; tools like Roo Code use an overlapping but different variant.