Claude Code Reportedly Stuck in Repetition Loop
CarelessAnybody1430 · reddit · 2026-07-20
A Reddit discussion highlights Claude Code suddenly getting stuck in a repetitive output loop during a session, endlessly spamming the word "court" and rapidly draining the token quota.
The poster noted Claude's bizarre explanation: it blamed the issue on the session being "too long and repetitive," when in reality, it trapped itself in a loop, thereby bloating the context. The post suggests a few possible causes:
- Model-level repetition generation failure
- Claude Code streaming or client-side bug
- Tool-calling switching issues
- Lack of repetition detection or truncation safeguards
The author also asks whether these looped tokens count against the quota, if auto-truncation failed, and whether Anthropic can detect and refund such obvious output loops.
More from coding & agent
- A better path to agent autonomy is running waves, finding friction, and iterating — JnBrymn · 2026-07-22
- Coding agents are heading toward an AI-writes, AI-reviews, human-approves workflow — aftahi_ai · 2026-07-22
- oMLX 0.5.2 adds Mac menu-bar stats, low-bit decode kernels, and faster downloads — awnihannun · 2026-07-22
- GitHub review bot hits its PR limit and forces a 39-minute cooldown — DanielLockyer · 2026-07-22
- Max reasoning effort appears to be mobile-only in Codex Remote, not desktop — GabGarrett · 2026-07-22
- A Reddit demo argues online stores should expose carts and pricing through MCP — gelembjuk · 2026-07-22