skill-improver
Skill2 starsChanged 3 months agoMITView on GitHub
Review, audit, or improve ONE existing agent skill: SKILL.md structure against the eight required sections, description quality and routing collisions, `allowed-tools` scope, the 300-line ceiling, dead files under references/assets/scripts, and eval coverage. Ships `scripts/review-skill-structure.sh` for one skill and `scripts/survey-skill-fleet.sh` for a whole tree. Triggers: 'review this skill', 'audit my skills', 'is this SKILL.md any good', 'why does the wrong skill keep triggering', 'split this skill', 'my skill is too long'. Do NOT use to build a brand-new skill from a repeated workflow — that is `skills-build`; or to find and install someone else's skill.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- svg153/skillstheir own version, first seen Nov 1, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- air-gapped/skillstheir own version, first seen Oct 19, 2026
- juandelossantos/another-agent-skillstheir own version, first seen Oct 17, 2026
- AlvaroVFon/skillstheir own version, first seen Oct 13, 2026
- ilamanov/skillstheir own version, first seen Oct 13, 2026
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- Galaxy-Dawn/claude-scholar★ 5.9ksame name
- Heyvhuang/ship-faster★ 337same name
- fjrevoredo/mini-diarium★ 318same name
- ribeirogab/zeno-agent★ 9same name
- air-gapped/skills★ 6same name
- exiao/meta-skills★ 4same name
- AlvaroVFon/skills★ 2same name
- karozi/awesome-product-management-skills★ 2same name
- prPMDev/my-portfolio-kit★ 2same name
- BenSchZA/skills★ 1same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- airtableSkill
- design-logSkill
- find-sessionSkill
- git-shipSkill
- skills-buildSkill
- tallySkill
- tech-researcherSkill
- visualizeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
29 rules. 0 are common, 18 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
18
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
If the user's request is ambiguous, start in review-only mode and ask before editing.
- Distinctive: line 26
Use this skill when the user asks to:
- Very specific: line 28
Check, audit, or review an existing skill or SKILL.md.
- Distinctive: line 52
If these are missing but the skill files are available, proceed in review-only mode and state assumptions.
- Very specific: line 58
Run bash scripts/review-skill-structure.sh <path>/SKILL.md to mechanically detect missing sections.
- Distinctive: line 60
Check whether the description is an agent-facing trigger spec (not human marketing copy) and whether overlapping sibling skills are …
- Very specific: line 61
Check for clear When this triggers and When this does not trigger sections.
- Distinctive: line 62
Check that the workflow is actionable, gates are surfaced as a list, output format is explicit, and gotchas are concrete (not decorative).
- Very specific: line 63
Check whether long material belongs in references/, templates in assets/, deterministic checks in scripts/, and whether any existing files …
- Distinctive: line 65
Check whether the skill is trying to cover more than one workflow.
- Distinctive: line 75
If the user's request is ambiguous about edit scope, default to review-only and ask.
- Very specific: line 76
If a finding requires expanding allowed-tools, deleting/moving files, modifying scripts, renaming, or splitting — stop and ask before …
- Distinctive: line 77
If the skill covers two distinct workflows, recommend a split but do not split without approval.
- Very specific: line 78
If references//assets//scripts/ contain files never referenced from SKILL.md, flag them as dead and propose wiring or deletion — do not …
- Very specific: line 79
If scripts/review-skill-structure.sh reports MISSING sections, they must be fixed before step 14 passes, or the verdict downgrades to …
- Very specific: line 136
Do not expand allowed-tools without explicit user approval.
- Very specific: line 137
Do not modify scripts/ files without asking — they may be tested or shared.
- Distinctive: line 138
Do not delete or move files without asking.
- Distinctive: line 139
Do not rename the skill without asking.
- Distinctive: line 140
Do not split a skill without asking.
- Distinctive: line 141
Do not rewrite the whole skill when a surgical edit is enough.
- Distinctive: line 142
Do not treat a clean-looking skill as good if the trigger description is vague — agent routing depends on the description.
- Distinctive: line 143
Do not leave generic gotchas ("be careful", "think step by step") in place.
- Distinctive: line 144
Do not bury stop conditions inside paragraphs — surface them as a decision-gates list.
- Distinctive: line 145
Do not confuse always-on project instructions (CLAUDE.md/AGENTS.md) with skill-specific workflow content.
- Very specific: line 146
Do not add references, assets, or scripts just to make the folder look complete.
- Distinctive: line 165
After improving a skill, check:
- Very specific: line 178
Do body claims match the actual frontmatter, and are allowed-tools names current harness tools?
- Distinctive: line 179
If routing was in question: did a live trigger test (workflow step 15) route the positive-eval query to this skill?
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Improver
Inspect an existing agent skill and improve it safely. The goal is to make it more reliable, safer, clearer, easier to trigger correctly, and easier to evaluate. Preserve what works. Fix what is vague, risky, missing, or bloated. Do not rewrite aggressively just because you can.
Safety modes
Classify the requested work into one of four modes before touching anything:
- Review-only — read the skill and produce findings. No edits.
- Safe-edit — apply low-risk improvements that preserve intent: clearer wording, sharper trigger description, missing sections, formatting, stronger gotchas, more explicit output format.
- Permission-changing or destructive — ask the user before any change that expands
allowed-tools, deletes files, removes major sections, alters core behavior, renames the skill, moves files, modifies scripts, or splits the skill. - Structural-defect repair — adding missing required frontmatter fields (
name,description,allowed-tools) is not a permission change; it is documentation of behavior the skill already exhibits. Infer the minimum tools the visible workflow uses (shell snippets ⇒Bash; file creates ⇒Write; file edits ⇒Edit). Apply the fix and flag the inference in the diagnosis. Do not block on user approval for adding a missing field — only for expanding a field that is already present.
If the user's request is ambiguous, start in review-only mode and ask before editing.
When this triggers
Reviewing or improving EXISTING skills only. For greenfield skill creation, use skills-build.
Use this skill when the user asks to:
- Check, audit, or review an existing skill or
SKILL.md. - Improve triggers, descriptions, gotchas, gates, output format, or evaluation checklist.
- Review or tighten
allowed-toolspermissions. - Validate folder structure (
references/,assets/,scripts/). - Split an over-broad skill into focused ones.
- Diagnose why a skill is not triggering or is triggering too often.
- Refactor a skill without changing its purpose.
- Audit the whole skill fleet at once ("which skills need work") — run
scripts/survey-skill-fleet.shfirst, then improve the worst offenders.
When this does not trigger
- Creating a brand-new skill from scratch → use
skills-build. - Anything not about agent skills.
- Generic writing edits unrelated to a skill.
- Project-level instructions like
AGENTS.md/CLAUDE.md, unless the question is specifically whether content should move into a skill.
Required inputs
- The skill folder path.
- Whether the user wants review-only or edits.
- Whether permission changes are allowed.
- Whether scripts may be edited.
- Whether the user wants minimal cleanup or a deeper refactor.
If these are missing but the skill files are available, proceed in review-only mode and state assumptions.
Inspection workflow
- Locate the skill folder and confirm
SKILL.mdexists. - Inspect the folder structure (which of
references/,assets/,scripts/exist and what is in them). - Run
bash scripts/review-skill-structure.sh <path>/SKILL.mdto mechanically detect missing sections. - Read
SKILL.mdend-to-end. Note declaredname,description, andallowed-tools. Cross-check body claims against the actual frontmatter — a body sentence asserting a field that is not set (e.g. claimingdisable-model-invocation: truewhen the frontmatter lacks it) is a real defect, and so is a stale tool name inallowed-tools(e.g. subagent dispatch wasTask, renamed toAgent— the old name silently breaks dispatch). Both found live on 2026-07-03 indesign-log. - Check whether the description is an agent-facing trigger spec (not human marketing copy) and whether overlapping sibling skills are explicitly named as non-triggers.
- Check for clear
When this triggersandWhen this does not triggersections. - Check that the workflow is actionable, gates are surfaced as a list, output format is explicit, and gotchas are concrete (not decorative).
- Check whether long material belongs in
references/, templates inassets/, deterministic checks inscripts/, and whether any existing files in those subfolders are dead (never referenced from SKILL.md). - Classify
allowed-toolsas minimal / acceptable / risky / missing — loadreferences/permission-review.mdfor the classification rubric. - Check whether the skill is trying to cover more than one workflow.
- Produce a diagnosis using the review-only template in
assets/skill-review-template.md. - If edits are approved: apply changes following the improvement workflow in
references/permission-review.md. Ask before any change in the "Edit approval rules" list below. - Re-read the changed files.
- Hard gate. Re-run
bash scripts/review-skill-structure.sh <path>/SKILL.md. If any MISSING remains, the skill is not improved. Either fix the missing section or downgrade the verdict to "Needs major refactor" with structural failures listed as the top issue. Record pre-edit and post-edit MISSING/OK counts in the output. - Live trigger test (recommended when triggering/routing was part of the complaint, or a sibling overlaps). Structural validity does NOT prove correct routing. Dispatch a fresh cheap subagent (
model="haiku") with the skill's positive-eval query phrased naturally (no slash command, no hints) plus a meta-instruction to report which skill it chose and why. If a sibling steals the trigger, the fix usually belongs on the SIBLING's description (vague or missing frontmatter acts as a keyword magnet) — sharpen it and name this skill as its non-trigger, then re-test. Reference incident:n8n-mcphad no frontmatter and stoleagent-debug's triggers on the word "n8n" (2026-07-03). - Summarize what changed using the post-edit output format.
Decision gates
- If the user's request is ambiguous about edit scope, default to review-only and ask.
- If a finding requires expanding
allowed-tools, deleting/moving files, modifying scripts, renaming, or splitting — stop and ask before applying. - If the skill covers two distinct workflows, recommend a split but do not split without approval.
- If
references//assets//scripts/contain files never referenced from SKILL.md, flag them as dead and propose wiring or deletion — do not delete without approval. - If
scripts/review-skill-structure.shreports MISSING sections, they must be fixed before step 14 passes, or the verdict downgrades to "Needs major refactor."
Edit approval rules
Edit without asking only when ALL are true:
- The user explicitly asked you to improve the skill.
- The change is low-risk and preserves the skill's purpose.
- The change does not expand permissions.
- The change does not delete files, modify scripts, rename, or split the skill.
- Adding a missing required frontmatter field counts as structural-defect repair (mode 4), not permission expansion. Apply without asking. Record the inference in the diagnosis.
Ask before:
- Expanding an existing
allowed-toolsline (especiallyBash,Write,Edit,MultiEdit, network/browser/external) — adding a missingallowed-toolsis mode 4, not expansion. - Removing permissions that may still be needed.
- Deleting or moving files.
- Renaming the skill.
- Splitting one skill into multiple.
- Rewriting the skill in full.
- Modifying scripts or external service usage.
- Adding commands that may affect files or systems.
Use direct language:
I found one risky change: adding `Bash` would let the skill run commands. Do you want me to add it, or should I keep the skill read/edit-only?Output format — review-only mode
Fill out assets/skill-review-template.md and return it. The template covers: verdict, structural check, main issues, permissions classification, safe vs approval-required changes, suggested next step. The ## Structural check field is required, not optional — fill it from the script run in workflow step 3 (and step 14 if edits were applied).
Output format — after edits
# Skill Improved
## Files changed
- `<file>`
## Changes made
- <change>
- <change>
## Permissions
<what changed or did not change>
## Remaining issues
- <issue, if any>
## Suggested test
<one test prompt the user can run>Gotchas
- Do not expand
allowed-toolswithout explicit user approval. - Do not modify
scripts/files without asking — they may be tested or shared. - Do not delete or move files without asking.
- Do not rename the skill without asking.
- Do not split a skill without asking.
- Do not rewrite the whole skill when a surgical edit is enough.
- Do not treat a clean-looking skill as good if the trigger description is vague — agent routing depends on the description.
- Do not leave generic gotchas ("be careful", "think step by step") in place.
- Do not bury stop conditions inside paragraphs — surface them as a decision-gates list.
- Do not confuse always-on project instructions (
CLAUDE.md/AGENTS.md) with skill-specific workflow content. - Do not add references, assets, or scripts just to make the folder look complete. If a file is never referenced from SKILL.md, it is dead — wire it in or delete it.
References
references/permission-review.md— load when classifyingallowed-tools, diagnosing common SKILL.md problems, or running the full 16-step improvement sequence.
Assets
assets/skill-review-template.md— fill this out for review-only output (workflow step 11).assets/eval-template.json— canonical structure for skill evals (one positive + one negative + one edge-case per skill, ≥3 total — per Anthropic's skill-authoring best practices; evals are recommended, not part of the required SKILL.md spec, which mandates onlyname+description).
Scripts
scripts/review-skill-structure.sh— run on the target SKILL.md (workflow step 3 + step 14 hard gate) to mechanically detect missing frontmatter fields, required sections, length-budget violations, dead subfolder files, empty headings, frontmatter-spec violations (name/description/voice), and eval coverage.scripts/list-skill-evals.sh— fleet-wide eval coverage survey across~/.claude/skills/. Run when the user asks "which skills have evals" or before a periodic skill-fleet audit.scripts/survey-skill-fleet.sh— fleet-wide STRUCTURE survey: runsreview-skill-structure.shon every skill under a directory (default~/.claude/skills) and prints a summary table sorted by MISSING count. Run when the user asks to audit all skills, "which skills need work", or after harness/spec changes that could invalidate many skills at once. Skills fail audits only when someone runs them — this makes running them cheap.
Evaluation checklist
After improving a skill, check:
- Does it still do one focused job?
- Is the trigger description precise, with overlapping siblings named as non-triggers?
- Are non-trigger cases explicit?
- Are permissions minimal and justified?
- Are approval boundaries explicit?
- Are workflow steps actionable and gates surfaced as a list?
- Is the output format clear?
- Are gotchas concrete?
- Is every file under
references//assets//scripts/referenced from SKILL.md? - Can the user test the skill with one realistic prompt?
- Does the skill have an
evals/folder with ≥3 valid evals (one positive, one negative-trigger, one edge-case)? Seeassets/eval-template.json. - Do body claims match the actual frontmatter, and are
allowed-toolsnames current harness tools? - If routing was in question: did a live trigger test (workflow step 15) route the positive-eval query to this skill?
Exit criterion. The skill is not improved unless: (1) review-skill-structure.sh reports zero MISSING, (2) every checklist item above is yes, (3) every file under references/, assets/, scripts/ is referenced from SKILL.md. If any of the three fails, the verdict is at most "Needs minor cleanup" and the failures are listed in the output.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

