01What is SKILL.md Validator?
An Agent Skill is a folder with a SKILL.md file inside. The file starts with YAML frontmatter, then Markdown instructions. Agents load the name and description at startup to decide when to use the skill, so a mistake there can stop a skill from being found. This validator checks the file against the rules in the Agent Skills specification. First it checks the frontmatter exists: the file must open with a line of three dashes and close the block with another. Then it reads the fields. The spec requires two. The name must be 1 to 64 characters, use only lowercase letters, digits and hyphens, not start or end with a hyphen, and not contain two hyphens in a row. It must also match the parent directory, so you can type the folder name to check that too. The description must be 1 to 1024 characters. The spec says it should say what the skill does and when to use it, so a very short description, or one without the words use or when, gets a warning. Optional fields are checked as well. compatibility must be 1 to 500 characters. metadata must map string keys to string values, so an unquoted 1.0 gets a warning, because YAML reads it as a number. allowed-tools must be a space-separated string, not a YAML list. Fields outside the spec get a warning, since some clients accept extra keys and others ignore them. The body is checked last. An empty body gets a warning, and so does a body over 500 lines, which is the spec's recommended maximum before moving detail into reference files. The tool reads a common subset of YAML: plain and quoted values, folded and literal blocks, and one-level maps. Unusual YAML such as anchors or flow maps may be reported as unreadable. It does not check referenced files or scripts. Everything runs in your browser.
Developers writing Agent Skills for AI coding agents who want to catch frontmatter mistakes before sharing a skill. The tool runs entirely in your browser, so your data never leaves your device.
02How to use SKILL.md Validator
- Paste the full contents of SKILL.md into the text box
- Type the name of the folder that holds it, if you want that checked
- Read the results, starting with red errors
- Fix the frontmatter in your file and paste it again
- Copy the results if you want to share them
03Worked examples
- Input:
--- name: pdf-processing description: Extract PDF text, fill forms, merge files. Use when handling PDFs. license: Apache-2.0 metadata: author: example-org version: "1.0" --- # PDF Steps here. (directory: pdf-processing) - Result:
ok: Frontmatter matches the Agent Skills spec. - Input:
--- name: PDF--Processing- description: Helps with PDFs. --- body (directory: pdf) - Result:
error: "name" may only use lowercase letters a-z, digits 0-9 and hyphens. error: "name" must not start or end with a hyphen. error: "name" must not contain consecutive hyphens (--). error: "name" is "PDF--Processing-" but the directory is "pdf". They must match. warning: "description" is very short. The spec asks it to say what the skill does and when to use it. - Input:
--- name: x description: Does a whole lot of things, use it when needed. allowed-tools: - Read --- b - Result:
error: "allowed-tools": could not read "- Read". error: "allowed-tools" must be a space-separated string, not a list. - The spec defines allowed-tools as a space-separated string.
- Input:
# Deploy helper Runs the deploy script and checks the health endpoint. - Result:
error: The file must start with YAML frontmatter: a first line of "---". - A SKILL.md without a frontmatter block is rejected before any field checks run.
- Input:
--- name: code-review description: Reviews a diff for bugs and style issues. Use when the user asks for a code review. metadata: version: 1.0 model: opus --- # Code review (directory: code-review) - Result:
ok: Frontmatter matches the Agent Skills spec. warning: metadata "version" is 1.0, which YAML reads as a number or boolean. Quote it to keep it a string. warning: "model" is not a field in the Agent Skills spec. Put extra properties under "metadata"; some clients may still accept it. - The file is valid but has two warnings: an unquoted version number and a field the spec does not define.
04Common use cases
- Checking a new skill before adding it to a repository or plugin
- Finding why an agent does not list a skill you wrote
- Confirming a skill name matches its folder name
- Keeping a description under the 1024-character limit
- Reviewing skills submitted by others for spec issues
05Tips
- Quote metadata values like versions so YAML keeps them as strings
- Quote a description that contains a colon followed by a space
- Put custom fields under metadata instead of adding new top-level keys
- Move long reference material into separate files and link to them from the body
06Related concepts
Agent Skills, SKILL.md, YAML frontmatter, progressive disclosure, allowed-tools.
Frequently Asked Questions
What is SKILL.md Validator?
SKILL.md Validator is a free, browser-based developer tool on AIDToolStack. Validate a SKILL.md file in your browser: YAML frontmatter, name rules, the 1024-character description limit, optional fields and body length. It requires no installation or sign-up and works entirely in your browser.
Is SKILL.md Validator free to use?
Yes. No sign-up, no fees and no usage cap.
Does SKILL.md Validator store my data?
No. It runs in your browser; nothing is uploaded.