Open app
Use
On this page

skills.json

skills.json is the list of skills a repo depends on. Commit it. Anyone who clones the repo runs skills sync and gets the same set.

Shape#

skills init writes this file. skills pin and skills install update the top-level skills array.

skills.json
{
  "version": "1.0",
  "agents": ["cursor", "claude"],
  "skills": [
    {
      "namespace": "@payments",
      "name": "deploy",
      "version": "2.3.1",
      "pinned": true
    },
    {
      "namespace": "@payments",
      "name": "review",
      "channel": "prod"
    }
  ]
}

Fields#

FieldMeaning
versionManifest version string. skills init writes 1.0.
skillsThe list skills sync installs.
skills[].namespaceOwner, including the @.
skills[].nameSkill name.
skills[].versionExact version. Used when channel is absent.
skills[].channelFollow dev, staging, prod, or another channel name. Sync ignores version when this is set.
skills[].pinnedRecorded on the entry. Sync still follows channel when that field is set.
skills[].tierOptional always-on, core, or domain.
agentsclaude, cursor, and/or codex. Sync uses this when you do not pass --agent.

What sync does#

For each entry, sync calls install. A channel entry follows that channel. An entry without a channel installs version. Failures are printed and sync continues. If a skill was deleted or made private, remove it from the file.

Layers#

skills sync reads layers and merges them with the top-level skills array. A layer is an object with scope and skills, or a path to a JSON file of that shape. Paths resolve relative to the skills.json file. A missing file is a warning. Sync continues with the rest.

skills.json
{
  "version": "1.0",
  "layers": [
    "../org.json",
    { "scope": "team", "skills": [{ "namespace": "@payments", "name": "review", "channel": "prod" }] }
  ],
  "skills": [
    { "namespace": "@payments", "name": "deploy", "version": "2.3.1", "pinned": true }
  ]
}

Scope order, low to high, is local, user, dir, repo, team, org. A higher scope overrides the same skill from a lower scope. An explicit entry in the top-level skills array wins over every layer. Unknown scopes are ignored.

Skills PlaygroundHome · Docs · Pricing · Terms · Privacy