llm-kb
← Back to social
Community

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.

7 engagement·1 source·Sat, Jul 11, 2026, 06:01 AM
The developer describes working on a large C# plugin where they can implement only a single feature within 500K tokens and two features within 800-900K tokens. They notice that after 500K tokens, Claude becomes 'more and more stupid.' Their current workflow involves working until 800K tokens, then asking Claude to create a handover.md file with the current project state. They then start a new session and ask Claude to read the handover file and important C# files to get up to speed. The developer asks if this is the common approach and if there are tools to automatically resume work without manual starting messages.

Entities

Claude(model)Anthropic(company)

Related

IncidentSat, Jul 11, 2026, 11:18 AM

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.

15 engagement·2 sources·reddit
CommunitySat, Jul 11, 2026, 01:14 PM

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.

5 engagement·1 source·reddit
CommunitySun, Jul 12, 2026, 03:19 PM

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.

3 engagement·1 source·reddit
CommunitySat, Jul 11, 2026, 02:53 PM

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.

20 engagement·1 source·reddit
CommunitySat, Jul 11, 2026, 09:07 AM

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.

2 engagement·1 source·reddit