CLI reference
Every skillzdrive command. Grouped by purpose.
On this page
- Global flags + environment
- Discover — search, show, discover, leaderboard
- Local drive — install, list, remove, link/unlink, scaffold
- Auth — login, logout, whoami, credits
- Workflows — sync, init, update, audit, run
- drive subcommand (hosted drive)
- updates subcommand
- collections subcommand
- webhooks subcommand
- Authoring — upload, scan
- Exit codes
Global flags + environment
SKILLZDRIVE_API_BASE— override API host. Defaults tohttps://www.skillzdrive.com.~/.skillzdrive/install_id— per-machine UUID sent asX-Skillzdrive-Install-Id. Generated on first run.--help/-h— on any command.--version/-V— print CLI version.
Discover
skillzdrive search <query>Anonymous ✓Search the public catalog. Anonymous requests rate-limited to 1/min.
skillzdrive search pdf
skillzdrive search "document" --limit 10Flags: --limit <n> (default 20, cap 50).
skillzdrive show <slug>Anonymous ✓Print metadata + download info for a single public skill.
skillzdrive show pdfskillzdrive discover <keywords>Login requiredBroader search across marketplace + GitHub, paginated 10 per page.
skillzdrive discover pdf
skillzdrive discover document --offset 10skillzdrive leaderboardLogin requiredTop 10 skills by the chosen sort dimension.
skillzdrive leaderboard
skillzdrive leaderboard --sort-by installs
skillzdrive leaderboard --sort-by ratingFlags: --sort-by executions|installs|rating (default executions).
Local drive (canonical + symlinks)
Manage what's on this machine and linked into this project. No server state.
skillzdrive install <source>Anonymous ✓Install a skill into the canonical drive and symlink into this project.
# By slug (uses SkillzDrive hosted artifact if available)
skillzdrive install pdf
# Direct GitHub
skillzdrive install github:anthropics/skills/skills/docx
skillzdrive install https://github.com/foo/bar
# Local path (BYO)
skillzdrive install ./my-skill
# Reinstall from the project's lockfile
skillzdrive install --frozenFlags: --agents claude,codex,gemini,goose,universal (auto-detected if omitted), --frozen.
skillzdrive list / lsAnonymous ✓List canonical-drive skills.
skillzdrive listskillzdrive remove <slug> / rmAnonymous ✓Remove the canonical copy (symlinks in projects become dangling — clean up with `unlink`).
skillzdrive remove pdfskillzdrive link <slug>Anonymous ✓Symlink an already-installed drive skill into this project without re-downloading.
skillzdrive link pdf --agents claude,codexskillzdrive unlink <slug>Anonymous ✓Remove this project's symlinks for a drive skill. Canonical copy untouched.
skillzdrive unlink pdfskillzdrive scaffold [name]Anonymous ✓Create a new skill author project in ./<name>/ following the agentskills.io spec.
skillzdrive scaffold my-new-skill
# → ./my-new-skill/{SKILL.md, scripts/hello.sh, references/, README.md}Auth + account
skillzdrive loginAnonymous ✓Store your API key in the OS keychain + claim your anonymous install_id for this account.
skillzdrive login --token sk_live_...
# Without --token, prompts interactively.skillzdrive logoutAnonymous ✓Clear the stored API key.
skillzdrive logoutskillzdrive whoamiAnonymous ✓Print install_id + auth status + (if authenticated) a round-trip key check.
skillzdrive whoamiskillzdrive creditsLogin requiredBalance, tier, monthly skill-call usage + limit, last 10 transactions.
skillzdrive creditsWorkflows
skillzdrive syncLogin requiredPull your entire hosted drive into the canonical local drive. Installs new, updates changed, skips unchanged.
skillzdrive syncskillzdrive init --defaultsAnonymous ✓Pull the SkillzDrive recommended starter set into this project. Zero signup.
skillzdrive init --defaults
skillzdrive init --defaults --agents claude,codexskillzdrive update [slugs...]Login requiredRe-fetch latest artifacts for listed skills, or all lockfile entries if none given.
skillzdrive update # all lockfile entries
skillzdrive update pdf docxskillzdrive auditLogin requiredVerify every lockfile entry is present on disk + check server for updates. Non-zero exit only on missing skills.
skillzdrive auditskillzdrive run <slug> <script> [args...]Login requiredExecute a skill script in the hosted E2B sandbox. Blocking — prints stdout/stderr on completion.
skillzdrive run pdf extract.sh -- input.pdf output.txt
# With stdin
skillzdrive run pdf process.sh --stdin "some input"
# Persistent sandbox session across calls
skillzdrive run pdf init.sh --reuse
skillzdrive run pdf step2.sh --session-id <from-previous-call>Flags: --stdin <str>, --session-id <id>, --reuse.
drive subcommand — hosted drive
skillzdrive drive list # list hosted drive
skillzdrive drive list --collection X # filter to named collection
skillzdrive drive add <slug> # import a marketplace skill or GitHub URL
skillzdrive drive remove <slug> # remove from hosted drive
skillzdrive drive toggle <slug> # flip enabled flag without removingupdates subcommand
skillzdrive updates list # pending updates for your drive
skillzdrive updates accept <slug> # apply the update (may charge credits)
skillzdrive updates dismiss <slug> # dismiss; no chargecollections subcommand
A collection is a named API key that scopes a subset of your drive. Publish one as a public marketplace to share with end-users.
skillzdrive collections list
skillzdrive collections create <name> # all-skills collection
skillzdrive collections create <name> --skills pdf,docx # scoped collection
skillzdrive collections create <name> --skills pdf --include-team --include-shared
skillzdrive collections update <name> --rename <newName>
skillzdrive collections update <name> --skills pdf,docx # replace skill list
skillzdrive collections add <name> <slug> # add one skill
skillzdrive collections remove <name> <slug> # remove one skill
skillzdrive collections publish-marketplace <name> # expose as /marketplace/collections/<name>.json
skillzdrive collections publish-marketplace <name> --unpublishCollection API keys
create prints the generated sk_live_* for the new collection exactly once — save it. That's the key the collection's end-user will use to access only the scoped subset of your drive.webhooks subcommand
Credit-alert webhook subscriptions. See the full Webhooks guide for payload + verification details.
skillzdrive webhooks list
skillzdrive webhooks create \
--event credits.threshold_hit \
--url https://example.com/hooks/skillzdrive \
--threshold 500
skillzdrive webhooks create \
--event credits.exhausted \
--url https://example.com/hooks/skillzdrive
skillzdrive webhooks delete <id>Authoring + info
skillzdrive upload <path>Login requiredUpload a local .zip or .skill file to your drive. Replicates the upload-ticket flow inline — no bash, no shell-history token exposure.
skillzdrive upload ./my-skill.zip
skillzdrive upload ./my-skill.zip --collection acme-teamskillzdrive scan [slug]Anonymous ✓Info about SkillzDrive's server-side security scans. Anonymous mode is an upsell prompt; authenticated mode points at your dashboard.
skillzdrive scan
skillzdrive scan pdfExit codes
| Code | Meaning |
|---|---|
| 0 | Success. |
| 1 | Generic failure (API error, validation, missing files, SHA mismatch, etc.). Inspect stderr for the error code. |
| <script exit> | run returns the script's exit code when the server reports one. |
Structured errors print to stderr with Error [code]: message plus an upsell URL when applicable. Pipe 2> to capture.