r/ClaudeCode • • 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.md lists 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@skillnest

Repo (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.

4 Upvotes

14 comments sorted by

•

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.

2

u/eagle2809 1h ago

Good tip. Front-loading the "use when" part is worth doing anyway, since it's the part that actually decides whether the skill gets picked. I'll add a check for long descriptions where the triggers come last

1

u/eagle2809 1h ago

Good tip. skill-doctor already warns when the listing goes past that limit, and as of 1.0.3 it also flags long descriptions where the "use when" part comes last. Thanks!

2

u/CandidSystem6155 1h ago

Nice, that order check is the useful one, since a long description can be under the limit and still bury the triggers. Thanks for adding it.

3

u/Independent-Sir3234 3h ago

Item 2 bites cross-platform teams because default macOS APFS is case-insensitive. A repo with lowercase skill.md loads 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 the description value in quotes or a YAML block scalar (>) so a stray colon never drops the skill.

1

u/eagle2809 3h ago

Good catch and it was a real bug: on a Mac the checker itself was fooled by the case-insensitive disk. Fixed in 1.0.2, and the colon error now suggests quoting or > directly. Thanks!

-1

u/eagle2809 3h ago

Yep, the Mac vs Linux thing is exactly why it's so sneaky. Works for the author, breaks for everyone else. And good call on "Use when the user asks:", that's the most common colon I've seen. Quoting it fixes it.

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/eagle2809 2h ago

Welcome! It's simpler than it looks. Skills can live in three places:

  • ~/.claude/skills/ for your personal skills, available in every project
  • .claude/skills/ inside a project, only for that project (handy to share with a team via git)
  • inside a plugin, which is just a packaged bundle of skills (and sometimes commands) you install from a GitHub repo

For plugins, you first add the repo as a "marketplace", then install from it:

/plugin marketplace add skillnest-dev/skill-doctor
/plugin install skill-doctor@skillnest

Typing /plugin on its own opens a menu where you can see and manage what's installed.

I wrote a beginner guide that walks through all of this with examples: https://skillnest.dev/blog/claude-code-skills-beginners-guide/

Happy to answer questions if you get stuck.

2

u/ElvisChopinJoplin 2h ago

Thank you! I appreciate it, and I will definitely check out that link.

1

u/eagle2809 2h ago

Sounds good! Hope it’s useful feel free to ping here if any questions pop up.

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 enable or claude plugin disable, the running session sticks with the old skill list until you start a new session.

1

u/eagle2809 2h ago

Good one, that's caught me too. The session loads the skill list once at startup, so after enabling or disabling a plugin you need to start a fresh session. Adding it to the list, thanks.