Claude Code’s auto memory writes project notes to disk and loads only the first 200 lines
thisdudelikesAI · x · 2026-07-23
The post explains Claude Code’s auto-memory system:
- Auto memory is on by default.
- Claude writes notes to /.claude/projects/<project>/memory/ as it works, including build commands, bugs, and user corrections.
- Only the first 200 lines of MEMORY.md are loaded each session; the rest lives in topic files and is loaded on demand.
The point is that memory is incremental and session loading is limited, so structure matters.
More from coding & agent
- An agent hit GitHub Actions limits, spun up a VM, and kept the build running — davidcrawshaw · 2026-07-23
- Async agents fail when users think a 90-second job has frozen — Specific-Point-4026 · 2026-07-23
- Open-source skill scans your codebase first, then writes a README — Shruti_0810 · 2026-07-23
- China AI roundup: embodied upgrades, AGI layoffs, and a new agent standard — 快鲤鱼 · 2026-07-23
- Open-source coding agent octomind chooses persistent cloud machines over per-session sandboxes — donk8r · 2026-07-23
- Building 7 Production AI Agents for Healthcare Billing in 4 Months — alex_verem · 2026-07-23