smithery/sounder25

Error-State Recovery

Wraps command execution in a self-healing loop. Uses heuristics to auto-fix common errors (missing deps, locked files) or escalates to the Agent with structured error context.

Installation

$ npx skills add smithery/sounder25 --skill error-state-recovery

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/sounder25 · top by installs.

npx skills add smithery/sounder25

Browse all from smithery/sounder25

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
Declared agents antigravity

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,643 B
  • docs SUMMARY.md 203 B

History

  1. First recorded snapshot · 0 installs

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 recovery
  • auto-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)

Outputs

  1. Success: Standard output of the command.
  2. Failure: ERROR_STATE.json containing the stack trace, context, and failed fix attempts.

Supported Heuristics

  1. Python ModuleNotFoundError: Auto-runs pip install <module>.
  2. DirectoryNotFound: Auto-runs mkdir -p.
  3. File Locked: Waits 2s and retries.
  4. CLI Missing: Checks standard paths for tool (e.g., forge, dotnet).

Preconditions

  1. PowerShell 7+

Implementation

See invoke_recovery.ps1.

Integration

.\skills\06_error_recovery\invoke_recovery.ps1 -Command "python hunt.py" -Retries 3