# Versioning

> Which change is a patch, a minor or a major, why widening what a skill touches is always a major, and yanking.

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

For agents: Semver: patch = wording, typos, references fixed without changing what the agent does; minor = new or changed steps or checks, new references, new languages, narrower touches; major = touches widened (new script, MCP server, host, broader writes), requires a new major of another skill, renamed skill inputs/files other skills read, removed steps people rely on. Registry refuses a non-major version that widens touches (422 touches_need_major). A published version is immutable; republishing the same version only allowed while checking/refused. Yank: skills yank <id>@<version> --reason; unyank possible; nothing is ever deleted except by Sypnia for harmful content. Changelog: CHANGELOG.md in the package shown on the page.

Skills use semantic versions, `MAJOR.MINOR.PATCH`, with one rule that matters most: **a version that lets the skill touch more is always a new major**.

| Change                                                                             | Version                      |
| ---------------------------------------------------------------------------------- | ---------------------------- |
| Wording, typos, a reference fixed, without changing what the agent does            | **patch**: `1.4.0` → `1.4.1` |
| New or changed steps or checks, a new reference, a new language, touching **less** | **minor**: `1.4.1` → `1.5.0` |
| Touching **more**: a new script, a new MCP server, a new host, wider `writes`      | **major**: `1.5.0` → `2.0.0` |
| Needing a new major version of another skill                                       | **major**                    |
| Removing steps people rely on, or renaming files other skills read                 | **major**                    |

The registry compares each version's `touches` with the version before it. A patch or a minor that widens them is refused with `422 touches_need_major`. Because `skills update` stays inside your range, an update can never make a skill touch more without you seeing it.

## Published versions do not change

Once a version is `listed`, its package never changes. To fix something, publish a new version. While a version is `checking` or `refused`, you can publish it again with the same number.

## Yanking

```bash
npx @sypnia/skills yank laespiga/espiga-pos-import@1.2.0 --reason "Reads prices with the wrong decimal mark; use 1.2.1"
```

A yanked version is no longer chosen for new installs. Lock files that hold it keep working and show your reason. `skills unyank` brings it back. Versions are never deleted by their publishers; only Sypnia removes a version, when it is harmful ([Security](https://skills.docs.sypnia.com/security)).

## A changelog

A `CHANGELOG.md` in the package is shown on the skill's page and in `skills update`, next to what the registry sees changed in the steps and in `touches`.
