marcmunoz-uno/jailbreak/auto-fix
Claude Code and agent skill by marcmunoz-uno/jailbreak
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Automated error diagnosis and fix loop — catches failures, diagnoses root cause, applies fix, verifies
Install
npx vskill@latest install marcmunoz-uno/jailbreak/auto-fixSKILL.md
The same SKILL.md was published earlier as marcmunoz-uno/jailbreak/auto-fix.
Auto-Fix Skill
Purpose
When a build, test, or tool execution fails, automatically diagnose the root cause, apply a targeted fix, and verify the fix works — without manual intervention. This is the "error hook" turned into a full workflow.
When to Use
- Build failures during autopilot/ralph/ultrawork execution
- Test suite regressions after code changes
- Tool execution errors (MCP server failures, hook script errors)
- Import/dependency resolution failures
- Type errors caught by lsp_diagnostics
Execution Policy
- Mode: Loop with circuit breaker (max 3 attempts per error)
- Escalation: After 3 failed fixes → escalate to architect agent for structural diagnosis
- Scope: Fix the error, nothing more. No refactoring, no improvements, no cleanup.
- Safety: Git stash before first fix attempt. Revert all changes if loop exhausts without success.
Workflow
Phase 1: Error Capture
Receive error context:
Phase 2: Diagnosis (debugger agent)
Spawn debugger agent with error context:
- Parse error message — extract file, line, error type
- Read the failing code at the exact location
- Check recent git diff — did a recent change cause this?
- Form hypothesis: what's the root cause?
- If hypothesis confidence < 60% → spawn
tracerfor deeper analysis
Output: Root cause + proposed fix (as a diff)
Phase 3: Apply Fix (executor agent)
git stash(if not already stashed)- Apply the proposed fix via Edit tool
- Minimal change only — touch exactly what's needed
Phase 4: Verify
- Re-run the original failing command
- If it passes → done, commit the fix
- If it fails with the SAME error → increment attempt counter, go to Phase 2 with new context
- If it fails with a DIFFERENT error → log both errors, go to Phase 2 with combined context
Phase 5: Circuit Breaker
If 3 attempts fail:
- Revert ALL changes (
git stash popto restore original state) - Spawn
architectagent with full diagnostic context:
- All 3 error messages
- All 3 attempted fixes
- Why each fix failed
- Architect produces structural diagnosis + recommended approach
- Present to user for manual decision
Error Classification
| Error Type | Diagnosis Strategy | Typical Fix | |
|---|---|---|---|
| Import/Module not found | Check package.json/requirements.txt, check file paths | Install dep or fix import path | |
| Type error | Read type definitions, check recent signature changes | Fix type annotation or cast | |
| Syntax error | Parse error location, check for typos | Fix syntax at exact line | |
| Test assertion failure | Read test + implementation, check expected vs actual | Fix implementation or update test | |
| Runtime error | Read stack trace, trace data flow | Fix logic at root cause | |
| Config error | Validate config schema, check env vars | Fix config value or schema | |
| Permission error | Check file permissions, check auth config | Fix permissions or auth |
Stop Conditions
- Fix verified (original command passes) → commit and report
- Circuit breaker hit (3 failures) → revert and escalate
- Error is in external dependency (can't fix) → report and suggest workaround
- User cancels
Examples
Good: Single-pass fix
Good: Multi-pass with escalation
Bad: Scope creep
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 repositoryCheckingskills/auto-fix/SKILL.md
Popularity
- 7-day trend score
- 0
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/marcmunoz-uno/jailbreak/auto-fix)