ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

wolverine

Supervised self-healing process manager for OpenClaw. Wraps your gateway in a crash recovery loop — catches errors, diagnoses with AI, proposes fixes for review, verifies them, and restarts. Includes runtime code injection detection (33 patterns), automatic backup/rollback, and semantic memory that learns from past fixes.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bobbyswhip/wolverine-ai
Or

Wolverine — Self-Healing Process Manager

EXPERIMENTAL: This skill wraps your OpenClaw gateway in a supervised repair and security layer. Do not use in workspaces with critical production data until you have tested in a staging environment. All file modifications create backups first and can be rolled back.

What It Does

Wolverine watches your OpenClaw process. When it crashes, Wolverine:

  1. Captures the error (crash or caught 500)
  2. Diagnoses it with AI (Anthropic or OpenAI)
  3. Proposes a code fix
  4. Verifies the fix (syntax check + boot probe)
  5. Restarts — with rollback if the fix fails

Most errors are resolved in 3–60 seconds for $0.00–$0.10 in AI tokens. All changes are backed up before being applied.

Quick Start

npx wolverine-ai@latest --setup-claw

One command. Detects your .openclaw/config.yml, merges settings, scaffolds wolverine-claw/. Zero code changes needed.

Healing Pipeline

Error detected (crash or 500)
  → Empty stderr? → Just restart ($0.00)
  → Operational fix? → npm install / chmod / kill port ($0.00)
  → AI diagnosis → proposes code fix
  → Verify → syntax check + boot probe
  → Pass? → Apply fix, restart
  → Fail? → Rollback to backup, try next approach
  → 3 failures on same error → stop, file bug report for human review

Safety controls:

  • 5 heals max per 5 minutes (prevents runaway costs)
  • 3 failures on same error → stops and notifies human
  • 5-minute timeout per heal attempt
  • All fixes create a backup before applying
  • Protected paths: src/, bin/, node_modules/, .env files cannot be modified

Code Guard — Injection Detection

33 static analysis patterns scan code for injection attacks:

  • eval/Function injectioneval(req.body.code) blocked
  • Command injectionexecSync(req.query.cmd) blocked
  • Prototype pollution__proto__[key] = value blocked
  • Dynamic requirerequire(req.query.module) blocked
  • SSRFfetch(req.query.url) blocked
  • Reverse shellsspawn("/bin/sh") blocked
  • Obfuscation — encoded payloads detected and blocked
  • Execution boundary — code loaded from outside project root blocked

Blocked files are quarantined with forensic logs (code hash, stack trace, timestamp) for review.

Backup & Rollback

Every fix creates a backup first. Nothing is lost.

wolverine --backup "before risky change"
wolverine --rollback-latest
wolverine --undo-rollback

Backups stored in ~/.wolverine-safe-backups/ — outside the project directory, survives git pull and reinstalls.

Lifecycle: UNSTABLE → VERIFIED → STABLE (30min of no crashes).

Brain — Semantic Memory

Vector store that learns from every fix. Before calling AI, Wolverine searches past solutions.

  • Repeat errors resolved for $0.00 (cached fix)
  • Sub-millisecond search even at 10K+ entries

Security Stack

Metadata

Stars4190
Views0
Updated2026-04-18
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-bobbyswhip-wolverine-ai": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.