Home / Claude Code mods / Interface / loop-breaker

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.

Updated 2026-10-06

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.

TypeClaude code mod
Authormishgoldenberg
Repositorymishgoldenberg/claude-mods
Popularity9 GitHub stars
CategoryInterface
SecurityLow risk (100/100)
Rank#552 of 5,272 Claude Code mods; #212 in Interface
LicenseMIT
Last commit2026-10-06
Stars this week+3
Hooks2 events
SeesBash|PowerShell calls, Edit|Write calls
Draws onnothing

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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.session.append
$.ui.logdraws interface
$.ui.toastdraws interface

How do I install loop-breaker?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)