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-modsReview the source before installing. Installation guide →
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
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
on('tool.call', { tool: ['Bash', 'PowerShell'] }, async ($, e, next) => {on('tool.call', { tool: ['Edit', 'Write'] }, async ($, e, next) => {Review methodology · Source and updates · Runtime limits · Function hooks guide