self-heal
Ambient friction detection and surgical skill correction. Embeds into all skills. Triggers at task resolution when skill instructions caused friction.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Ambient friction detection and surgical skill correction. Embeds into all skills. Triggers at task resolution when skill instructions caused friction.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Institutional memory for your project. Commands: record, consult, review. Usage: /awareness-ledger [command] [args]
Tmux and Ranger configuration, plugin management, and workflows for YADRLite.
Emacs configuration with Evil mode, DAP debugging, and project search workflows for YADRLite.
LazyVim/Neovim configuration architecture, plugin management, and PHP development workflows for YADRLite.
Skill router. Pass a task description; route consults the index and dispatches to the right skill+function via the Skill tool. Usage: /route <task description>
Create, audit, optimize Claude Code skills. Commands: skills, list, new, strip, optimize, agents, hooks, verify, inline, ledger, cascade, checksums, convert, shell-safety, route
| name | self-heal |
| description | Ambient friction detection and surgical skill correction. Embeds into all skills. Triggers at task resolution when skill instructions caused friction. |
| allowed-tools | Read, Write, Edit, Task, TaskCreate, TaskUpdate |
| minimum-effort-level | high |
Quiet companion skill. Watches for friction caused by skill instructions during live sessions. At task resolution, diagnoses root cause and proposes surgical fixes with user approval.
This skill does not run on demand. It is embedded into other skills as an observer. When it detects a fixable source of friction, it surfaces automatically.
"Updates to skills must be surgical -- one specific instruction, smallest possible change, nothing more."
— Added 2026-02-26, source: system directive
"Nothing is written to a skill file without explicit user approval and a visible before/after diff."
— Added 2026-02-26, source: system directive
"Self-heal never modifies directives. Directives are sacred. Only workflow instructions, context descriptions, and clarifying language are in scope."
— Added 2026-02-26, source: system directive
CHECKPOINT — Surgical-Update Gate:
self-heal-history.md for a future pass.When invoked as /self-heal review:
.claude/skills/*/SKILL.md and grep each for the literal heading ## Self-Heal Observer. Skills containing this heading are "embedded"; the rest are "missing observer"..claude/skills/<skill>/self-heal-history.md. IF the file does not exist → record events=0, applied=0, declined=0 and continue (do not infer history from elsewhere). IF the file exists → parse it and count rows where outcome=applied and outcome=declined.Before executing any diagnosis or update, read the protocol files BEFORE acting on them:
State out loud which protocol section you are applying before each action, naming the file and section (e.g., "Applying diagnosis-protocol.md § Root cause tracing"). This statement is not optional — it is the grounding ledger that proves the protocol was read.
Reference files: