Handoff 01 · 0:40
Claude Code gets worse the longer you chat: the free handoff fix
Every message fills Claude Code's context window. Chroma's July 2025 study of 18 models found they get less reliable as the input gets longer. Here's a 3-step fix: check how full the chat is, have Claude write a handoff file, then start a fresh chat from it.
The 3 steps
- 1Type /context to see how full the chat is.
- 2Paste the handoff prompt below. Claude writes HANDOFF.md from the repo, not just from memory of the chat.
- 3Type /clear, then tell Claude: Read HANDOFF.md and continue.
Why it matters
- Chroma's Context Rot study (July 2025) tested 18 models and found reliability drops as the input gets longer, even on simple tasks.
- It measured input length in general, not Claude Code sessions. "A stuffed chat means a forgetful Claude" is our plain-words reading of it.
What a good handoff has
- Goal, state (verified vs assumed), ordered next steps with commands, files, decisions including what you rejected, what's broken, and rules from this chat.
- No secrets: it names the env var instead of writing the key.
Sources
The chat, rules list, reliability curve and HANDOFF.md in the video are illustrations. Tested on a small scratch project; results on your project will vary.
Want this done for your business?
We build websites and AI tools for small businesses anywhere in the US.
Get a free demo