Article:Anthropic
How Claude Code Retains Project Context: CLAUDE.md and Auto Memory Explained
Anthropic outlines the memory architecture of Claude Code. Because every session starts with a clean context window, the CLI tool relies on two complementary systems: user-defined CLAUDE.md files for explicit instructions and an auto memory feature that records learnings from user feedback.
