skills CLI: missing required frontmatter field(s): name, description
The skill's SKILL.md does not start with a YAML frontmatter block that has both a `name` and a `description`, so the `skills` CLI skips it. The exact message, why skills CLI prints it, and the fix.
Updated November 23, 2026 · Checked against skills 1.7.4, reproduced in EnvHaven 1.9.0
The message
Skipped SKILL.md: missing required frontmatter field(s): name, description
No valid skills found. Skills require a SKILL.md with name and description.
What it means
The skill’s SKILL.md does not start with a YAML frontmatter block that has both a name and a description, so the skills CLI skips it.
Fix
- Start SKILL.md with frontmatter:
---
name: my-skill
description: What it does and when an agent should use it.
---
- Use lowercase letters, digits and hyphens in
name. - Run
npx skills add ./path-to-skillagain.
In an EnvHaven workspace
The same skills CLI ships in every workspace, so the same rule applies.
Where this comes from
This message was produced by skills CLI (skills 1.7.4) itself, in a throwaway EnvHaven 1.9.0 container, on 2026-11-23; the text above is copied from that output.