You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bundled OpenClaw plugin (openclaw/) does not work out of the box on OpenClaw 2026.9.6. Two packaging fields required by the current OpenClaw manifest contract are missing, and together they cause install failure and/or silent no-op at startup:
package.json is missing openclaw.extensions → install is rejected outright.
openclaw.plugin.json is missing activation.onStartup → even when install succeeds, the plugin is never imported during Gateway startup, so its before_tool_call hook is never wired into tool dispatch.
Part 1 — package.json missing openclaw.extensions
Reproduction
$ openclaw plugins install ./openclaw --link --forcepackage.json missing openclaw.extensions; update the plugin package to includeopenclaw.extensions (for example ["./dist/index.js"]). Seehttps://docs.openclaw.ai/help/troubleshooting#plugin-install-fails-with-missing-openclaw-extensions
Suggested fix
"openclaw": {
"extensions": ["./index.ts"]
}
Part 2 — openclaw.plugin.json missing activation.onStartup
Per OpenClaw's manifest docs:
Omitting onStartup no longer startup-loads the plugin implicitly; use explicit activation metadata for startup … triggers.
Symptom chain (observed)
Gateway restart → plugin module is not imported at startup; register() never runs; no hook is registered.
openclaw plugins reload hot-reloads metadata and does import the module later — but hooks registered this way are not picked up by the hook runner instance the Gateway captured at startup (verified via module-load side effects: reload imports the module, yet the hook never fires for real tool calls).
Net effect: plugins list shows enabled, plugins inspect --runtime reports hookCount: 1, but before_tool_call never fires. The plugin looks installed while doing nothing.
Suggested fix
"activation": {
"onStartup": true
}
Verified end to end (with both fixes applied)
Gateway startup imports the module (register() runs in the Gateway PID)
before_tool_call fires on every exec
ls -la is rewritten to rtk ls -la silently (rc build returns exit 0 with RTK_REWRITE_HOST=openclaw, no duplicate approval prompt)
Output comes back in RTK compact format
Environment
rtk: develop branch @ 6d4b77e (and v0.50.0 release tarball for Part 1)
Host: OpenClaw 2026.9.6 (eb377ac), node v24.18.0, WSL2 / Linux x86_64
Bundled openclaw plugin fails to install/activate on OpenClaw 2026.9.6 due to missing openclaw.extensions in package.json and activation.onStartup in openclaw.plugin.json; fix and verification steps provided.
This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.
📁 Relevant files
openclaw/package.json
openclaw/openclaw.plugin.json
Suggested Actions
Add openclaw.extensions: ["./index.ts"] to openclaw/package.json
Add activation.onStartup: true to openclaw/openclaw.plugin.json
Activity
rtk-wshm-sync-bot commentedon Sep 30, 2026
🔍 Automated Triage
bughighSummary
Bundled openclaw plugin fails to install/activate on OpenClaw 2026.9.6 due to missing
openclaw.extensionsin package.json andactivation.onStartupin openclaw.plugin.json; fix and verification steps provided.📁 Relevant files
openclaw/package.jsonopenclaw/openclaw.plugin.jsonSuggested Actions
openclaw.extensions: ["./index.ts"]to openclaw/package.jsonactivation.onStartup: trueto openclaw/openclaw.plugin.jsonplugins reloadTriaged automatically by wshm · This is an automated analysis, not a human review.