From 6349af650240491c6f5980bedd7800a9521d91fb Mon Sep 17 00:00:00 2001 From: WJzz1 <1515065785@qq.com> Date: Tue, 2 Jun 2026 12:13:50 +0800 Subject: [PATCH] docs: add ClawHub CLI page (#89297) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: - Adds `docs/clawhub/cli.md` documenting OpenClaw skill/plugin ClawHub commands plus standalone ClawHub publish, sync, and transfer workflows. - PR surface: Docs +82. Total +82 across 1 file. - Reproducibility: not applicable. this is a docs-only missing-route repair rather than a runtime bug. Source ... rrent main lacks `docs/clawhub/cli.md` while navigation and existing docs already reference `/clawhub/cli`. Automerge notes: - PR branch already contained follow-up commit before automerge: docs: add ClawHub CLI page - PR branch already contained follow-up commit before automerge: fix(clawsweeper): address review for automerge-openclaw-openclaw-8929… Validation: - ClawSweeper review passed for head 11e071c344647687edd0dac32ad63133a468376e. - Required merge gates passed before the squash merge. Prepared head SHA: 11e071c344647687edd0dac32ad63133a468376e Review: https://github.com/openclaw/openclaw/pull/89297#issuecomment-4598332147 Co-authored-by: Wang-Yeah623 <205193123+Wang-Yeah623@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com> --- docs/clawhub/cli.md | 82 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 docs/clawhub/cli.md diff --git a/docs/clawhub/cli.md b/docs/clawhub/cli.md new file mode 100644 index 00000000000..c68a8a429e9 --- /dev/null +++ b/docs/clawhub/cli.md @@ -0,0 +1,82 @@ +--- +summary: "ClawHub CLI entry points for discovering, installing, publishing, and verifying OpenClaw skills and plugins." +read_when: + - You want to use ClawHub from the command line + - You want to install ClawHub skills or plugins through OpenClaw + - You want to publish ClawHub packages +title: "ClawHub CLI" +--- + +# ClawHub CLI + +OpenClaw has two command-line entry points for ClawHub: + +- `openclaw skills` and `openclaw plugins` install and manage ClawHub packages + inside OpenClaw. +- The standalone `clawhub` CLI handles publisher workflows such as login, + publish, transfer, and sync. + +## Discover and install + +Use OpenClaw commands when you want to install or update packages for a local +OpenClaw agent or Gateway. + +```bash +openclaw skills search "calendar" +openclaw skills install +openclaw skills update +openclaw skills verify + +openclaw plugins search "calendar" +openclaw plugins install clawhub: +openclaw plugins update +``` + +Skill installs target the active workspace `skills/` directory by default. Add +`--global` to install into the shared managed skills directory. + +Plugin installs use the `clawhub:` prefix when you want ClawHub resolution +instead of npm or another install source. + +## Publish and maintain + +Install the standalone ClawHub CLI for publisher workflows: + +```bash +npm i -g clawhub +clawhub login +``` + +Publish plugin packages with `clawhub package publish`: + +```bash +clawhub package publish your-org/your-plugin --dry-run +clawhub package publish your-org/your-plugin +clawhub package publish your-org/your-plugin@v1.0.0 +``` + +Publish skill folders with `clawhub skill publish`: + +```bash +clawhub skill publish ./skills/review-helper +clawhub skill publish ./skills/review-helper --version 1.0.0 +``` + +When local skill scan state or package ownership needs maintenance, use the +relevant standalone command: + +```bash +clawhub sync --all +clawhub package transfer @old-owner/package --to new-owner +``` + +## Related + +- [`openclaw skills`](/cli/skills) - local skill search, install, update, and + verification +- [`openclaw plugins`](/cli/plugins) - plugin search, install, update, and + inspection +- [ClawHub publishing](/clawhub/publishing) - owner scope, release validation, + and review flow +- [Creating skills](/tools/creating-skills) - skill authoring and publish flow +- [Building plugins](/plugins/building-plugins) - plugin package authoring