thearchitectit/aiggp-agentic-framework/three-strikes
Claude Code and agent skill by thearchitectit/aiggp-agentic-framework
- community
Checking that the SKILL.md file is still in the repository.
Tracks failure attempts and enforces halt after 3 strikes on any task
Install
npx vskill@latest install thearchitectit/aiggp-agentic-framework/three-strikesSKILL.md
Three Strikes Rule
Track your attempts on each task. Never continue beyond 3 failures.
Why Three Strikes?
| Attempt | Meaning | Action | |
|---|---|---|---|
| 1st failure | Simple mistake, wrong assumption, or typo | Retry with adjusted approach | |
| 2nd failure | Approach may be fundamentally wrong | Try a completely alternative approach | |
| 3rd failure | Fundamental misunderstanding or hidden constraint | HALT and escalate to user |
Continuing beyond 3 attempts:
- Wastes tokens and compute
- Contaminates context with failed attempts
- Frustrates the user
- Rarely succeeds (debugging by random mutation)
Strike Tracking
Maintain mental (or explicit) state:
What Counts as a Strike?
A strike is counted when:
- A targeted fix or approach is attempted and fails
- The same error recurs after adjustment
- A different error surfaces that indicates the approach is wrong
A strike is NOT counted when:
- A syntax fix is needed as part of the same attempt
- A dependency is missing and must be installed first
- The test environment needs setup
After the Third Strike
- STOP immediately — Do not attempt a 4th fix
- Summarize attempts — List what was tried and what failed
- Describe current state — What is broken, what works, what is uncertain
- Ask user for guidance — Present options or ask for direction
- Wait for response — Do not proceed until user clarifies
User Message Template (Third Strike)
Exceptions
The Three Strikes Rule can be overridden ONLY by explicit user instruction:
- "Keep trying"
- "Try approach X"
- "It's okay, keep going"
Without explicit override, HALT at 3 strikes every time.
Task
Track failure attempts on the current task. If this is the first or second failure, adjust and retry. If this is the third strike, halt immediately and escalate to the user with a summary of attempts and current state.
References
skills/halt-conditions/SKILL.md— Full halt conditions checklist- AGENTS.md — Core safety protocols
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/skills/three-strikes/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thearchitectit/aiggp-agentic-framework/three-strikes)