What is loop-breaker?
loop-breaker is a Claude Code mod by mishgoldenberg that notices when Claude is going in circles (the same command failing again and again, the same code rewritten over and over) and tells Claude to step back and rethink, and tells you too. It is listed under Interface and has 9 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | mishgoldenberg |
| Repository | mishgoldenberg/claude-mods |
| Popularity | 9 GitHub stars |
| Category | Interface |
| Security | Low risk (100/100) |
| Rank | #552 of 5,272 Claude Code mods; #212 in Interface |
| License | MIT |
| Last commit | 2026-10-06 |
| Stars this week | +3 |
| Hooks | 2 events |
| Sees | Bash|PowerShell calls, Edit|Write calls |
| Draws on | nothing |
Is loop-breaker safe to install?
loop-breaker scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.session.append | |
$.ui.log | draws interface |
$.ui.toast | draws interface |
How do I install loop-breaker?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/mishgoldenberg/claude-mods claude plugin validate ./claude-mods/plugins/loop-breaker
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add mishgoldenberg/claude-mods && claude plugin install loop-breaker@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs loop-breaker for you:
Install the "loop-breaker" Claude Code mod from https://github.com/mishgoldenberg/claude-mods/tree/main/plugins/loop-breaker. Run claude plugin validate on it first and show me what it can access before you enable it.
More from mishgoldenberg/claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- activity: Live panel of what Claude is doing: running tools with real commands and timers, what is waiting for your approval, suba (Low risk)
- changes: Every file Claude created or edited this session, with +/- line counts from git and one-click 'why?', summary and self-r (Low risk)
- command-hub: Discover slash commands: essentials explained in plain language, searchable list of everything installed, a form to crea (Review before installing)
- context-keeper: Live context-window panel: what fills it, checkpoints before you compact or clear, and nudges before you hit the wall. (Low risk)
- guardrails: Clickable safety rules with presets: block rm -rf, force-push, destructive git, secret files, sudo, installs, network; l (Low risk)
- mod-manager: Pick which claude-mods you want: install, turn on or off, update, or remove each mod from one panel (/mods), with preset (Review before installing)
- notify: Notification inbox + native OS notifications when a long turn ends, a subagent or background task finishes, or Claude is (Review before installing)
- prompt-coach: Before a vague prompt is sent, suggests a sharper rewrite; you choose: send improved, send yours, or edit the suggestion (Low risk)