The complete specification for the SKILL.md file format.
SKILL.md Specification
SKILL.md is the core file of every skill. It's a markdown file with YAML frontmatter that AI agents read to learn domain-specific knowledge and instructions.
File format
---
name: skill-name
description: What this skill does
license: MIT
compatibility: Any requirements
metadata:
author: github-username
version: "1.0.0"
allowed-tools:
- tool-name
---
# Skill Title
Markdown content that the AI agent reads...
Frontmatter fields
name (required)
name: my-database-tool
The skill's identifier. Rules:
- Lowercase letters, numbers, and hyphens only
- Must start with a letter or number
- Maximum 64 characters
- Must match the regex:
^[a-z0-9][a-z0-9-]*$
This is the bare name — scoping (@org/) is handled at publish time.