一键导入
self-healing
Use when an AI interface hits an error mid-task and should diagnose, fix and continue autonomously without stopping for every recoverable mistake.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when an AI interface hits an error mid-task and should diagnose, fix and continue autonomously without stopping for every recoverable mistake.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when a long-form manuscript (book chapter, ebook, multi-chapter playbook, long-form digital product) needs an editing pass to identify and remove AI writing tells. Sweeps across 8 pattern categories, assembles a structured edit packet for operator review, and applies approved edits.
Use when you have spare capacity and want to set your system improving without active attention. Operator-invoked only, never scheduled. Safe, additive, reversible hygiene work runs under a threshold model with a permanent floor of actions the agent never takes on its own.
Use when archiving several workspace artifacts at once with per-artifact approval gates before any archive move executes.
Use when deciding whether a piece of deterministic, no-judgment work should route to a secondary AI provider instead of your primary interface. Covers the provider catalog, the five-condition eligibility test and the dispatch script.
Retire a stalled or indefinitely-deferred plan without losing its value. Candidate scan, harvest, distribute, sweep, archive and codify.
Automated pull request review for your repos. Five parallel agents, confidence scoring, convention-file compliance, and GitHub comment posting.
| name | self-healing |
| description | Use when an AI interface hits an error mid-task and should diagnose, fix and continue autonomously without stopping for every recoverable mistake. |
| status | active |
| version | 1.1 |
This skill also ships inside the Sovereign Ecosystem template.
Purpose: Autonomous error recovery during implementation sessions. When your AI interface hits an error mid-task, diagnose the root cause, apply a fix, and continue without stopping to surface every recoverable mistake to you. Sessions no longer stall on routine errors.
This skill is always active during implementation sessions. It is not invoked manually. It governs how your AI handles errors throughout any session where work is being done.
Activate explicitly if you notice your AI stopping unnecessarily on routine errors: "Apply self-healing."
When an error occurs:
Error triage:
| Error type | Response |
|---|---|
| Syntax / typo | Fix inline, continue |
| Missing file or directory | Create if clearly intentional, continue |
| Wrong path | Correct path, continue |
| Missing dependency (npm, etc.) | Propose install before running. Cost and side-effect gate applies. |
| Test failure | Diagnose, fix, re-run once. Surface if still failing. |
| Permission or governance block | Surface immediately. Do not attempt to bypass. |
| External API error | Surface immediately. Do not retry without operator awareness. |
Dispatch the cheapest model that does the job well. Before each delegated step, ask whether a smaller model would produce equivalent output.
| Work type | Model |
|---|---|
| Mechanical lookups, deterministic commands, structured extraction against a spec | Haiku |
| Multi-step synthesis, drafting, diagnosis, most worker dispatch | Sonnet |
| Architectural judgment, plan design, judgment-dense synthesis | Opus |
When self-healing spawns a sub-agent to diagnose or fix an error, use Sonnet for root-cause analysis and diagnostic workers. Use Haiku for mechanical lookups (log tails, config reads, single-file grep). Use Opus only for architectural-judgment fixes where the decision materially changes the system's design.
Set the model explicitly on every subagent dispatch. Never silently inherit the top tier.
Systematic Debugging goes deeper when self-healing surfaces a failure it can't resolve autonomously. Use it to diagnose root cause before proposing a fix.
Pending Plan Implementation is the primary session context where self-healing runs. Keep sessions moving through multi-step plans without unnecessary stops.
If Systematic Debugging isn't installed yet: Install Systematic Debugging via Infinite Game OS. If Pending Plan Implementation isn't installed yet: Install Pending Plan Implementation via Infinite Game OS.
(Empty. Populated when execution mistakes occur during sessions.)