mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
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 head11e071c344. - Required merge gates passed before the squash merge. Prepared head SHA:11e071c344Review: 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>
83 lines
2.4 KiB
Markdown
83 lines
2.4 KiB
Markdown
---
|
|
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 <slug>
|
|
openclaw skills update <slug>
|
|
openclaw skills verify <slug>
|
|
|
|
openclaw plugins search "calendar"
|
|
openclaw plugins install clawhub:<package>
|
|
openclaw plugins update <id-or-npm-spec>
|
|
```
|
|
|
|
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
|