thearchitectit/aiggp-agentic-framework/halt-conditions
Claude Code and agent skill by thearchitectit/aiggp-agentic-framework
- community
Checking that the SKILL.md file is still in the repository.
When to stop and ask the user for guidance instead of proceeding
Install
npx vskill@latest install thearchitectit/aiggp-agentic-framework/halt-conditionsSKILL.md
Halt Conditions - When to Stop and Ask
You MUST halt and escalate to the user when any of these conditions are met.
Critical Halts (Immediate Stop)
Code Safety
- [ ] Modifying unread code - You have not read the file you plan to edit
- [ ] Unknown dependencies - Unclear what other code depends on target file
- [ ] Breaking changes - Change would break existing functionality
- [ ] No rollback plan - Cannot undo the change if it fails
Scope and Authorization
- [ ] Out of scope - Operation exceeds authorized boundaries
- [ ] Ambiguous requirements - Multiple interpretations possible
- [ ] Conflicting instructions - User requests conflict with each other
- [ ] Unauthorized production - Production change without explicit approval
Environment Separation
- [ ] Test/Production mix - Cannot verify environment boundaries
- [ ] Production test data - Tests may modify production data
- [ ] Shared instances - Test and production use same services
- [ ] Credential confusion - Unclear which environment credentials belong to
Execution Failures
- [ ] Three strikes - Operation has failed 3 times
- [ ] Repeated errors - Same error occurring multiple times
- [ ] Cascading failures - One failure causing others
- [ ] Unknown errors - Error you don't understand
Security Concerns
- [ ] Secrets exposure - Risk of exposing credentials
- [ ] Privilege escalation - Operation requires elevated permissions
- [ ] Data exposure - Risk of exposing sensitive data
- [ ] Unknown commands - Command with unclear effects
Halt Procedure
When a halt condition is met:
- STOP immediately - Do not continue the operation
- Explain the condition - Clearly state which halt condition was triggered
- Describe the risk - Explain what could go wrong if you proceed
- Ask for guidance - Request specific clarification or approval
- Wait for response - Do not proceed until user responds
Halt Message Template
After User Response
Once user provides guidance:
- Acknowledge the guidance
- Confirm understanding - Restate what you will do
- Get confirmation - "Should I proceed with this approach?"
- Execute only after confirmation
Three Strikes Rule Detail
Track attempts per task:
| Attempt | Action | |
|---|---|---|
| 1st failure | Retry with adjusted approach | |
| 2nd failure | Try alternative approach | |
| 3rd failure | HALT and escalate |
Why three?
- First failure: May be a simple mistake
- Second failure: Approach may be wrong
- Third failure: Fundamental misunderstanding - needs human guidance
Continuing beyond 3 attempts:
- Wastes tokens
- Contaminates context with failed attempts
- Frustrates the user
- Rarely succeeds
Uncertainty Scale
| Level | Action | |
|---|---|---|
| Certain (90%+) | Proceed with confidence | |
| Probably (70-90%) | Proceed but note uncertainty | |
| Uncertain (50-70%) | HALT and ask | |
| Guessing (<50%) | HALT and ask |
When in doubt, HALT.
Task
Evaluate the current situation against the halt conditions above. If any condition is met, issue a halt and escalate to the user with a clear explanation of the triggered condition and the risk of proceeding.
References
- AGENTS.md - Core safety protocols
skills/three-strikes/SKILL.md- Failure tracking and escalation
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/skills/halt-conditions/SKILL.md
Popularity
- Repository stars
- 5
- Repository forks
- 2
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. 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/halt-conditions)