docs/clawhub/cli.md
Two command-line surfaces talk to ClawHub:
openclaw skills / openclaw plugins - discover, install, and update
packages for a local OpenClaw agent or Gateway.clawhub CLI - publisher workflows: login, publish, sync,
and transfer.openclaw skills search "calendar"
openclaw skills install @owner/<slug>
openclaw skills install @owner/<slug> --version <version> --global
openclaw skills update @owner/<slug>
openclaw skills update --all --acknowledge-clawhub-risk
openclaw skills verify @owner/<slug> --card
openclaw plugins search "calendar"
openclaw plugins install clawhub:<package>
openclaw plugins install clawhub:<package> --acknowledge-clawhub-risk
openclaw plugins update <id-or-npm-spec>
openclaw plugins update --all
Skill installs target the active workspace skills/ directory by default; add
--global for the shared managed skills directory. Plugin installs need the
explicit clawhub: prefix to force ClawHub resolution over npm, git, or a
local path. Full flag reference: openclaw skills and
openclaw plugins.
OpenClaw checks a release's ClawHub trust state before downloading it, for both skills and plugins. Versioned releases use exact-release trust metadata; resolver-backed GitHub skills go through ClawHub's install resolver, which enforces scan and force-install policy before returning a pinned commit.
--acknowledge-clawhub-risk to continue
non-interactively.Install the standalone CLI once, then log in:
npm i -g clawhub
clawhub login
Publish a plugin package (folder path, GitHub repo owner/repo[@ref], or
tarball URL) with clawhub package publish:
clawhub package publish ./my-plugin --dry-run
clawhub package publish ./my-plugin
clawhub package publish your-org/[email protected]
Publish a skill folder with clawhub skill publish:
clawhub skill publish ./skills/review-helper
clawhub skill publish ./skills/review-helper --version 1.0.0 --owner your-org
Other maintenance commands:
clawhub sync --all # scan local skills, publish new/updated ones
clawhub package transfer @old-owner/package --to new-owner # move a plugin package to another publisher
clawhub skill rename old-slug new-slug # rename a published skill, redirect the old slug
clawhub explore --sort trending # browse the registry, sorted by trending
openclaw skills - local skill search, install, update, and
verificationopenclaw plugins - plugin search, install, update, and
inspection