What a SKILL.md File Is
An agent skill is a folder that teaches an AI agent how to do one specific job: process PDFs in a certain way, review pull requests against house rules, write release notes in your team's format. The only file a skill must contain is SKILL.md. Scripts, templates and longer reference documents can sit next to it, but the agent always starts from this one file.
SKILL.md has two parts. At the top is a block of YAML frontmatter, opened by a line of three hyphens and closed by another one. It holds metadata such as name and description. Everything after the closing line is the body: plain Markdown instructions that tell the agent what steps to follow, which files to open and how to handle edge cases.
The split matters because agents load skills in stages. At startup an agent reads only the name and description of every installed skill, which keeps dozens of skills cheap to carry around. When a request matches a description, the agent activates that skill and reads the full body. Supporting files are opened later, only when the body points to them.
This format is described in the open Agent Skills specification, so the same folder can work across Claude Code and other agents that adopted it. That portability is also why small format mistakes hurt. A frontmatter block that does not close, a name with an underscore, or a description that never says when to use the skill can each leave a skill sitting in its folder, never picked up, with no error message anywhere.
The validator above reads a pasted SKILL.md the way an agent would: it splits the frontmatter from the body, parses the YAML, checks every field against the specification and then measures the body against the spec's size guidance. It runs entirely in your browser, is free, and needs no sign up, which matters when a skill describes internal workflows you would rather not paste into a third party server.