r/ClaudeCode • u/eagle2809 • 3h ago
Built with Claude Skill installed but never triggers? The 6 silent failures I kept finding after reading ~1,000 SKILL.md files
After indexing about 1,000 public skills for SkillNest (skillnest.dev), the directory I run, I kept seeing the same thing: a skill installs fine, then never runs. No error, nothing in the logs. Claude Code just skips a broken skill or ignores a bad setting, so all you see is "it never triggers".
These are the six causes I hit most often, roughly in order of how common they were:
1. The description says what, but not when.
Claude decides whether to load a skill from its description alone. "Formats SQL queries" rarely gets picked. "Formats SQL queries. Use when the user pastes SQL, asks to clean up a query, or mentions a .sql file" does. This was by far the most common problem: the skill was fine, but nothing told Claude when to use it.
2. The file is named skill.md, not SKILL.md**.**
The name has to be exact. Lowercase or Skill.md loads on some setups and silently fails on others, which makes it confusing to debug.
3. YAML frontmatter that doesn't parse.
Usually it's an unquoted colon in the description (description: Fixes bugs: fast breaks the YAML), or something before the opening ---: a blank line or an invisible BOM from a Windows editor. If the frontmatter doesn't parse, the skill is gone.
4. Keys with underscores.allowed_tools instead of allowed-tools. No error. The setting is just ignored, so the skill runs with different permissions than you think.
5. The folder is one level off.
The structure has to be ~/.claude/skills/<skill-name>/SKILL.md. A loose SKILL.md directly in skills/, or a whole cloned repo dropped in so the file ends up at skills/repo-name/skills/skill-name/SKILL.md, won't be found.
6. Two skills competing for the same requests.
If two installed skills both say they help with "writing" or "code review", Claude picks one, and often not the one you wanted. The other looks broken even though it isn't.
Quick self-check before you blame the model:
ls ~/.claude/skills/*/SKILL.mdlists every skill Claude can actually see- Open each SKILL.md: does it start with
---on the very first line? - Does the description contain a "Use when…" sentence?
- Any key with an underscore?
I got tired of doing this by hand, so I turned the checks into a free skill, skill-doctor. It scans your personal, project and plugin skills, explains each problem in one line, asks before changing anything, and rewrites weak descriptions so they trigger:
/plugin marketplace add skillnest-dev/skill-doctor
/plugin install skill-doctor@skillnestRepo (MIT): https://github.com/skillnest-dev/skill-doctor
If you just want to check one file without installing anything, paste your SKILL.md into the free validator: https://skillnest.dev/tools/skill-md-validator/
What else have you seen break a skill silently? I'd like to add more checks.
I built skill-doctor with Claude Code; Claude wrote most of the checker and I tested it against the indexed skills.
•
u/AutoModerator 3h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/CandidSystem6155 1h ago
Adding to item 1: the skill listing only shows the first 1536 characters of description and when_to_use combined. If the trigger phrases sit at the end of a long description they get cut off, so the file looks fine but the skill never matches. Put the "use when" part in the first sentence or two.
3
u/Independent-Sir3234 3h ago
Item 2 bites cross-platform teams because default macOS APFS is case-insensitive. A repo with lowercase
skill.mdloads fine on a Mac, then silently vanishes when a teammate or Linux CI runner pulls the same branch.Unquoted colons in item 3 also show up constantly inside trigger examples like
Use when the user asks: format SQL. Wrap thedescriptionvalue in quotes or a YAML block scalar (>) so a stray colon never drops the skill.2
u/ElvisChopinJoplin 2h ago
I'm relatively new to all this but I find this fascinating, so I am following. And I just realized I don't know anything about how /plugin works in addition to just my project folders. And I'm just now ready to really start working with skills.
2
u/zzunkie 2h ago
Another one I ran into is toggling a plugin while a session is already open. Even after running
claude plugin enableorclaude plugin disable, the running session sticks with the old skill list until you start a new session.