Bundles are not the same as native OpenClaw plugins. Native plugins run
in-process and can register any capability. Bundles are content packs with
selective feature mapping and a narrower trust boundary.
Why bundles exist
Many useful plugins are published in Codex, Claude, or Cursor format. Instead of requiring authors to rewrite them as native OpenClaw plugins, OpenClaw detects these formats and maps their supported content into the native feature set. You can install a Claude command pack or a Codex skill bundle and use it immediately.Install a bundle
Install from a directory, archive, or marketplace
<source> is a local marketplace path/repo or a git/GitHub source.Verify detection
Format: bundle plus a Bundle format: value of codex,
claude, or cursor.What OpenClaw maps from bundles
Not every bundle feature runs in OpenClaw today. Here is what works and what is detected but not yet wired.Supported now
| Feature | How it maps | Applies to |
|---|---|---|
| Skill content | Bundle skill roots load as normal OpenClaw skills | All formats |
| Commands | commands/ and .cursor/commands/ treated as skill roots | Claude, Cursor |
| Hook packs | OpenClaw-style HOOK.md + handler.ts layouts | Codex |
| MCP tools | Bundle MCP config merged into embedded OpenClaw settings; supported stdio and HTTP servers loaded | All formats |
| LSP servers | Claude .lsp.json and manifest-declared lspServers merged into embedded OpenClaw LSP defaults | Claude |
| Settings | Claude settings.json imported as embedded OpenClaw defaults | Claude |
Skill content
- Bundle skill roots load as normal OpenClaw skill roots.
- Claude
commands/roots are treated as additional skill roots. - Cursor
.cursor/commands/roots are treated as additional skill roots.
Hook packs
Bundle hook roots work only when they use the normal OpenClaw hook-pack layout:HOOK.md plus handler.ts or handler.js. Today this is primarily
the Codex-compatible case.
MCP for embedded OpenClaw
- Enabled bundles can contribute MCP server config.
- OpenClaw merges bundle MCP config into the effective embedded OpenClaw
settings as
mcpServers. - OpenClaw exposes supported bundle MCP tools during embedded OpenClaw agent turns by launching stdio servers or connecting to HTTP servers.
- The
codingandmessagingtool profiles include bundle MCP tools by default; usetools.deny: ["bundle-mcp"]to opt out for an agent or gateway. - Project-local embedded agent settings still apply after bundle defaults, so workspace settings can override bundle MCP entries when needed.
- Bundle MCP tool catalogs are sorted deterministically before registration, so
upstream
listTools()order changes do not thrash prompt-cache tool blocks.
Transports
MCP servers can use stdio or HTTP transport. Stdio launches a child process:sse unless
streamable-http is requested:
transportaccepts"streamable-http"or"sse"; omitted defaults tosse.type: "http"is a CLI-native downstream shape; usetransport: "streamable-http"in OpenClaw config.openclaw mcp setandopenclaw doctor --fixnormalize the common alias.- Only
http:andhttps:URL schemes are allowed. headersvalues support${ENV_VAR}interpolation.- A server entry with both
commandandurlis rejected. - URL credentials (userinfo and query params) are redacted from tool descriptions and logs.
connectionTimeoutMsoverrides the default 30-second connection timeout for both stdio and HTTP transports. Request timeout defaults to 60 seconds and can be overridden withrequestTimeoutMs.
Tool naming
OpenClaw registers bundle MCP tools with provider-safe names in the formserverName__toolName. For example, a server keyed "vigil-harbor" exposing a
memory_search tool registers as vigil-harbor__memory_search.
- Characters outside
A-Za-z0-9_-are replaced with-. - Fragments that would start with a non-letter get a letter prefix, so numeric
server keys such as
12306become provider-safe tool prefixes. - Server prefixes are capped at 30 characters.
- Full tool names are capped at 64 characters.
- Empty server names fall back to
mcp. - Colliding sanitized names are disambiguated with numeric suffixes.
- Final exposed tool order is deterministic by safe name, keeping repeated embedded-agent turns cache-stable.
- Profile filtering treats every tool from one bundle MCP server as
plugin-owned by
bundle-mcp, so profile allow/deny lists can reference either individual exposed tool names or thebundle-mcpplugin key.
Embedded OpenClaw settings
Claudesettings.json is imported as default embedded OpenClaw settings when
the bundle is enabled. OpenClaw sanitizes shell override keys before applying
them:
shellPathshellCommandPrefix
Embedded OpenClaw LSP
- Enabled Claude bundles can contribute LSP server config.
- OpenClaw loads
.lsp.jsonplus any manifest-declaredlspServerspaths. - Bundle LSP config is merged into the effective embedded OpenClaw LSP defaults.
- Only supported stdio-backed LSP servers are runnable today; unsupported
transports still show up in
openclaw plugins inspect <id>.
Detected but not executed
These are recognized and shown in diagnostics, but OpenClaw does not run them:- Claude
agents,hooks/hooks.jsonautomation,outputStyles - Cursor
.cursor/agents,.cursor/hooks.json,.cursor/rules - Codex
.app.jsonmetadata beyond capability reporting
Bundle formats
Codex bundles
Codex bundles
Markers:
.codex-plugin/plugin.jsonOptional content: skills/, hooks/, .mcp.json, .app.jsonCodex bundles fit OpenClaw best when they use skill roots and OpenClaw-style
hook-pack directories (HOOK.md + handler.ts).Claude bundles
Claude bundles
Two detection modes:
- Manifest-based:
.claude-plugin/plugin.json - Manifestless: default Claude layout (
skills/,commands/,agents/,hooks/,.mcp.json,.lsp.json,settings.json)
commands/is treated as skill contentsettings.jsonis imported into embedded OpenClaw settings (shell override keys are sanitized).mcp.jsonexposes supported stdio tools to embedded OpenClaw.lsp.jsonplus manifest-declaredlspServerspaths load into embedded OpenClaw LSP defaultshooks/hooks.jsonis detected but not executed- Custom component paths in the manifest are additive; they extend defaults, not replace them
Cursor bundles
Cursor bundles
Markers:
.cursor-plugin/plugin.jsonOptional content: skills/, .cursor/commands/, .cursor/agents/, .cursor/rules/, .cursor/hooks.json, .mcp.json.cursor/commands/is treated as skill content.cursor/rules/,.cursor/agents/, and.cursor/hooks.jsonare detect-only
Detection precedence
OpenClaw checks for native plugin format first:openclaw.plugin.jsonor a validpackage.jsonwithopenclaw.extensions- treated as a native plugin- Bundle markers (
.codex-plugin/,.claude-plugin/, or default Claude/Cursor layout) - treated as a bundle
Runtime dependencies and cleanup
- Third-party compatible bundles do not get startup
npm installrepair. They should be installed throughopenclaw plugins installand ship everything they need in the installed plugin directory. - OpenClaw-owned bundled plugins are either shipped lightweight in core or downloadable through the plugin installer. Gateway startup never runs a package manager for them.
openclaw doctor --fixremoves stale local bundled-plugin install records and can recover downloadable plugins that are missing from the local plugin index when config still references them.
Security
Bundles have a narrower trust boundary than native plugins:- OpenClaw does not load arbitrary bundle runtime modules in-process.
- Skills and hook-pack paths must stay inside the plugin root (boundary-checked).
- Settings files are read with the same boundary checks.
- Supported stdio MCP servers may be launched as subprocesses.
Troubleshooting
Bundle is detected but capabilities do not run
Bundle is detected but capabilities do not run
Run
openclaw plugins inspect <id>. If a capability is listed but marked as
not wired, that is a product limit, not a broken install.Claude command files do not appear
Claude command files do not appear
Make sure the bundle is enabled and the markdown files are inside a detected
commands/ or skills/ root.Claude settings do not apply
Claude settings do not apply
Only embedded OpenClaw settings from
settings.json are supported. OpenClaw does
not treat bundle settings as raw config patches.Claude hooks do not execute
Claude hooks do not execute
hooks/hooks.json is detect-only. If you need runnable hooks, use the
OpenClaw hook-pack layout or ship a native plugin.Related
- Install and Configure Plugins
- Building Plugins - create a native plugin
- Plugin Manifest - native manifest schema