Self healing

From skeletorflet/opencode-supreme-setup · View interactive version

Self healing is an AI agent skill from the GitHub repository skeletorflet/opencode-supreme-setup. Autonomous error correction and system recovery. Use when tests fail, builds break, or runtime errors occur.

How to use this skill

Skill file

self-healing

Automatically diagnose and repair issues.

Protocol

  1. Analyze Error: Capture full stdout/stderr of the failing command.
  2. Context Retrieval: Use grep or LSP to find the relevant code mentioned in the trace.
  3. Hypothesis: Identify the root cause (e.g., syntax error, missing dependency, logic bug).
  4. Fix Execution: Apply the minimal fix using edit or sed.
  5. Verification: Re-run the command that failed.
  6. Iteration: If it fails again, repeat from step 1 with the new error.

Best Practices

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.