Claude skill upload: SKILL.md must start with YAML frontmatter (---)

Claude's skill upload (claude.ai and the Claude desktop app) checks that SKILL.md opens with a YAML frontmatter block. The exact message, why Claude skill upload prints it, and the fix.

Updated November 23, 2026

The message

SKILL.md must start with YAML frontmatter (---)

What it means

Claude’s skill upload (claude.ai and the Claude desktop app) checks that SKILL.md opens with a YAML frontmatter block. The first line must be ---; a file that starts with a heading or any other text, or has no frontmatter at all, is rejected.

Fix

  1. Open SKILL.md and make --- the very first line, with nothing above it.
  2. Below it add name: (lowercase letters, numbers and hyphens, up to 64 characters, matching the folder name) and description: (what the skill does and when to use it, up to 1,024 characters), then close the block with ---.
  3. Zip the skill folder itself so the archive contains <skill-name>/SKILL.md, for example zip -r my-skill.zip my-skill/, and upload again.

In an EnvHaven workspace

It can happen anywhere Claude skill upload runs; the fix above applies in a workspace too.

Where this comes from

From Claude skill upload’s documentation and issue tracker: