# Quickstart: publish a skill

> Write a skill, check it, publish it privately for your organization, and install it.

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

For agents: Publish quickstart (Marta, a developer in the laespiga organization): npx @sypnia/app login → npx @sypnia/skills init espiga-pos-import (SKILL.md + skill.yaml + references/) → edit steps, declare scripts/convert.py in touches.scripts → skills check (format, manifest matches files, hidden characters, secrets) → skills publish --private → automatic checks, signed, listed for the organization only → teammates add laespiga/espiga-pos-import. Public listing: skills publish (without --private) waits for human review.

Marta is a developer who helps Ana. La Espiga's point-of-sale exports a spreadsheet of products and prices every night, and Marta wants any agent on the team to know how to import it. At the end, `laespiga/espiga-pos-import` is a private skill of the La Espiga organization.

### 1. Sign in and start the skill

```bash
npx @sypnia/app login
npx @sypnia/skills init espiga-pos-import
```

**You should see:**A folder `espiga-pos-import/` with `SKILL.md`, `skill.yaml` and an empty `references/`.

### 2. Write it

In `SKILL.md`, the description says when to use the skill («when the person mentions the point-of-sale export, prices from the till or `ventas.csv`»), and the steps say how: read the export, match products by code, write a migration in Sypnia Data, show the changes before applying them. Marta adds a small converter, `scripts/convert.py`, and declares it:

`espiga-pos-import/skill.yaml`

```yaml
name: espiga-pos-import
version: 1.0.0
publisher: laespiga
license: MIT
touches:
  scripts: [scripts/convert.py]
  writes: [migrations/**]
requires:
  skills:
    sypnia/sypnia-data: ^3.0.0
```

### 3. Check it

```bash
npx @sypnia/skills check espiga-pos-import
```

**You should see:**`✓ format · ✓ manifest matches files · ✓ no hidden characters · ✓ no secrets · label: Runs scripts`

### 4. Publish it for the organization

```bash
npx @sypnia/skills publish espiga-pos-import --private
```

The registry runs the same checks, signs the version and lists it for La Espiga's members only. Without `--private`, the skill is public and waits for a reviewer before it is listed ([Publishing](https://skills.docs.sypnia.com/publish/publishing)).

### 5. Install it

```bash
npx @sypnia/skills add laespiga/espiga-pos-import
```

Because the skill runs a script, the command shows the script's name and asks before installing. Installing never runs it; the agent asks before running it, the first time, in its sandbox.
