# Codebase

> Where the registry, the command line, the SDK and the official skills live.

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

For agents: Repos (in Sypnia Git, mirrored to GitHub): sespinosav/sypnia-registry: crates/registry (axum API, MCP), crates/checker, crates/signer, crates/unpack, crates/search, packages/skills (@sypnia/skills CLI + SDK, TypeScript), spec/openapi.yaml, spec/mcp.json, spec/skill.schema.json, spec/lock.schema.json, cases/ (its own map: install-skill, publish-version, review-version, yank-version, report-skill), compose.yaml. sespinosav/sypnia-skills: plugins/sypnia/skills/<name>/, .claude-plugin/marketplace.json, .cursor-plugin/marketplace.json, starters, tests/ (tasks each official skill must pass).

## `sespinosav/sypnia-registry`

| Path              | What it is                                                                                                   |
| ----------------- | ------------------------------------------------------------------------------------------------------------ |
| `crates/registry` | the API and the MCP server                                                                                   |
| `crates/unpack`   | safe unpacking of untrusted archives                                                                         |
| `crates/checker`  | the automatic checks                                                                                         |
| `crates/signer`   | hashes and signatures, with a KMS or a key-file back end                                                     |
| `crates/search`   | search on Postgres                                                                                           |
| `packages/skills` | `@sypnia/skills`: the command line and the SDK                                                               |
| `spec/`           | `openapi.yaml`, `mcp.json`, `skill.schema.json` (the manifest), `lock.schema.json` (the lock file)           |
| `cases/`          | the registry's own map: `install-skill`, `publish-version`, `review-version`, `yank-version`, `report-skill` |
| `compose.yaml`    | a registry on your machine ([Docker](https://skills.docs.sypnia.com/self-hosting/docker))                    |

## `sespinosav/sypnia-skills`

| Path                                                                 | What it is                                                    |
| -------------------------------------------------------------------- | ------------------------------------------------------------- |
| `plugins/sypnia/skills/<name>/`                                      | every official skill                                          |
| `plugins/sypnia/starters/<name>/`                                    | the official starter maps                                     |
| `.claude-plugin/marketplace.json`, `.cursor-plugin/marketplace.json` | the marketplace `sypnia` and its plugin `sypnia`              |
| `tests/`                                                             | the tasks each official skill must get right before a release |

Both repositories live in Sypnia Git with a mirror on GitHub.
