openclaw-plugin-dev
Installation
SKILL.md
OpenClaw plugin development (book-style skill)
This skill is a progressive-disclosure manual for OpenClaw’s native plugin system. Read SKILL.md first for routing; load references/* only for the topic at hand.
Audience and version anchor
- Audience: Developers comfortable with JS/TS, Node ESM, and CLI tooling. Not a general frontend tutorial.
- Version: Treat
openclaw@2026.3.28as the contract anchor. Newer OpenClaw versions may differ; diffsrc/plugins/andsrc/plugin-sdk/in upstream when upgrading.
How agents should use this skill
- Classify the task: manifest-only change, new capability (channel/provider/speech/…), tool/hook, CLI/Gateway surface, memory/context-engine, or bundle compatibility.
- Open one reference file from the map below instead of loading everything. Cross-chapter pointers always use paths relative to this skill directory, e.g.
references/04-openclaw-plugin-api.md. - Cross-check upstream: Official English docs live under
docs/plugins/in the OpenClaw repository; types and behavior are authoritative insrc/plugins/types.ts,src/plugins/manifest.ts,src/plugins/loader.ts, andsrc/plugin-sdk/*. Paths undersrc/in this skill match a source checkout (.tsfiles); published packages may list.jsin import traces. - Respect compatibility stance: Capability registration is the direction of travel; hook-only plugins remain a supported baseline for external integrations. See
references/07-capabilities-and-compatibility.md.