OpenClaw
| Target id | Package | Ship with |
|---|---|---|
openclaw |
@oiap/exporter-openclaw |
oiap sync (git install) or install-agent-plugin |
npx oiap build oiap.plugin.ts --target openclaw --out dist/openclawnpx install-agent-plugin <owner>/<repo> --plugin <plugin-id> --agent openclawOpenClaw target exporter for Open Interoperable Agent Plugins.
This package lowers OIAP primitives into a native OpenClaw plugin package. The generated bundle uses OpenClaw’s documented native plugin surfaces where OIAP can describe them safely:
package.jsonopenclaw.plugin.jsonindex.tsskills/<skill>/SKILL.mdThe exporter also emits .openclaw/ evidence files for MCP and policy metadata
that OpenClaw does not load directly from a native plugin today, and .oiap/
source maps and capability reports.
Most authors should use the CLI:
bun run oiap build ./oiap.plugin.ts --target openclaw --out ./build/openclawThe generated index.ts registers OpenClaw hooks that call
.oiap/runtime/runner.mjs. Portable function handlers are bundled into
.oiap/runtime/hooks.mjs; tool handlers still use placeholders until OIAP tool
runtime generation exists.
Install paths
Section titled “Install paths”Where install-agent-plugin and installPlugin() write the bundle, from the target profile. --out <dir> overrides them.
| Scope | Path |
|---|---|
| Local (default) | ./.openclaw/plugins/<plugin-id> |
Global (--global) |
~/.openclaw/plugins/<plugin-id> |
Support matrix
Section titled “Support matrix”From the platform support matrix (see its legend).
| Profile | Package | Rules | Skills | Commands | Hooks | Agents | MCP | Runtime | Policy |
|---|---|---|---|---|---|---|---|---|---|
| core | Y | F | Y | P | Y | P | P | F | P |
Platform notes
Section titled “Platform notes”Native plugin target. OpenClaw plugins ship package.json metadata,
openclaw.plugin.json manifests, definePluginEntry runtime entrypoints,
AgentSkills-compatible skill folders, tool contracts, command metadata, and
typed api.on(...) hook registrations. OIAP currently exports command and rule
fallbacks as skills and records MCP/policy/runtime gaps in capability reports.