claudemods

All Claude Code modsktripathi2281/LoopDetector

loop-detector

A Claude Code mod in ktripathi2281/LoopDetector

Warns when Claude Code seems stuck repeating the same edits, commands or failures

loop-detector reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install loop-detector --marketplace ktripathi2281/LoopDetector

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsother: $.prompt.read, other: $.state.get, other: $.state.set, drives Claude, writes the prompt box, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call
Hooks
session.start, session.end, turn.start, turn.complete, tool.call, command.run {command=loops}, ui.render {component=AbovePrompt}, ui.render {component=Pane, requestId=loop-detector}, ui.render {component=Pane, requestId=loop-detector-rethink}
API calls
$.clock.after, $.command.register, $.prompt.fill, $.prompt.read, $.prompt.submit, $.prompt.suggest, $.session.surfaces, $.state.get, $.state.set, $.turn.abort, $.ui.close, $.ui.copy, $.ui.log, $.ui.open, $.ui.resolve, $.ui.status, $.ui.toast
Validation on 2.1.302
Passed
Scanned revision
93d20a2be0b6
Marketplace passed
loop-detector

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

Badge for your README

Reach badge for loop-detector Validation badge for loop-detector

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/ktripathi2281--LoopDetector--loop-detector-reach.svg)](https://mods.aidojo.si/mods/ktripathi2281--LoopDetector--loop-detector/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/ktripathi2281--LoopDetector--loop-detector-validates.svg)](https://mods.aidojo.si/mods/ktripathi2281--LoopDetector--loop-detector/)