docs: update plugin install references for ClawHub-first default

OpenClaw now tries ClawHub before npm for bare plugin specs.
Update install examples and guidance across:
- building-plugins.md: intro and publish step
- sdk-setup.md: publishing section with clawhub:/npm: prefix examples
- tools/plugin.md: CLI reference table
- community.md: submission guidance and quality bar
This commit is contained in:
Vincent Koc
2026-03-22 11:58:01 -07:00
parent 6d9d9319b2
commit dbf3dd6559
4 changed files with 31 additions and 16 deletions

View File

@@ -13,8 +13,10 @@ read_when:
Plugins extend OpenClaw with new capabilities: channels, model providers, speech,
image generation, web search, agent tools, or any combination.
You do not need to add your plugin to the OpenClaw repository. Publish on npm
and users install with `openclaw plugins install <npm-spec>`.
You do not need to add your plugin to the OpenClaw repository. Publish to
[ClawHub](/tools/clawhub) or npm and users install with
`openclaw plugins install <package-name>`. OpenClaw tries ClawHub first and
falls back to npm automatically.
## Prerequisites
@@ -105,13 +107,14 @@ and provider plugins have dedicated guides linked above.
<Step title="Test and publish">
**External plugins:**
**External plugins:** publish to [ClawHub](/tools/clawhub) or npm, then install:
```bash
npm publish
openclaw plugins install @myorg/openclaw-my-plugin
```
OpenClaw checks ClawHub first, then falls back to npm.
**In-repo plugins:** place under `extensions/` — automatically discovered.
```bash