How Claude remembers your project changedmemory
Nearest release: v2.1.293, published 9 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 7 Oct 2026 07:30 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 7 Oct 2026 07:37 UTC.
Upstream edited
Recorded here
Lines+2added
Lines−2removed
From line
4
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits36to this page, all time
The whole hunk
from line 4, old and new numbered
/
from line 4
44
55Each Claude Code session begins with a fresh context window. Two mechanisms carry knowledge across sessions:
66
7* **CLAUDE.md files**: instructions you write to give Claude persistent context. Claude can also read a repository's [`AGENTS.md` files](#agents-md), on their own or alongside CLAUDE.md
7* **CLAUDE.md files**: instructions you write to give Claude persistent context. Claude can also read a repository's [`AGENTS.md` files](#agents-md) in place of CLAUDE.md
88* **Auto memory**: notes Claude writes itself based on your corrections and preferences
99
1010This page covers how to:
1111
1212* [Write and organize CLAUDE.md files](#claude-md-files)
13* [Use an existing AGENTS.md](#agents-md) as your project instructions, on its own or alongside CLAUDE.md
13* [Use an existing AGENTS.md](#agents-md) as your project instructions
1414* [Scope rules to specific file types](#organize-rules-with-claude/rules/) with `.claude/rules/`
1515* [Configure auto memory](#auto-memory) so Claude takes notes automatically
1616* [Troubleshoot](#troubleshoot-memory-issues) when instructions aren't being followed
No line in this hunk matches that.