Automated summary
Updates a skill's SKILL.md and related files based on corrections discovered while the skill was running.
Strengths
- Detects the relevant skill from conversation context
- Shows before/after diffs and requires user approval before editing
- Reads back modified sections and can create a structured commit
Limitations
- Relies on conversation context to identify which skill to heal
- Does not independently look up the correct API or documentation; the fix must already be known
- Only covers skill files and does not perform a broad project audit
Use when a skill just failed or gave outdated instructions and you already know the correction.
Do not use to author a new skill from scratch or to fix code unrelated to a SKILL.md.
Security analysis
CautionThe skill is designed to edit and optionally commit skill files, so it uses powerful tools, but it gates changes behind user approval and does not perform destructive actions, exfiltration, obfuscation, or safety disabling. The main concerns are broad git permissions and insufficient validation of the detected skill path before file operations.
- •Uses Bash(git:*) broadly and can create commits, though only after explicit user approval.
- •Derives SKILL_DIR from detected SKILL_NAME without visible validation or normalization, creating a path-traversal/symlink risk when listing and editing files.
- •Self-modifies skill instruction files and related references/scripts, which is powerful and could propagate incorrect or malicious changes if the skill is later trusted.
- •Context shell interpolation runs an ls pipeline from SKILL.md; harmless here, but command interpolation in skill metadata is a pattern worth reviewing.
Examples
/heal-skill The deployment skill we just used calls the old /v1/deploy endpoint. Update its SKILL.md and references with the correct endpoint./heal-skill The image-upload skill says to use --type, but the tool now requires --format. Heal the skill's instructions and examples./heal-skill The skill we ran told me to use npm test, but this repo uses pnpm test. Update the skill so it stops giving the wrong command.name: heal-skill description: Fix incorrect SKILL.md files when a skill has wrong instructions or outdated API references argument-hint: "[optional: specific issue to fix]" allowed-tools: [Read, Edit, Bash(ls:), Bash(git:)] disable-model-invocation: true
<objective> Update a skill's SKILL.md and related files based on corrections discovered during execution.Analyze the conversation to detect which skill is running, reflect on what went wrong, propose specific fixes, get user approval, then apply changes with optional commit. </objective>
<context> Skill detection: !`ls -1 ./skills/*/SKILL.md | head -5` </context><quick_start> <workflow>
- Detect skill from conversation context (invocation messages, recent SKILL.md references)
- Reflect on what went wrong and how you discovered the fix
- Present proposed changes with before/after diffs
- Get approval before making any edits
- Apply changes and optionally commit </workflow>
</quick_start>
<process> <step_1 name="detect_skill"> Identify the skill from conversation context:- Look for skill invocation messages
- Check which SKILL.md was recently referenced
- Examine current task context
Set: SKILL_NAME=[skill-name] and SKILL_DIR=./skills/$SKILL_NAME
If unclear, ask the user. </step_1>
<step_2 name="reflection_and_analysis"> Focus on $ARGUMENTS if provided, otherwise analyze broader context.
Determine:
- What was wrong: Quote specific sections from SKILL.md that are incorrect
- Discovery method: Context7, error messages, trial and error, documentation lookup
- Root cause: Outdated API, incorrect parameters, wrong endpoint, missing context
- Scope of impact: Single section or multiple? Related files affected?
- Proposed fix: Which files, which sections, before/after for each </step_2>
<step_3 name="scan_affected_files">
ls -la $SKILL_DIR/
ls -la $SKILL_DIR/references/ 2>/dev/null
ls -la $SKILL_DIR/scripts/ 2>/dev/null
</step_3>
<step_4 name="present_proposed_changes"> Present changes in this format:
**Skill being healed:** [skill-name]
**Issue discovered:** [1-2 sentence summary]
**Root cause:** [brief explanation]
**Files to be modified:**
- [ ] SKILL.md
- [ ] references/[file].md
- [ ] scripts/[file].py
**Proposed changes:**
### Change 1: SKILL.md - [Section name]
**Location:** Line [X] in SKILL.md
**Current (incorrect):**
[exact text from current file]
**Corrected:**
[new text]
**Reason:** [why this fixes the issue]
[repeat for each change across all files]
**Impact assessment:**
- Affects: [authentication/API endpoints/parameters/examples/etc.]
**Verification:**
These changes will prevent: [specific error that prompted this]
</step_4>
<step_5 name="request_approval">
Should I apply these changes?
1. Yes, apply and commit all changes
2. Apply but don't commit (let me review first)
3. Revise the changes (I'll provide feedback)
4. Cancel (don't make changes)
Choose (1-4):
Wait for user response. Do not proceed without approval. </step_5>
<step_6 name="apply_changes"> Only after approval (option 1 or 2):
- Use Edit tool for each correction across all files
- Read back modified sections to verify
- If option 1, commit with structured message showing what was healed
- Confirm completion with file list </step_6> </process>
<success_criteria>
- Skill correctly detected from conversation context
- All incorrect sections identified with before/after
- User approved changes before application
- All edits applied across SKILL.md and related files
- Changes verified by reading back
- Commit created if user chose option 1
- Completion confirmed with file list </success_criteria>
- Read back each modified section to confirm changes applied
- Ensure cross-file consistency (SKILL.md examples match references/)
- Verify git commit created if option 1 was selected
- Check no unintended files were modified </verification>
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/heal-skill-ms47vqpf/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/heal-skill-ms47vqpf' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/heal-skill-ms47vqpf/download' --output '.skill-downloads/heal-skill-ms47vqpf/SKILL.md.part' && mv '.skill-downloads/heal-skill-ms47vqpf/SKILL.md.part' '.skill-downloads/heal-skill-ms47vqpf/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/heal-skill-ms47vqpf/SKILL.md' && test -s '.skill-downloads/heal-skill-ms47vqpf/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/heal-skill' && cp -R '.skill-downloads/heal-skill-ms47vqpf' '.claude/skills/heal-skill'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/heal-skill-ms47vqpf'openskills read 'heal-skill-ms47vqpf'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/heal-skill-ms47vqpf/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Supabase Docs Authoring
Documentation
Write, edit, and review Supabase documentation content including guides, tutorials, reference docs, and partials. Follow style guides and MDX/TOML validation rules.
Create Architecture Decision Record
Documentation
Create a new Architecture Decision Record with sequential numbering, register it in the AgentDB graph, and link related ADRs.
Plan update with deep research
Documentation
Updates a plan document by launching parallel subagents to analyze a topic across all compiler passes, then consolidates findings into the plan doc.