Recovery loop 3strike
Skill markoblogo/abvx-agent-skills/skills/recovery-loop-3strike
Recover from failed execution or verification with a bounded three-step loop: retry, focused fix-spec, then honest handoff. Use when an agent is likely to spin on the same failure, when flaky environment issues blur the signal, or when you need a disciplined stop condition instead of endless optimistic retries.From its SKILL.md
npx -y skills add markoblogo/abvx-agent-skills --skill recovery-loop-3strikeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.0 KB, 335 tokens by cl100k_base, as published. Nobody here has run it
Recovery Loop 3-Strike
Bound retries so failure handling becomes diagnostic instead of repetitive.
Use When
- a verification step fails and the cause is not yet clear;
- the task is long enough that repeated blind retries are likely;
- you need an explicit escalation path for autonomous or semi-autonomous work.
Core Rules
- Failure one is for learning, not denial.
- Each retry must add new evidence or a narrower hypothesis.
- After two failed passes, stop improvising and write a focused fix plan.
- After the third failure, hand off honestly instead of pretending the loop is still productive.
Workflow
- First failure:
- capture the exact failing signal;
- state the most likely cause;
- retry once with one concrete probe or adjustment.
- Second failure:
- write a compact fix spec for the same phase or task slice;
- constrain the change to the verified failure mode;
- execute the fix and re-run verification.
- Third failure:
- stop;
- mark the task or phase blocked;
- hand off with probe history, attempted fixes, and best next action.
Required Failure Record
For each strike, preserve:
- failing command or acceptance criterion;
- observed output or symptom;
- hypothesis tested;
- action taken;
- result.
Anti-Patterns
- Do not spend all three strikes on the same unmodified action.
- Do not escalate to a large rewrite unless the evidence points there.
- Do not hide a blocker behind optimistic language.
Final Report
State which strike resolved the issue, or provide a clean blocked handoff with evidence.
What ships with it: 2 files
1.6 KB alongside SKILL.md
agents/
- openai.yaml209 B
- SKILL_CARD.md1.4 KB