Uploads to claude.ai and the Skills API reject unknown fields
The specification defines six frontmatter fields: name, description, license, compatibility, metadata and allowed-tools. Claude Code and Cursor read more, such as argument-hint or paths, and they're useful there.
Other tools are strict. Packaging the same skill for claude.ai or the Skills API fails with an error instead of ignoring the field, and the validators from the specification and Anthropic's skill creator report unexpected keys. Since the extra fields work in the agents that use them, this is only a suggestion.
"If you include any field the spec doesn't allow, packaging or upload fails with a hard error instead of ignoring the field"
"Unexpected fields in frontmatter"
"Unexpected key(s) in SKILL.md frontmatter"
"Fields outside the spec are LOW (unknown_field)."
Keep host-specific fields only where you need them
Drop fields you don't use. If you need host-specific fields and also upload the skill, keep a copy with only the spec's fields for uploads.
This fails:
---
name: pr-summary
description: Summarizes a pull request. Use when the user asks what a PR changes.
argument-hint: [pr-number]
---This passes:
---
name: pr-summary
description: Summarizes a pull request. Use when the user asks what a PR changes.
---Skillland's call: Claude Code and Cursor accept these fields, so Skillland counts this as a suggestion, not an error.
1125 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.