Codex, Cursor and the Claude API need the name field
The name is how agents and tools refer to a skill: in the skill list, in the slash command, and in install commands.
Claude Code is forgiving. Without a name field it uses the folder name, so the skill seems fine there. The Agent Skills specification, OpenAI's Codex docs and Cursor's docs all list the name as required, and the Claude API rejects a skill without one. A skill that only works in one agent because that agent fills the gap is easy to break when someone installs it elsewhere.
"The required name field: Must be 1-64 characters"
"The SKILL.md file must include name and description."
"Skill identifier. Lowercase letters, numbers, and hyphens only. Must match the parent folder name."
"name and description are required. Names are 1–64 characters; descriptions are 1–1024 characters."
Use the folder name as the name
Add a name with the same value as the folder that holds SKILL.md.
This fails:
---
description: Extracts text from PDF files. Use when the user shares a PDF.
---This passes:
---
name: pdf-tools
description: Extracts text from PDF files. Use when the user shares a PDF.
---23 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.