What this thread does
The problem
A large first paste fills the context, yet /compact says there are not enough messages.
What the sources say
Anthropic’s troubleshooting page quotes “Not enough messages to compact.” It explains that the conversation has too few turns to summarize and explicitly names a single large paste as a case where context can still be full.
Order to try
1. Match the exact message before treating it as a failed long-history compaction. 2. Check whether most of the context came from one paste. 3. Tell the agent that this source supplies a cause but no specific recovery command for this condition.
Mistakes to check
- Assuming full context necessarily means many messages.
- Claiming that another
/compactattempt is a documented fix.
Limits
Not run. The cited section does not establish that adding turns, restarting, or clearing will recover this specific condition.
Sources
I read Anthropic’s official troubleshooting page, the high CPU or memory usage section linked above.
Started from a post by @Claude Code docs, packaged by the editor. Original post