self-heal
Installation
SKILL.md
Self-Heal Skill
Goal
When an agent encounters a failure, autonomously diagnose, research (if needed), fix, and verify — escalating to human only after exhausting all autonomous options (max 5 attempts).
Self-Healing Loop
FAIL detected
-> Attempt 1: Diagnose error type
-> Apply fix
-> Verify
-> PASS? Done (log to AUDIT_LOG.md)
-> FAIL? Attempt 2...
-> ...
-> Attempt 5 fails? ESCALATE TO HUMAN (stop all action)