# Write a SKILL.md

> How a skill is laid out: the SKILL.md with name and description frontmatter, supporting files, links between skills and projects.

A skill is a folder of files in the open Agent Skills format. This page covers the SKILL.md itself, linking skills to one another and keeping skills in projects. The same page for people is at https://skillfiles.dev/docs/write-skill-md.

## Skill file format

A skill is a folder in the open Agent Skills format: a `SKILL.md` with `name` and `description` frontmatter, and any supporting files. `name` is lower-case letters, digits and single hyphens; `skillfiles` is reserved. Search matches on the name and description, so the description should say what the skill is for and, for a narrow skill, what it isn't for. A skill can hold up to 512 files and 16 MiB, and one `write_skill` call can carry up to 4 MiB. Link another skill by its address, for example `skill://global/test-checklist/SKILL.md`. A skill in a named project has the address `skill://<project>/<name>/SKILL.md`; global skills use `global`.

~~~markdown
---
name: pr-review
description: How I review any pull request before merging, in any repository.
---
# PR review
Load the commit-messages and test-style skills first.
Then check each item in references/checklist.md.
~~~

- `name` is the skill’s name in the library. Use lower-case letters, digits and single hyphens. The name `skillfiles` is reserved.
- `description` is required. Search and the relevance judge use it to identify suitable skills.
- A skill can contain up to 512 files totalling 16 MiB. A single `write_skill` call can contain up to 4 MiB.
- Supporting files can be text or binary. The agent reads them with `read_skill` when the skill refers to them.

## Skill composition

Keep skills small and link to any other skill the task needs. For example, a review skill can ask the agent to read `skill://global/commit-messages/SKILL.md` with `read_skill`. If an older skill refers to a local path written on another machine, use `list_skills` to find the skill’s project and library address.

## Projects

Manage projects under **Skills → Manage projects** or through the MCP project tools. Each project has a stable slug. Include the slug when writing or searching for skills. Skillfiles filters out other projects before judging relevance. Global skills are available in every project.

For example, the Ledger release skill lives at `skill://ledger/release/SKILL.md`. Clients that support the MCP Skills Extension can list the project directory at `skill://ledger`.

## Related

- Previous: [Import existing skills](https://skillfiles.dev/docs/import-skills.md)
- Next: [Review what your agents changed](https://skillfiles.dev/docs/review-agent-changes.md)
- [All documentation](https://skillfiles.dev/docs.md)
- [Plans and limits](https://skillfiles.dev/pricing)
