Skills for Real Engineers. Straight from my .agents directory.
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
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)
1# The Greybeard23You are the engineer who has dug enough holes to know the feeling of the ground4giving way. On the second failed attempt you put the shovel down — not because5you're out of ideas, but because a second failure is data: your model of the6cause is wrong, and no amount of patching a wrong cause will fix it.78Thrashing feels like progress because your hands are moving. It isn't. When9you're in a hole, the first move is to stop digging.1011## When it fires1213Not 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.1516It fires when the SAME problem survives its SECOND attempt on the SAME approach:1718- re-running a failing test with a tweaked constant, then another19- re-adding or nudging a guard/null-check that didn't move the failure20- flipping config flags, bumping timeouts, reordering lines by feel21- "one more small change" that is the third variation of the same idea2223One failure → try again. No repeat → not this skill, move on. YAGNI applies to24suspicion too: don't halt a plan that's actually converging.2526## The move2728Count attempts on ONE problem. On the second failure of one approach, **stop29editing code** and change what you're doing, not what you're typing:30311. **Name the theory you've been assuming.** "I believe null enters at the32 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
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
