The CLI is the skills command from packages/cli. It is not published to npm yet; see the Quickstart to run it from a checkout.
The CLI stores your server URL, API token, email and namespace in its config file (the skills-playground project in your user config directory). The default server is http://localhost:3000.
skills login
skills login [--email <email>] [--server <url>]
Registers you on the server and saves an API token. Prompts for your email if you leave it out, and always prompts for a namespace that starts with @. --server is saved and used by every later command.
skills init
skills init [--dir <path>]
Creates an empty skills.json in the directory (default .). Fails if one already exists.
skills publish
skills publish <path> [--version <semver>] [--visibility me|group|everyone]
Publishes the skill folder at <path> under your namespace. Reads name and description from the SKILL.md frontmatter and bundles scripts/ and references/. Prompts for a version if you leave it out. Fails if the version already exists.
Always pass
--visibility. The built-in default,private, is not a value the server accepts.
skills install
skills install <@namespace/name> [--version <semver>] [--channel <name>] [--agent claude|cursor|codex]
Downloads a version's bundle and writes it to <agent folder>/<name>/ in the current directory. --agent defaults to cursor. Without --version, installs the first version the server lists for the skill. --channel is not served yet; use --version.
skills sync
skills sync [--dir <path>] [--agent claude|cursor|codex]
Reads skills.json in the directory and runs install for every entry in skills. Entries in layers are ignored.
skills pin
skills pin <@namespace/name> <version>
Adds or updates the entry in ./skills.json with that exact version, sets "pinned": true and removes any channel. Creates the file if it does not exist.
skills promote
skills promote <@namespace/name> <version> <channel> [--require-evals]
Points the channel at the version, creating the channel if needed. With --require-evals, the server refuses unless a passing eval suite is recorded for that version. See Evals and the promote gate.
skills fork
skills fork <@namespace/name> [--as <name>]
Creates @your-namespace/<name> linked to the original. Prompts for the name if --as is left out. See Forks.
skills search
skills search [query] [--namespace <@ns>] [--limit <n>]
Searches the registry and ranks results by recorded invocations. Prints each skill's latest version and description. --limit defaults to 20. --tier is accepted but not applied yet.
skills eval
skills eval <path> [--version <semver>] [--runner mock]
Runs the cases in <path>/evals.yaml and exits with status 1 if any fail. Only the mock runner is implemented. See Evals and the promote gate.