loop-breaker Claude Code mod

Detects repetitive failures and suggests reconsidering the approach.

  • turn.start
  • tool.call

Install commands

Enter these two lines in the Claude Code prompt, in order.

1. Add marketplace   2. Install plugin
/plugin marketplace add mishgoldenberg/claude-mods
/plugin install loop-breaker@claude-mods

Review the source before installing. Installation guide →

Permissions Facts

Can read files
–
Can write files
–
Can access the network
–
Can read environment variables
–
Can change prompts
–
Can intercept tool calls
Yes

Capability evidence is not a security certification; “–” does not mean a capability is absent.

Source & updates

Last updated
2026-10-06
License
MIT
Plugin version
0.1.1
Claude Code
2.1.287+
Source
0954c97
Repository stars
5 · Repository contains 12 mods in this directory
Source files
Plugin manifest ↗Hooks configuration ↗Registered module ↗Marketplace manifest ↗

Source inventory

Declared events: turn.start | tool.call{tool=Bash|PowerShell} | tool.call{tool=Edit|Write}

Declared API calls: $.session.append (via nudge) | $.ui.log (via nudge) | $.ui.toast (via nudge)

Can intercept tool calls evidence

loop-breaker:45 ↗

on('tool.call', { tool: ['Bash', 'PowerShell'] }, async ($, e, next) => {

loop-breaker:69 ↗

on('tool.call', { tool: ['Edit', 'Write'] }, async ($, e, next) => {

Review methodology · Source and updates · Runtime limits · Function hooks guide