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:

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.

Original post →

More from coding & agent

coding & agent channel →