loop-detective
by YeonwooSung · ★ 14 · updated 5 days ago
Detect repeated Bash failures and edit/retry cycles with evidence, live cases and investigation prompts
Install
git clone https://github.com/dwarvesf/dwarves-kitclaude --plugin-dir ./dwarves-kit/integrations/claude-code/loop-detectiveThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.endtool.callturn.completecommand.runui.render- API calls
$.clock.after$.command.register$.session.cwd$.ui.invalidate$.ui.open$.ui.resolve$.ui.toast- Draws
Pane- Can see
every tool call- Reach
- level 0 of 3 draws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/dwarvesf/dwarves-kit
- Path in repo
integrations/claude-code/loop-detective- Source commit
d4f269ethe exact code the scan read- Author
- YeonwooSung @dwarvesf
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from dwarvesf/dwarves-kit
board-pane
dwarvesf/dwarves-kit
/board opens a pane with the kit's board output and a Refresh button
context-inspector
dwarvesf/dwarves-kit
Context waste analyzer for Claude Code: what fills the window, re-reads, near-duplicate outputs, what compaction kept, advice
memory-lens
dwarvesf/dwarves-kit
Recalls the few memories related to each prompt: one line for the human, one context entry for the model. Local files only, no network on the hot path.
secrets-veil
dwarvesf/dwarves-kit
Masks secret values in tool results before the model reads them: named vendor variables, value-shape patterns, and high-entropy tokens. No reveal path.