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
- WanGP adds one-click AMD GPU support for Tencent's Hy-Nomas world model, runs on 8GB VRAM — cocktailpeanut · 2026-10-27
- He benchmarks new models by having them build their own copilot — $28 of compute — bucolucas · 2026-10-27
- Founder generates 46 app promo videos in 4 days with Claude, skipping $11,500 in UGC fees — PrajwalTomar_ · 2026-10-27
- Should agents be allowed to change plans mid-task? Reddit debates the drift boundary — wistfulcracker84 · 2026-10-27
- HeyGen + Canva MCP turns slide speaker notes into an avatar presentation video — HeyGen · 2026-10-27
- Local beats cloud: Qwen 3.8 FN handles private student data as well as frontier models — dr_lm · 2026-10-27