Frontmatter sticks to the spec's fields

Fields other than name, description, license, compatibility, metadata and allowed-tools.

TipFails on 1125 of 4462 indexed skills
share

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"
Claude Code: using skill frontmatter outside Claude Code
"Unexpected fields in frontmatter"
skills-ref, the spec's reference validator
"Unexpected key(s) in SKILL.md frontmatter"
Anthropic: skill-creator validation script
"Fields outside the spec are LOW (unknown_field)."
NVIDIA SkillEvaluator: Tier 1 reference, schema check

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.