Error-State Recovery
Installation
SKILL.md
SKILL-006: Error-State Recovery
Overview
Agents often fail due to transient or trivial errors (e.g., missing Python module, locked file, timeout). This skill provides a Invoke-Recoverable wrapper that catches these errors, attempts to apply known fixes, and retries the operation.
Trigger Phrases
run with recoveryauto-fix <command>try hard <command>
Inputs
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
--command |
string | Yes | - | The command to execute |
--retries |
int | No | 3 | Max retry attempts |
--heuristics |
switch | No | True | Enable heuristic auto-fixes (pip, npm, mkdir) |