How Claude Code Remembers Your Project: CLAUDE.md Files and Auto Memory
Every Claude Code session starts with a fresh context window, so persistent knowledge has to come from somewhere. This guide explains the two mechanisms that carry knowledge across sessions: CLAUDE.md files, which you write to give Claude standing instructions, and auto memory, notes Claude writes itself based on your corrections. It covers where CLAUDE.md files can live, what to put in them, how to generate one with /init, and how to verify your files loaded.
Read guide →