Developer reports Claude performance degrades beyond 500K tokens, uses handover files to reset context
A developer working on a large C# plugin reports that Claude becomes increasingly unreliable after 500K tokens of context, with performance degrading significantly by 800-900K tokens. To work around this, they manually create a handover.md file summarizing the project state and start a new session, asking Claude to re-read key files. The post questions whether this is common practice and whether tools exist to automate the process.
Entities
Related
Users report Claude Code consuming excessive usage due to large context bug
Multiple users report that Claude Code consumes 20-40% of their usage allowance per session due to a bug that sends 300k+ message contexts even on fresh sessions. One user lost significant paid usage before realizing the issue. Another user describes a layered configuration setup with CLAUDE.md and AGENTS.md files, and a cleanup that removed ~700MB of empty content but still faced model selection inefficiencies.
Developer shares CLAUDE.md trick to preserve reasoning context in Claude Code sessions
A developer describes a habit of instructing Claude Code via CLAUDE.md to log design decisions, preventing the model from forgetting past reasoning after context compaction. This addresses a common pain point in long coding sessions where the model suggests previously ruled-out approaches.
Developer reports 534K-token single turn in 1,320-turn agent session on 1M-context model
A developer shared that one turn in a 1,320-turn agent session consumed 534,000 tokens, 2.7x the typical 200K context ceiling. The session remained coherent only because it ran on a 1M-token window; on a 200K model it would have fragmented. The setup uses a long-running agent coordinating subagents.
User audits Claude Code transcripts, finds long sessions with breaks cause high costs due to cache expiry
A user auditing their Claude Code transcripts discovered that long sessions with breaks are expensive because prompt caching expires after one hour, forcing full history rewrites at premium prices. The user shares details on cache economics to help others optimize usage.
Developer open-sources agent-instructions repo to curb AI coding agent degradation
A developer frustrated by AI coding agents losing context and hallucinating after about 10 minutes created a set of rules to keep them on track. The rules, shared as an open-source GitHub repo, aim to reduce the need for constant reminders and prevent infinite loops. The project has gained attention from other developers facing similar issues.