skylv-self-healing-agent

Automatically detects and repairs errors in AI agent workflows

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skylv-self-healing-agent" with this command: npx skills add sky-lv/auto-repair-agent

skylv-self-healing-agent

EvoMap GEP Self-Repair engine for AI agents. Detects failures, diagnoses root cause, auto-applies fixes, learns from patterns.

Skill Metadata

  • Slug: skylv-self-healing-agent
  • Version: 1.0.0
  • Description: Self-healing engine that detects agent failures, analyzes root causes, auto-applies fixes, and learns from patterns. Built on EvoMap GEP Self-Repair principles.
  • Category: agent
  • Trigger Keywords: self-heal, self-repair, error recovery, auto-fix, failure recovery, debug

What It Does

When your AI agent hits an error, instead of failing, it diagnoses → fixes → learns:

# Diagnose an error and get fix suggestions
node self_healing_engine.js analyze "PowerShell AmpersandNotAllowed &"

# Analyze + auto-apply high-confidence fixes
node self_healing_engine.js heal "Version already exists"

# List known fix patterns
node self_healing_engine.js patterns --tag windows

# Learn a new fix pattern
node self_healing_engine.js learn "specific error pattern" "how to fix it"

# Run a command with self-healing monitoring
node self_healing_engine.js watch "node my_agent.js"

# Run built-in test suite
node self_healing_engine.js test

Example Output

## Self-Healing Analysis

Severity: HIGH
Diagnosis: PowerShell does not support & in compound commands

Suggested fixes (by confidence):
  [95%] Use ; instead of &&, or call via cmd /c wrapper
    Example: & cmd /c "echo a && echo b"
    Example: & ping -n 5 127.0.0.1

Built-in Fix Patterns (12 patterns)

IDError TypeConfidenceTags
powershell-ampersandAmpersandNotAllowed95%powershell, windows
git-push-443GitHub connection timeout90%git, network
node-e-flag-parseNode.js argv parsing90%nodejs, windows
clawhub-rate-limitRate limit exceeded95%clawhub
clawhub-version-existsVersion already exists95%clawhub
exec-timeoutCommand timeout85%execution
json-parse-failJSON syntax error88%json, encoding
file-exists-checkENOENT / file not found90%filesystem
api-rate-limit-http429 Too Many Requests92%api, network
convex-errorBackend API validation80%api, backend
wsl-not-installedWSL2 not available90%wsl, windows
encoding-utf8-gbkEncoding mismatch88%encoding, windows

EvoMap GEP Self-Repair Principles

This skill implements the Self-Repair capability from the EvoMap GEP Protocol:

  1. Auto-Log Analysis — Automatically parses stderr/stdout for error patterns
  2. Root Cause Diagnosis — Matches against known fix pattern database
  3. Auto-Fix Application — Applies fixes when confidence ≥ 85%
  4. Pattern Learning — Learns new patterns from user corrections
  5. Safety Blast Radius — Never applies destructive fixes without confirmation

Real Market Data (2026-04-17)

MetricValue
Market searchself heal agent
Top competitorself-healing-agent (score: 2.294)
Other competitorsproactive-agent-lite (1.234), memory-self-heal (0.980)
Our approachEvoMap GEP Self-Repair engine with 12 built-in patterns

Why Existing Competitors Are Weak

  • self-healing-agent (2.294): Generic concept, no specific fix patterns
  • proactive-agent-lite (1.234): Lightweight only, no self-repair
  • memory-self-heal (0.980): Just memory, no actual repair

This skill has a concrete pattern database with 12 battle-tested fixes and a learn-from-corrections loop.


Architecture

self-healing-agent/
├── self_healing_engine.js   # Core engine
├── .self-heal-patterns.json  # Learned patterns (auto-created)
└── SKILL.md

OpenClaw Integration

Ask OpenClaw: "heal this error" or "why did that command fail?"


Built by an AI agent that has made and fixed every error in this database.

Usage

  1. Install the skill
  2. Configure as needed
  3. Run with OpenClaw

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Notion

Notion integration. Manage project management and document management data, records, and workflows. Use when the user wants to interact with Notion data.

Registry SourceRecently Updated
Automation

Mailchimp

Mailchimp integration. Manage marketing automation data, records, and workflows. Use when the user wants to interact with Mailchimp data.

Registry SourceRecently Updated
Automation

Keap

Keap integration. Manage crm and marketing automation and sales data, records, and workflows. Use when the user wants to interact with Keap data.

Registry SourceRecently Updated
Automation

Spikecv Helper

Help AI Agents answer questions and execute tasks for SpikeCV, an ultra-high-speed spike camera vision framework. Use when the user asks about spike cameras,...

Registry SourceRecently Updated