CLI reference

PromptDock CLI

One command puts a reviewed, versioned skill folder into your coding agent. Every file is checksum-verified before anything is written, and installs are all-or-nothing.

Install a skill

npx promptdock@latest install someone/their-skill

Needs Node 18 or newer and a Prompt Dock account. The first run signs you in through the browser — if you are creating the account then, have your inbox open, because it confirms by email before the terminal continues.

Latest published version: 1.2.0.

Commands

CommandWhat it does
install <handle>/<slug>Install a skill into an agent. Picks the tool and scope interactively, or takes --target and --dir.
updateUpdate installed skills. One package failing does not stop the rest.
uninstall <handle>/<slug>Remove a skill. Only files the install receipt owns are deleted.
listWhat is installed, where, and at which version.
loginAuthenticate. Opens a browser and pairs with a code.
logoutRevoke this machine's token server-side, then clear it locally.
whoamiWhich account this machine is signed in as.

Run promptdock <command> --help for the flags on any one of them.

Exit codes

Stable across releases — scripts and CI can depend on them. They are never renumbered.

CodeNameMeaning
0OKSuccess.
1USAGEBad flags or arguments, or a non-interactive run missing --target/--dir/-y.
2AUTHNot logged in, or the stored token was rejected.
3DENIEDThe server refused: tier, daily cap, rate limit, version floor, or not found — and a package this CLI is too old to install.
4INTEGRITYThe server sent something impossible: a checksum mismatch, an unsafe path, or a manifest beyond this CLI's safety fuses. Nothing was written.
5IOFilesystem: permissions, disk space, or a directory that already exists.
6NETWORKCould not reach the API.
130INTERRUPTCtrl-C during an interactive picker (128 + SIGINT, the shell convention).

Upgrading

There are two separate version gates and they differ in blast radius. A package can need a newer CLI than yours — only that package is refused, and everything else keeps working. Separately, the API enforces a minimum CLI version for wire-breaking changes; below it, every command fails, including login.

The same upgrade fixes both. Using npx promptdock@latest means you are never below either gate.

Installs are latest-only. There is no version pinning for a skill — a new approved version can land between two runs of the same pipeline. The per-file checksums verify what the server sent; they do not make a CI run reproducible.

When something goes wrong

Every named error the CLI prints carries a link to the error reference, with what happened, why, and what to do about it. Publishing your own skill is covered in the publishing guide.