[KongchangAI]
Concept

MEMORY.md

A memory persistence file used by Claude Code to store and transfer context information across headless runs. It is subject to limits on the number of lines and bytes that can be loaded.

Timeline (last 90 days)

Oct 18

The limit for Claude Code loading the automatic memory file MEMORY.md is the first 25,000 characters (not bytes), or the first 200 lines.

Unverified50%
Oct 18

The initial approach injected about 45,900 characters of memory (MEMORY.md and USER.md) into context, equivalent to roughly 12,400 tokens per turn.

Unverified50%
Oct 11

The agent used 19 headless runs over two days to determine that Claude Code's MEMORY.md only loads the first 200 lines or 25,000 bytes (whichever is smaller), truncating at line boundaries and appending a warning

Unverified50%

All Facts (3)

Source Articles