skip to content

After installing an OpenClaw plugin, `openclaw plugins list` shows it but live chats never use it; how do you find out why?

level: seniorimportance: should knowfreq 6%

answer

  1. list reads cold state
  2. --runtime loads in the CLI
  3. ask the running Gateway
  4. allowlist, enablement, hook permissions
  5. reload after source edits

basics

~20 s

In OpenClaw 2026.9.9, plugins list reads cold config and manifests, not the running Gateway. Confirm the Gateway with openclaw gateway status --deep --require-rpc, check registrations with plugins inspect <id> --runtime --json, then check allowlist, enablement and hook permissions, and trigger the feature.

solid answer

~40 s

`openclaw plugins list` and plain `openclaw plugins inspect` read config, manifest and registry state; they do not prove a running Gateway imported the code. `openclaw plugins inspect <id> --runtime --json` loads the plugin in the CLI process and shows the tools, hooks and services it registers, and `openclaw gateway status --deep --require-rpc` confirms you are talking to the live Gateway. Then walk the policy: when `plugins.allow` is set the id must be in it, `plugins.deny` wins over everything, `plugins.entries.<id>.enabled` must not be false, and an install with missing required config is recorded disabled. Non-bundled conversation hooks also need `hooks.allowConversationAccess`, and optional tools need `tools.allow`. After editing source, run `openclaw plugins reload <id>`; finally trigger the hook or tool and check its effect.

go deeper

for a junior

Recall that openclaw plugins list reads config files, so a listed plugin is not proof that the running Gateway is using it.

for a middle

Explain which commands read cold state, which load the plugin in the CLI, and which talk to the live Gateway, and how allow, deny and enabled interact.

for a senior

Diagnose in order: live Gateway, runtime registrations, policy, per-registration gates such as conversation access and optional tools, then a real triggered event.

for a principal

Build this into the team's rollout check: no plugin counts as deployed until a scripted runtime inspection and a real triggered event pass on the production Gateway.

## Cold state versus the running Gateway The OpenClaw Gateway is a long-running process; the `openclaw` CLI is a separate process that reads files. Most plugin commands answer from **cold state**: the config file, manifests and the persisted plugin registry. That explains the classic symptom: the plugin looks installed and enabled, yet chat traffic never touches it. The commands below describe OpenClaw 2026.9.9. | Command | Reads | Proves | | --- | --- | --- | | `openclaw plugins list` | config, manifests, registry | the plugin is known and enabled in config | | `openclaw plugins inspect <id>` | the same, for one plugin | manifest and registry are consistent | | `openclaw plugins inspect <id> --runtime --json` | loads the plugin in the CLI process | what it registers: tools, hooks, services, methods | | `openclaw gateway status --deep --require-rpc` | the live Gateway over RPC | you are reaching the running process | | `openclaw plugins doctor` | load errors, discovery, stale config | local checks only; it does not query the Gateway | Even `--runtime` is not proof: it shows what the code registers when the CLI loads it, while the Gateway may hold an older generation or have refused activation. The final check is always a real event through the live Gateway. ## Policy that keeps a plugin from loading - **`plugins.allow` is an exclusive allowlist.** If it is set and the id is missing, the plugin does not load, and its tools stay unavailable even when `tools.allow` includes `"*"`. - **`plugins.deny` wins** over the allowlist and over per-plugin enablement. - **`plugins.entries.<id>.enabled: false`** disables one plugin while keeping its config; `plugins.enabled: false` disables every plugin. - An install whose required config is missing is recorded **disabled**; add `plugins.entries.<id>.config`, then `openclaw plugins enable <id>`. - **Workspace-origin plugins** are not imported until explicitly enabled. ## Loaded but silent: registration gates A plugin can load and still never act, because individual registrations have their own gates: - A **hook-only plugin** should declare `activation.onCapabilities: ["hook"]` in its manifest so Gateway startup selects it. - **Conversation hooks** such as `before_agent_reply`, `before_prompt_build`, `llm_input` and `agent_end` need `plugins.entries.<id>.hooks.allowConversationAccess: true` for non-bundled plugins; the key belongs under `hooks`, not under the plugin's `config`. - A typed hook name passed to `api.registerHook(...)` instead of `api.on(...)` never fires; OpenClaw records a registration warning. - **Optional tools** are not exposed until the operator lists the tool or plugin id in `tools.allow`. - Two enabled plugins claiming one channel or tool produce duplicate-ownership diagnostics; compare them with `openclaw plugins list --enabled --verbose`. ## Broken at startup When an enabled managed plugin fails payload verification at startup, the Gateway quarantines that installed plugin root for the boot and keeps serving the others. `openclaw status --all`, `openclaw health` and `openclaw doctor` report it as `configured-unavailable`; fix or reinstall it, then restart the Gateway. Files owned by a different Unix user than the loading process are blocked as suspicious ownership; fix the ownership, then run `openclaw plugins registry --refresh`. ## The opposite surprise The same machinery can also load code you did not mean to run. When `plugins.allow` is unset and non-bundled plugins are discovered from the workspace or global plugin roots, startup logs `plugins.allow is empty; discovered non-bundled plugins may auto-load` with the ids it found. Treat that line as a prompt to inspect each listed plugin and then pin the trusted ones in `plugins.allow`, so the next diagnosis starts from an explicit list rather than whatever happened to be on disk. ## A diagnosis order 1. `openclaw gateway status --deep --require-rpc`: are you talking to the Gateway you think you are? 2. `openclaw plugins inspect <id> --runtime --json`: does the code register what you expect, and are there diagnostics? 3. Check `plugins.allow`, `plugins.deny`, `plugins.entries.<id>.enabled` and any missing config. 4. Check the registration gates: activation hints, `hooks.allowConversationAccess`, `api.on` versus `api.registerHook`, `tools.allow` for optional tools. 5. After source or manifest edits, run `openclaw plugins reload <id>`; ordinary config edits hot-reload under the default hybrid `gateway.reload.mode`. 6. Trigger the hook or call the tool from a real chat and check the effect, and `openclaw health` for quarantines.

  • Why is `openclaw plugins inspect <id> --runtime` not proof that the Gateway runs the plugin?
    `--runtime` loads the plugin into the inspecting CLI process and reports what it registers there. The Gateway is a separate long-running process that may hold an older generation, use different state paths or have refused activation. Trigger the hook or tool through the live Gateway to prove it.
  • What does the Gateway do when an enabled managed plugin fails payload verification at startup?
    It quarantines that installed plugin root for the boot and keeps serving the other plugins. `openclaw status --all`, `openclaw health` and `openclaw doctor` report it as `configured-unavailable`; fix or reinstall the plugin, then restart the Gateway.
  • Does changing a plugin's settings need a Gateway restart?
    Usually not. Under the default hybrid `gateway.reload.mode`, an edit to `plugins.entries.<id>.config` replaces the affected plugin instance and reruns its registration. A plugin can declare a restart policy that still requires a restart, and source or manifest edits need `openclaw plugins reload <id>`.

  • If plugins list shows it enabled, the running Gateway has loaded it.
  • inspect --runtime reports the running Gateway's live plugin state.
  • Adding "*" to tools.allow overrides an exclusive plugins.allow.
  • Every plugin config change needs a full Gateway restart.
  • openclaw plugins doctor checks what the running Gateway has loaded.

Assumes OpenClaw 2026.9.9; runtime inspection, plugins reload and the hook permission gates are recent and still changing.