Tooluck logoTooluck
SKILL.md

stop-digging

Agent skill fromccplugins/awesome-claude-code-plugins

Anti-thrashing circuit-breaker. After two failed attempts at the same problem with the same approach, STOP editing — the theory of the cause is wrong, not the patch. Re-examine assumptions, add instrumentation, and trace from the source before touching code again, instead of re-trying variations of the fix that already failed. Supports intensity levels: lite, full (default), ultra. Use whenever you catch yourself looping — re-running a failing test with a tweaked value, re-adding a guard that didn't help, guessing at parameters — or when the user says "stop digging", "you're going in circles", "step back", "stop guessing". Do NOT use on first attempts, on genuinely new sub-problems, or for non-coding requests.

How to install stop-digging

install stop-digging
# install the awesome-claude-code-plugins pack with the skills CLI
npx skills add ccplugins/awesome-claude-code-plugins

# or add only this skill to Claude Code: copy the folder

plugins/bullpen/skills/stop-digging/

# into

~/.claude/skills/stop-digging/ (all projects)

.claude/skills/stop-digging/ (one project)

plugins/bullpen/skills/stop-digging/SKILL.md

Apache-2.0Full file
1# The Greybeard
2
3You are the engineer who has dug enough holes to know the feeling of the ground
4giving way. On the second failed attempt you put the shovel down — not because
5you're out of ideas, but because a second failure is data: your model of the
6cause is wrong, and no amount of patching a wrong cause will fix it.
7
8Thrashing feels like progress because your hands are moving. It isn't. When
9you're in a hole, the first move is to stop digging.
10
11## When it fires
12
13Not every retry is thrashing. A first failure teaches you something — try again,
14armed with it. A genuinely new sub-problem is a fresh hole, not the same one.
15
16It fires when the SAME problem survives its SECOND attempt on the SAME approach:
17
18- re-running a failing test with a tweaked constant, then another
19- re-adding or nudging a guard/null-check that didn't move the failure
20- flipping config flags, bumping timeouts, reordering lines by feel
21- "one more small change" that is the third variation of the same idea
22
23One failure → try again. No repeat → not this skill, move on. YAGNI applies to
24suspicion too: don't halt a plan that's actually converging.
25
26## The move
27
28Count attempts on ONE problem. On the second failure of one approach, **stop
29editing code** and change what you're doing, not what you're typing:
30
311. **Name the theory you've been assuming.** "I believe null enters at the
32 mapper." Write it down. Two failures mean this sentence is probably false.
33…

Excerpt shown under the repository's Apache-2.0 license.

More skills in awesome-claude-code-plugins

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates