بنقرة واحدة
heal-skill-worker
// Repair a failing skill. Invoke when your task file asks you to heal a specific skill by pointing at its incident transcript.
// Repair a failing skill. Invoke when your task file asks you to heal a specific skill by pointing at its incident transcript.
Use immediately when the user asks you to do something net-new -- a task you haven't done before, no existing skill applies, and getting it right will require nontrivial research, exploration, or experimentation. When doing this, give a very short confirmation message to the user's request, then load this immediately before responding further. Your confirmation message shouldn't mention loading the skill. Skip when an applicable single skill already exists or for pure dev/code-writing work.
Use when you want to create a new web view for the user. Covers scaffolding a new FastAPI service (canonical path) and the escape hatch for wrapping a pre-existing third-party server, plus diagnostic references when things misbehave.
Create a sub-agent to perform a larger task. Use when work is large enough to warrant a separate context, involves multi-file changes, or benefits from isolation.
Use whenever you want to use latchkey commands or interact with third-party or self-hosted services (Slack, Google Workspace, Dropbox, GitHub, Linear, Coolify...) using their HTTP APIs on the user's behalf.
Use to read and write files and directories on the user's local filesystem.
Push local improvements to shared infrastructure (skills, scripts, CLAUDE.md scaffolding, Dockerfile, services.toml) back to the parent template repo so other agents derived from the template benefit. Opens a separate per-feature PR per logical fix; never pushes directly to upstream `main`. Do not push agent-specific content (PURPOSE.md, memory, runtime state). For pulling updates from upstream, use the `update-self` skill instead.
| name | heal-skill-worker |
| description | Repair a failing skill. Invoke when your task file asks you to heal a specific skill by pointing at its incident transcript. |
| metadata | {"role":"worker-sub-skill"} |
A crystallized or hand-authored skill misbehaved during a real turn; your job is to fix it.
Follow .agents/shared/references/worker-reporting.md for the report-file
procedure and task-file frontmatter schema. Substitute:
<RUNTIME_REPORTS_DIR> → runtime/heal/reports/<TASK_FILE_GLOB> → runtime/heal/*/task.mdValid name: values for this worker:
final-artifact (Stage 6). There is no outline gate for a heal.done (Stage 7), stuck (see "If you cannot fix it"
below).SKILL.md and any scripts under <skill_directory>/scripts/.
A skill may be pure prose (no scripts), in which case "replicate" means
tracing the SKILL.md instructions against the incident inputs to see
where the recipe led astray.scripts/, SKILL.md prose, or both. If the
root cause was an ambiguous or wrong prose instruction, the fix is a
SKILL.md edit even if the skill has scripts.update-skill instead..agents/shared/references/spec-summary.md.Run /autofix on your commits. Fix anything the reviewer flags.
Write a report with type: gate, name: final-artifact, and body:
Fixed `<skill-name>`:
- Root cause: <one-sentence>
- Change: <one-sentence>
- Scenarios run: <list, all pass>
Approve the fix? (yes / no with notes)
Push it and stop, per the reporting procedure above.
Commit on your current branch, then emit a name: done terminal report (body
shape per .agents/shared/references/worker-reporting.md).
If the root cause is impossible for you to implement or the right fix would
change the skill's contract in ways the user should decide on, emit a
name: stuck terminal report (body shape per
.agents/shared/references/worker-reporting.md). Include a recommendation
(e.g. a create-new-skill update or manual investigation).