用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Morrison-Lab/ai-config --skill heal-skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | heal-skill |
| description | Repair misfiring AI skill. |
| user-invocable | true |
| allowed-tools | ["Bash","Read","Write","Edit","Glob","Grep"] |
Close the feedback loop on skill quality: when a skill misbehaves in a real
session, repair it now, while the failure is in front of you. This is the
retrospective complement to authoring a skill and to ums (which records
learnings) — it fixes a skill that already shipped and then misfired.
/heal-skill.Determine which skill misfired. If it's not named, infer it from what just
happened — the slash command invoked, the description that matched, or the
behavior that went wrong. Confirm the skill name with the user if ambiguous.
Read its skills/<name>/SKILL.md in full before changing anything.
Classify the failure — the fix differs by type:
description is too broad,
or its trigger phrases overlap a more general request. Fix: tighten the
description, narrow the trigger phrases, add an explicit "don't fire when…"
note.description lacks the
user's phrasing. Fix: add the missing trigger phrases / synonyms.State the diagnosis in one or two sentences before proposing the fix.
Draft the smallest change that addresses the root cause — usually a few lines
of the frontmatter description or one body step. Show the user the exact diff
and the reasoning. Don't rewrite the whole skill; don't add unrelated polish.
On approval, edit the SKILL.md. Then sanity-check it still parses and is
internally consistent: run scripts/validate-skills.py if the repo has it, and
re-read the trigger against the failure that prompted the heal. If this repo
ships skills via branch + PR, follow that flow rather than committing to main.
If the misfire reflects a pattern worth remembering (a recurring over-trigger,
a phrasing the user favors), hand off to ums to persist it, so the next skill
is authored without the same flaw.
skill-builder — the authoring counterpart; it writes a skill, this skill
repairs one after it ships and misfires.agent-builder — the authoring counterpart for a .claude/agents/*.md
subagent. If a heavy skill's fan-out step misbehaves because the spawned
agent's prompt or tool-scoping is wrong (not the calling skill's body), fix
the agent file via agent-builder's conventions instead of editing the
skill.link-skills — the proactive, whole-corpus cross-link audit; heal-skill
is the single-skill reactive repair, and fixing an ambiguous overlap here
means cross-linking the two skills (exactly what link-skills sweeps for).consolidate-skills — when two skills have real bodies for the same
workflow, that's a merge, not a heal; hand it there.ums / record-learnings — hand off to persist a recurring misfire as a
remembered lesson, so the next skill is authored without the same flaw.consolidate-skills.The idea for this skill (a retrospective "repair the skill that just confused you" loop) is credited in CREDITS.md.