* fix(plugins): allow reloads to wait for long-running work * test(plugins): await reload drain readiness without polling * test(sessions): await resource retirement before reopening cleanup fixtures
9.1 KiB
summary, read_when, title, sidebarTitle
| summary | read_when | title | sidebarTitle | |||
|---|---|---|---|---|---|---|
| CLI reference for `openclaw plugins` (init, build, validate, list, install, reload, marketplace, uninstall, enable/disable, doctor) |
|
Plugins CLI | Plugins |
openclaw plugins
Manage Gateway plugins, hook packs, and compatible bundles.
End-user guide for installing, enabling, and troubleshooting plugins. Quick examples for install, list, update, uninstall, and publishing. Bundle compatibility model. Manifest fields and config schema. Security hardening for plugin installs.Commands
openclaw plugins list [--enabled] [--verbose] [--json]
openclaw plugins search <query> [--limit <n>] [--json]
openclaw plugins install <path-or-spec> [--link] [--force] [--pin] [--no-enable] [--accept-capabilities] [--acknowledge-install-policy-warning] [--marketplace <source>]
openclaw plugins inspect <id> [--runtime] [--json]
openclaw plugins inspect --all [--runtime] [--json]
openclaw plugins info <id> # alias for inspect
openclaw plugins enable <ids...> [--accept-capabilities]
openclaw plugins disable <ids...>
openclaw plugins reload <ids...> [--wait] [--accept-capabilities] [--json]
openclaw plugins uninstall <ids...> [--dry-run] [--keep-files] [--force]
openclaw plugins update <ids-or-npm-specs...> | --all [--dry-run]
openclaw plugins registry [--refresh] [--json]
openclaw plugins doctor [--json]
openclaw plugins init <id> [--name <name>] [--type tool|provider|feature] [--directory <path>]
openclaw plugins build [--root <path>] [--entry <path>] [--check]
openclaw plugins validate [--root <path>] [--entry <path>] [--json]
openclaw plugins pack [--root <path>] [--out <file.tgz>] [--json]
openclaw plugins marketplace entries [--offline] [--feed-profile <name>] [--json]
openclaw plugins marketplace list <source> [--json]
openclaw plugins marketplace refresh [--feed-profile <name>] [--expected-sha256 <sha256>] [--json]
For slow install, inspect, uninstall, or registry-refresh investigation, run the
command with OPENCLAW_PLUGIN_LIFECYCLE_TRACE=1. The trace writes phase timings
to stderr and keeps JSON output parseable. See Debugging.
Native OpenClaw plugins ship openclaw.plugin.json with an inline JSON Schema (configSchema, even if empty). Compatible bundles use their own bundle manifests instead.
plugins list shows Format: openclaw or Format: bundle. Verbose list/info output also shows the bundle subtype (agent (Agent Plugins), codex, claude, or cursor) plus detected bundle capabilities.
Plugins pages
This page is an index. openclaw plugins is documented on six pages, one per
reader job. Open the page that matches your task.
| Page | Read it when |
|---|---|
| Author plugins | You are scaffolding, building, validating, or packing a plugin project. |
| Install plugins | You are installing from ClawHub, npm, git, a path, an archive, or a marketplace. |
| List installed plugins | You want the installed inventory, discovery diagnostics, or the plugin index. |
| Uninstall and update plugins | You are removing or reloading a plugin, or updating its version and source. |
| Inspect and diagnose plugins | You need plugin identity, runtime registrations, load errors, or registry state. |
| Marketplace feeds | You are browsing, listing, or refreshing a marketplace or hosted signed feed. |
Where each section moved
Every section anchor from the previous single-page version keeps its id here,
so an existing link such as /cli/plugins#registry still resolves. Each entry
points at the page that now holds the content.
- Author
- Feature scaffold and artifacts
- Provider scaffold
- Install
- Config includes and invalid-config repair
--forceconfirmation and reinstall vs update--pinscope--acknowledge-install-policy-warning- ClawHub Security Audit
- Hook packs and npm specs
- Git repositories
- Archives
- Marketplace shorthand
- Marketplace sources
- Remote marketplace rules
- List
--enabled--verbose--json- Plugin index
- Reload
- Uninstall
- Update
- Resolving plugin id vs npm spec
- Beta channel updates
- Existing plugin source choices
- Version checks and integrity drift
--acknowledge-install-policy-warningon update- ClawHub Security Audit on update
- Inspect
- Doctor
- Registry
- Marketplace
Related
- Building plugins
- CLI reference
- ClawHub
- ClawHub CLI - standalone registry commands
- ClawHub publishing - owners, scopes, and release review