Claude Code · tool · fg-0481
Claude Code auto memory forgets entries once MEMORY.md passes 200 lines or 25KB
Facts saved to auto memory are unknown in a new session
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
Only the first 200 lines or 25KB of MEMORY.md, whichever comes first, load at the start of a session; the rest is dropped. Topic files load only when Claude chooses to read them.
Fix
Keep MEMORY.md as an index with one short line per entry and move detail into topic files the index points to. Merge or delete stale entries.
Apply
wc -l -c ~/.claude/projects/*/memory/MEMORY.md # keep each under 200 lines and 25KB
Affects: Claude Code auto memory, as of 2026-10
Sources
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp