# What a skill may touch

> The manifest's touches, the four labels, and what is checked so a skill cannot hide what it does.

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

For agents: touches in skill.yaml: scripts (paths under scripts/ the agent may run), mcp (servers the skill adds: name + url), network (hosts its steps or scripts reach), writes (path globs its steps write). Labels: Instructions only (all empty except writes), Runs scripts, Adds MCP servers, Reaches the network (several can show). Checked at publish: no executable or code outside scripts/, every script listed, every URL in SKILL.md/references/scripts matches a declared host (documentation links allowed in a list of docs hosts or marked), mcp servers only via touches.mcp. Shown before install; skills add asks for a yes when a skill has scripts, MCP or network (--yes only for instructions-only in CI with --frozen). Install never runs anything. Widening touches requires a major version.

Every skill declares, in `skill.yaml`, what it may touch beyond being read. The registry checks the declaration against the files, and you see it before you install.

## The four parts of `touches`

| Part      | What it lists                                                | Example                                                       |
| --------- | ------------------------------------------------------------ | ------------------------------------------------------------- |
| `scripts` | files in `scripts/` the agent may run                        | `scripts/convert.py`                                          |
| `mcp`     | MCP servers the skill adds to your agent, with their address | `{ name: sypnia-design, url: https://mcp.design.sypnia.com }` |
| `network` | hosts the steps or the scripts reach                         | `api.open-meteo.com`                                          |
| `writes`  | where in the project the steps write                         | `design/**`, `migrations/**`                                  |

## The labels

| Label                   | When it shows                            | What it means for you                                      |
| ----------------------- | ---------------------------------------- | ---------------------------------------------------------- |
| **Instructions only**   | `scripts`, `mcp` and `network` are empty | the skill is text your agent reads; it adds nothing to run |
| **Runs scripts**        | `scripts` is not empty                   | your agent may run those files; it asks you first          |
| **Adds MCP servers**    | `mcp` is not empty                       | your agent gets new tools from those servers               |
| **Reaches the network** | `network` is not empty                   | the steps or scripts talk to those hosts                   |

A skill can show several labels. `writes` never changes the label; it tells you, and your agent, where to expect changes.

## What is checked

When a version is published, the registry refuses it if:

- a file outside `scripts/` is executable or holds code meant to run;
- a file in `scripts/` is not listed in `touches.scripts`;
- an address in the files is not a declared host (links to documentation are allowed and shown);
- the skill adds an MCP server anywhere but in `touches.mcp`;
- the version **widens** `touches` without being a new major version ([Versioning](https://skills.docs.sypnia.com/publish/versioning)).

## What happens on install

- **Installing runs nothing.** Files are written; no script, hook or command runs.
- **A yes for anything beyond instructions.** `skills add` shows the labels and the exact scripts, servers and hosts, and asks. In CI, `skills install --frozen` installs only what the lock file already holds, so nothing new is ever accepted there.
- **Your agent still asks.** Sypnia Agent asks before running a skill's script the first time and runs it in its sandbox; adding the servers of `touches.mcp` follows your agent's own rules.
