skill-doctor
Skill0 starsChanged 7 months agoMITView on GitHub
Diagnose why a SKILL.md isn't auto-invoking. Use this skill when the user runs /claude-papercuts:skill-doctor, asks why their skill won't trigger, mentions a skill that Claude keeps ignoring, or wants a lint pass on a SKILL.md they're writing. Runs lint.py to flag missing trigger phrases, vague descriptions, descriptions that overlap with built-in tool training (the root cause of issue #30387), names that aren't kebab-case, and length issues outside Anthropic's 50–1024 char bound.
22 other projects use a version of this.
Adopted by
Most recently taken up by
- JeffreyFerreiras/ai-skillstheir own version, first seen Oct 5, 2026
- PaulRBerg/agent-skillstheir own version, first seen Oct 1, 2026
- compozy/compozytheir own version, first seen Oct 1, 2026
- warpdotdev/common-skillstheir own version, first seen Sep 16, 2026
- bmaltais/skillstheir own version, first seen Sep 6, 2026
- zhouycheng/skillstheir own version, first seen Sep 4, 2026
Used with
Projects with it also use grill-me and frontend-design.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AWSSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 4 projects that use this
VercelSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- nyldn/claude-octopus★ 4.2ksame name
- compozy/compozy★ 2.8ksame name
- warpdotdev/common-skills★ 604same name
- PaulRBerg/agent-skills★ 96same name
- mintuz/skills★ 29same name
- evilstar2016/skill-doctor★ 9same name
- liuchunming033/skill-doctor★ 3same name
- KyTiXo/skill-doctor★ 2same name
- qiangjiyi/jiyi-skills★ 2same name
- ssamba1/skill-doctor★ 2same name
12 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 repository9 other files it gives its agents.
- amnesia-fixSkill
- compact-guardSkill
- done-proverSkill
- onboardSkill
- safe-shellSkill
- skill-budgetSkill
- subagent-brokerSkill
- token-x-raySkill
- unclearSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
When a SKILL.md description says *"use for git operations"*, the model's training-time knowledge of git wins.
- Very specific: line 35
If the user names a specific SKILL.md path, run:
- Distinctive: line 41
If the user wants a sweep of every installed skill, run:
- Distinctive: line 52
If the user asks for help fixing a specific issue:
- Very specific: line 60
Never auto-modify a SKILL.md.
- Very specific: line 102
If Anthropic ships a built-in SKILL.md linter (e.g.
“Common” is measured: kept by at least 6 in 10 of the 17 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-doctor — why isn't my skill auto-invoking?
Fixes: root cause of
#30387 —
"Custom skills not reliably auto-triggered. The model's training-time
knowledge competes with and takes precedence over skill instructions."
What this prevents
"Skills for git/shell operations are ignored ~50% of the time." — issue #30387
When a SKILL.md description says "use for git operations", the
model's training-time knowledge of git wins. The skill is never
invoked. skill-doctor lints SKILL.md files against the same
heuristics Anthropic's own template authors apply implicitly:
| Check | Severity | Why it matters |
name: present and kebab-case | error | Plugin loader rejects otherwise |
description: length 50–1024 | error | Anthropic's published bound |
| Description has trigger phrase | warn | Without "Use this when …", the model has nothing to route on |
| Description avoids vague words | info | "helper", "utility", "manager", "toolkit" — too generic |
| Description avoids training overlap | warn | "edits files", "git operations", "runs shell" — built-in tool wins |
| Description under 80 chars | warn | Not enough context to route to the right skill |
How to invoke (the actual procedure)
If the user names a specific SKILL.md path, run:
${CLAUDE_PLUGIN_ROOT}/skills/skill-doctor/lint.py <path>If the user wants a sweep of every installed skill, run:
${CLAUDE_PLUGIN_ROOT}/skills/skill-doctor/lint.py --all- Show the script's output verbatim. The severity glyphs (
✗error,⚠warn,·info) and the issue codes (e.g.training-overlap,no-trigger) are the value. Don't summarize the categories — the per-skill report is what the user came for. - If the user asks for help fixing a specific issue:
- For
training-overlap: rewrite the description to name the specific workflow the skill owns ("apply database migrations" not "for database operations"). - For
no-trigger: add a sentence starting with "Use this when …". - For
desc-thin: expand to include one concrete invocation example and one trigger phrase.
- For
- Never auto-modify a SKILL.md. Suggestions are for the user to apply themselves.
What gets discovered by --all
The same locations as skill-budget:
~/.claude/skills/<name>/SKILL.md<cwd>/.claude/skills/<name>/SKILL.md~/.claude/plugins/*/skills/<name>/SKILL.md
When to auto-invoke
- User runs
/claude-papercuts:skill-doctor - User asks "why isn't my skill triggering?"
- User mentions a skill that Claude keeps ignoring
- User says they just wrote a new SKILL.md and wants it reviewed
What this skill does NOT do
- It does not modify SKILL.md files. Suggestions only.
- It does not lint the body of the SKILL.md (the markdown after the frontmatter) — only the frontmatter and description.
- It does not validate
allowed-tools:glob syntax. Claude Code's plugin loader does that. - It does not (yet) run the skill to verify it triggers. A "trigger-fuzz" mode is planned for a future release.
Configuration
# JSON output for piping into other tools / CI
${CLAUDE_PLUGIN_ROOT}/skills/skill-doctor/lint.py --all --json
# Lint a specific path
${CLAUDE_PLUGIN_ROOT}/skills/skill-doctor/lint.py path/to/SKILL.md
# Scan a different project
${CLAUDE_PLUGIN_ROOT}/skills/skill-doctor/lint.py --all --cwd /path/to/projDeprecation plan
If Anthropic ships a built-in SKILL.md linter (e.g. via
claude plugin validate), this skill becomes a duplicate and gets
deprecated in the next monthly release with the date.
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.

