openclaw plugins.
Typical workflow: find a package, install it from ClawHub, npm, git, or a
local path, let the managed Gateway auto-restart (or restart it manually),
then verify the plugin’s runtime registrations.
List and search plugins
--json for scripts:
plugins list is a cold inventory check: what OpenClaw can discover from
config, manifests, and the persisted plugin registry. It does not prove an
already-running Gateway imported the plugin runtime. JSON output includes
registry diagnostics and each plugin’s dependencyStatus (whether declared
dependencies/optionalDependencies resolve on disk).
plugins search queries ClawHub for installable plugin packages and prints
an install hint (openclaw plugins install clawhub:<package>) per result.
Enable and disable plugins
enable after install.
Install plugins
clawhub:, npm:, git:, or
npm-pack: for deterministic source selection.
Use --force only to overwrite an existing install target from a different
source. For routine upgrades of a tracked npm, ClawHub, or hook-pack install,
use openclaw plugins update instead; --force is not supported with
--link.
Restart and inspect
A running managed Gateway with config reload enabled restarts automatically after installing, updating, or uninstalling plugin code. If the Gateway is unmanaged or reload is disabled, restart it yourself before checking live runtime surfaces:inspect --runtime loads the plugin module and proves it registered runtime
surfaces (tools, hooks, services, Gateway methods, HTTP routes, plugin-owned
CLI commands). Plain inspect and list are cold manifest/config/registry
checks only.
Update plugins
@beta) and exact pinned versions carry over to later update <plugin-id>
runs.
openclaw plugins update --all is the bulk maintenance path. It still
respects ordinary tracked install specs, but trusted official OpenClaw
plugin records sync to the current official catalog target instead of
staying pinned to a stale exact official package; when update.channel is
beta, that sync prefers the beta release line. Use a targeted
update <plugin-id> to keep an exact or tagged official spec untouched.
For npm installs, pass an explicit package spec to switch the tracked
record:
openclaw plugins for the exact fallback and
pinning rules.
Uninstall plugins
plugins.load.paths entries when
applicable. The managed install directory is removed unless you pass
--keep-files. A running managed Gateway restarts automatically when the
uninstall changes plugin source.
In Nix mode (OPENCLAW_NIX_MODE=1), plugin install, update, uninstall,
enable, and disable are all disabled; manage those choices in the Nix source
for the install instead.
Choose a source
| Source | Use when | Example |
|---|---|---|
| ClawHub | You want OpenClaw-native discovery, scan summaries, versions, and hints | openclaw plugins install clawhub:<package> |
| git | You want a branch, tag, or commit from a repository | openclaw plugins install git:github.com/<owner>/<repo>@<ref> |
| local path | You are developing or testing a plugin on the same machine | openclaw plugins install --link ./my-plugin |
| marketplace | You are installing a Claude-compatible marketplace plugin | openclaw plugins install <plugin> --marketplace <source> |
| npm pack | You are proving a local package artifact through npm install semantics | openclaw plugins install npm-pack:<path.tgz> |
| npmjs.com | You already ship JavaScript packages or need npm dist-tags/private registry | openclaw plugins install npm:@acme/openclaw-plugin |
plugins.load.paths instead of installing them
with plugins install.
Publish plugins
ClawHub is the primary public discovery surface for OpenClaw plugins. Publish there when you want users to find plugin metadata, version history, registry scan results, and install hints before they install.openclaw.plugin.json) plus
package.json metadata before publishing:
package.json
- ClawHub publishing explains owners, scopes, releases, review, package validation, and package transfer.
- Building plugins shows the full plugin
package shape (including
openclaw.plugin.json) and first publish workflow. - Plugin manifest defines native plugin manifest fields.
clawhub: or npm: prefix to force one source.
Related
- Plugins - install, configure, restart, and troubleshoot
openclaw plugins- full CLI reference- Community plugins - public discovery and ClawHub publishing
- ClawHub - registry CLI operations
- Building plugins - create a plugin package
- Plugin manifest - manifest and package metadata