All commands support --json for machine-readable output and --scope <global|project> for explicit scope selection (auto-detected when omitted). Use --config <path> to override the config file location.
| Code | Meaning |
|---|---|
0 |
Success |
2 |
Strict policy failure (sync --strict) |
| non-zero | Runtime or validation error |
Register a new skill source.
| Flag | Default | Description |
|---|---|---|
--kind |
"" |
Source type: git, dir, or clawhub |
--branch |
"main" |
Git branch to track |
--trust-tier |
"review" |
Trust tier: review, trusted, or untrusted |
skillpm source add my-repo https://github.com/org/skills.git --kind git
skillpm source add hub https://clawhub.ai/ --kind clawhubList all configured sources.
skillpm source listFetch latest metadata from one or all sources.
skillpm source update # update all
skillpm source update my-repo # update oneRemove a source from the config.
skillpm source remove my-repo| Flag | Default | Description |
|---|---|---|
--source |
"" |
Restrict search to a specific source |
skillpm search "code-review"
skillpm search "test" --source clawhubInstall one or more skills. Supports source-qualified refs and direct Git URLs.
Dependencies declared in SKILL.md frontmatter are resolved and installed automatically.
| Flag | Default | Description |
|---|---|---|
--force |
false |
Bypass medium-severity security findings |
--lockfile |
"" |
Path to skills.lock |
skillpm install my-repo/code-review
skillpm install clawhub/steipete/code-review@^1.0
skillpm install https://github.com/anthropics/skills/tree/main/skills/skill-creator --forceRemove installed skills from state and disk.
| Flag | Default | Description |
|---|---|---|
--lockfile |
"" |
Path to skills.lock |
skillpm uninstall my-repo/code-reviewUpgrade specific skills or all installed skills to latest versions.
| Flag | Default | Description |
|---|---|---|
--force |
false |
Bypass medium-severity security findings |
--lockfile |
"" |
Path to skills.lock |
skillpm upgrade # upgrade all
skillpm upgrade my-repo/code-review # upgrade onePush installed skills into an agent's native skills/ directory.
| Flag | Default | Description |
|---|---|---|
--agent |
"" |
Target agent name (required unless --all) |
--all |
false |
Inject into all enabled agents |
skillpm inject --agent claude
skillpm inject --agent codex my-repo/code-review
skillpm inject --allRun the full sync pipeline: update sources → upgrade skills → re-inject agents.
| Flag | Default | Description |
|---|---|---|
--dry-run |
false |
Show planned actions without mutating state |
--strict |
false |
Exit 2 if any risk items are present |
--force |
false |
Bypass medium-severity security findings |
--lockfile |
"" |
Path to skills.lock |
skillpm sync --dry-run # preview changes
skillpm sync # apply changes
skillpm sync --strict --json # CI gateDisplay a compact summary of the current scope, health, installed skill count, configured sources, and enabled adapters.
skillpm status
skillpm status --jsonDetect and auto-fix environment drift. Runs 7 checks in dependency order. Idempotent — safe to run repeatedly.
skillpm doctor
skillpm doctor --jsonSee Self-Healing Doctor for check details.
The following command groups were removed in v4.0.0 and are not available in
current builds:
memoryleaderboardschedule
Use skillpm search, direct Git URL installs, and manual or external
automation around skillpm sync instead.
Create a .skillpm/skills.toml project manifest in the current directory.
cd ~/myproject
skillpm initSee Project-Scoped Skills for the full workflow.
Create a new skill directory with a template SKILL.md.
| Flag | Default | Description |
|---|---|---|
--dir |
. |
Parent directory for the skill |
--template |
default |
Template: default, prompt, script |
skillpm create my-skill
skillpm create my-prompt --template prompt
skillpm create my-script --template script --dir ~/skillsPublish a skill from a local directory to a ClawHub registry.
| Flag | Default | Description |
|---|---|---|
--source |
clawhub |
Registry source name |
--version |
"" |
Version to publish (default: from SKILL.md or 0.1.0) |
Requires the CLAWHUB_TOKEN environment variable.
skillpm publish ./my-skill --source clawhub --version 1.0.0
skillpm publish .Create, list, and install named groups of skills defined in the project manifest.
Create a named bundle in the project manifest.
skillpm bundle create web-dev clawhub/react clawhub/typescript clawhub/eslintList all bundles defined in the project manifest.
skillpm bundle list
skillpm bundle list --jsonInstall all skills in a bundle.
| Flag | Default | Description |
|---|---|---|
--force |
false |
Bypass medium-severity security findings |
--lockfile |
"" |
Path to skills.lock |
skillpm bundle install web-dev
skillpm bundle install web-dev --forceShow all installed skills with version and scope information.
skillpm list
skillpm list --json
skillpm list --scope globalUpdate the skillpm binary.
| Flag | Default | Description |
|---|---|---|
--channel |
stable |
Release channel |
skillpm self update
skillpm self update --channel betaskillpm version
skillpm version --json