AgentSkills.site

SKM-F01 · Error

No YAML frontmatter block found

The file must open with a line containing only `---`, followed by YAML, followed by a closing `---`.

What the rule is

A SKILL.md is a markdown file with YAML frontmatter, and the frontmatter is what tells an agent when the skill is relevant. Without a `---`-delimited block at the very top of the file, there's no frontmatter to read at all — not empty frontmatter, none.

This is different from a frontmatter block that's present but broken (SKM-F02–SKM-F04). Here, the opening delimiter line itself — a line containing only `---` — was never found, which usually means the file starts directly with prose, or the delimiter has stray characters on the same line.

Where it comes from

Strict spec conformance

Non-conformant. The official reference validator (skills-ref) rejects this — tested directly, not inferred from severity.

This is a separate question from the severity above and from which runtimes enforce it below — a rule can be a real, working extension in its home runtime while the reference validator still rejects the file outright, or vice versa. Both facts are reported, never one inferred from the other.

Which runtimes enforce it

RuntimeEffectNote
Claude CodeNot documentedNot documented for this runtime — we hold no runtime-specific evidence either way.
CodexNot documentedNot documented for this runtime — we hold no runtime-specific evidence either way.
CursorNot documentedNot documented for this runtime — we hold no runtime-specific evidence either way.
OpenClawNot documentedNot documented for this runtime — we hold no runtime-specific evidence either way.
Hermes AgentNot documentedNot documented for this runtime — we hold no runtime-specific evidence either way.

How to fix it

  • Add a line containing only `---` as the very first line of the file, followed by `name:` and `description:` fields, followed by a closing `---` line, before any body text.

Before

# My Skill

This does a thing.

After

---
name: my-skill
description: Use when asked to do the thing.
---

# My Skill

Instructions.

Elsewhere