Error-State Recovery

Community

Self-healing wrapper to recover failed commands.

AuthorSounder25
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Agents often fail due to transient or trivial errors. This skill provides a Invoke-Recoverable wrapper that catches these errors, attempts to apply known fixes, and retries the operation.

Core Features & Use Cases

  • Self-healing wrapper around command execution to automatically fix common issues (missing deps, locked files) and retry.
  • Heuristics-based fixes for common errors like ModuleNotFoundError, DirectoryNotFound, and File Locked.
  • Logs and outputs failures into ERROR_STATE.json for debugging and escalation to the Agent with structured context.

Quick Start

Use the skill to wrap a failing command and auto-recover. Example: .\skills\06_error_recovery\invoke_recovery.ps1 -Command "python hunt.py" -Retries 3

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Error-State Recovery
Download link: https://github.com/Sounder25/Google-Antigravity-Skills-Library/archive/main.zip#error-state-recovery

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.