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
- Hermes Agent used as browser QA tester finds 8 issues in a bug-seeded site — techlatest_net · 2026-10-27
- Open-source FableCut lets AI agents edit a real video timeline via remote MCP — FastPresence9799 · 2026-10-27
- Redditor runs Hermes Agent in a dedicated Ubuntu VM to test real tasks — techlatest_net · 2026-10-27
- Developer drops VS Code, Office and git client, now uses only Claude — One_Improvement_6470 · 2026-10-27
- Grok bot makes its first real purchase, spots hidden prompt injection at checkout and ignores it — msg · 2026-10-27
- Swarmatory: Open-source shared chatroom/feed for your team's coding agents — qhoxie · 2026-10-27