# The skill format

> Every file of a skill package, and every field of SKILL.md and skill.yaml.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://skills.docs.sypnia.com/skills/the-skill-format/

For agents: Package = folder: SKILL.md (required; YAML frontmatter name + description, then Markdown body: when to use, steps, checks), skill.yaml (required to publish: name, version semver, publisher, license SPDX, kind skill|starter, works-with [claude-code, cursor, sypnia-agent, any], languages, requires {skills {id: range}, mcp [urls]}, touches {scripts [paths], mcp [{name,url}], network [hosts], writes [globs]}, homepage, repository), references/ (Markdown read on demand), assets/ (templates, examples; never executed), scripts/ (files the agent may run, each listed in touches.scripts), cases/ (starters only). Names ^[a-z][a-z0-9-]{1,62}$; id = publisher/name; description ≤ 1,024 characters; SKILL.md ≤ 100 KB. Same format as Claude Code skills: the extra file skill.yaml is ignored by agents that do not know it.

A skill is a folder. Agents read the `SKILL.md`; the registry reads the `skill.yaml`. Everything else is optional.

```text
sypnia-design-guide/
├── SKILL.md            what the agent reads: when to use it, the steps, the checks
├── skill.yaml          what the registry reads: version, publisher, what it may touch
├── references/         longer notes the agent opens only when a step needs them
│   └── palettes.md
└── assets/             templates and examples the steps copy or show; never run
    └── guide-template.md
```

A skill may also have `scripts/` (files the agent may run, each one declared) and, if it is a starter, `cases/` (use cases it brings).

## `SKILL.md`

The same file Claude Code reads, so the skill works in Claude Code, Cursor, Sypnia Agent and any agent that understands it.

`SKILL.md`

```markdown
---
name: sypnia-design-guide
description: Write and keep a project's own design guide. Use when the project has no design/guide.md, when the person wants to change colours, fonts, icons or voice, or brings a logo.
---

# Sypnia design guide

1. Read design/guide.md and design/tokens.json if they exist.
2. Ask at the person's level …

## Checks
- `npx @sypnia/design check` passes.
```

| Field         | Required | What it is                                                                                                                                   |
| ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `name`        | yes      | the skill's name, the same as in `skill.yaml` and as the folder                                                                              |
| `description` | yes      | when an agent should use it, in one or two sentences. Agents choose skills by this text, so it names the situations and the words people use |
| the body      | yes      | Markdown: what the skill is for, the steps in order, and the checks that prove the work is done                                              |

## `skill.yaml`

| Field                    | Required | What it is                                                                                                                                                                       |
| ------------------------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name`                   | yes      | `^[a-z][a-z0-9-]{1,62}$`. With the publisher it makes the id: `sypnia/sypnia-design-guide`                                                                                       |
| `version`                | yes      | a semantic version, `1.4.0` ([Versioning](https://skills.docs.sypnia.com/publish/versioning))                                                                                    |
| `publisher`              | yes      | the publisher's handle: a person or an organization                                                                                                                              |
| `license`                | yes      | an SPDX identifier, such as `MIT`                                                                                                                                                |
| `kind`                   | no       | `skill` (default) or `starter` ([Starter maps](https://skills.docs.sypnia.com/skills/starter-maps))                                                                              |
| `works-with`             | no       | `claude-code`, `cursor`, `sypnia-agent`, `any` (default `any`)                                                                                                                   |
| `languages`              | no       | the languages the skill can talk to a person in, such as `[en, es]`                                                                                                              |
| `requires.skills`        | no       | other skills it needs, with a version range: `sypnia/sypnia-cases: ^2.0.0`                                                                                                       |
| `requires.mcp`           | no       | MCP servers it expects to be connected already; it does not add them                                                                                                             |
| `touches`                | no       | what it may touch: `scripts`, `mcp`, `network`, `writes` ([What a skill may touch](https://skills.docs.sypnia.com/skills/what-a-skill-may-touch)). Empty means instructions only |
| `homepage`, `repository` | no       | where to read more, and where its source lives                                                                                                                                   |

## Rules

- **The folder name, `SKILL.md`'s `name` and `skill.yaml`'s `name` are the same.**
- **Text is UTF-8** with no hidden or direction-changing characters.
- **`SKILL.md` stays short**: at most 100 KB, and the description at most 1,024 characters. Long material goes in `references/`.
- **Nothing executable outside `scripts/`.** A file with an executable mark, or code meant to run, anywhere else is refused.
- **An agent that does not know `skill.yaml` ignores it**, so a Sypnia skill dropped into any agent's skills folder still works.
