Broken YAML leaves the skill with no description to match
The frontmatter is YAML, and YAML is strict. The most common mistake is a colon inside a value: in "Fixes bugs: finds the cause first", YAML sees a second key and gives up on the whole block.
What happens next depends on the agent. Claude Code still loads the file, but with empty metadata. The skill runs when you type its slash command, but Claude never picks it on its own, because it has no description to compare with the request. Cursor's Cloud Agents show a warning that names the skill. The specification's reference validator rejects the file outright.
So the skill looks installed and seems to work when you test it by hand, while it never triggers for anyone else.
"If the frontmatter YAML is malformed, Claude Code loads the skill body with empty metadata, so /skill-name still works but Claude can't match against your description."
"… whose SKILL.md can't be read, has frontmatter that doesn't parse, or has no description shows a warning in the run that names the skill."
"Invalid YAML in frontmatter"
"Codex, Copilot CLI, OpenClaw and OpenCode parse front matter strictly."
Quote any value that contains a colon
Wrap a value in double quotes when it contains a colon followed by a space, starts with a special character, or runs over several lines. Check that every key starts at the same indent.
This fails:
---
name: bug-fixer
description: Fixes bugs: finds the cause first
---This passes:
---
name: bug-fixer
description: "Fixes bugs: finds the cause first. Use when a test fails."
---52 of 4462 indexed skills fail this check
This check against the 10 that fire most often in the index:
Run the same check on your own skill in the validator, or from a terminal with the skillland CLI.