Skip to content

Commands & flags

Reference for the shipped @elsai/pm-skills CLI (0.1.x). All server calls are read-only GETs.

Global flags

FlagEffect
-v, --versionPrint CLI version
-h, --helpHelp
--jsonMachine-readable JSON
--quietSuppress progress
--profile <name>User-config profile
--server <url>API base URL
--api-key <key>API key override
--project <id>Project id override
--env <name>Optional environment label (echoed; not a skill release gate)
--insecureAllow http:// (local only)

Commands

CommandPurpose
loginStore credential after whoami validation
logoutRemove stored profile credential
whoamiVerify key and print identity
init [--force] [--agent] [--scope]Write .pm-skills.json
listEffective skill set + sync hints
search <query> [--marketplace]Search resolvable set / marketplace
preview <name> [--version] [--diff]Render skill from server
pull [--agent] [--scope] [--frozen] [--dry-run] [--force]Materialize + lockfile
statusDrift report (CI exit codes)
update [name] [--all] [--yes] [--to <sha>]Advance / roll back pins

Config files

PathRole
~/.pm-skills/config.jsonCredentials per profile (0600)
.pm-skills.jsonRepo project binding (commit)
pm-skills.lock.jsonPinned SHAs (commit)

Environment variables

PM_SKILLS_API_KEY · PM_SKILLS_SERVER · PM_SKILLS_PROJECT · PM_SKILLS_ENV · PM_SKILLS_PROFILE

Copyright © 2026 elsai foundry.