Install
openclaw skills install plugin-integrationGuide users to create, validate, and integrate custom plugins, tools, and commands into OpenClaw using templates, scripts, and examples.
openclaw skills install plugin-integrationThis skill enables users to create, develop, and integrate their own plugins, tools, and commands into OpenClaw. It provides guidelines, templates, and examples to streamline the development process.
Use the init-plugin.sh script to create a new plugin scaffold:
~/.openclaw/skills/plugin-integration/scripts/init-plugin.sh <plugin-name>
Follow the structure in the examples/ directory to develop your plugin. Key files:
manifest.json: Metadata for the plugin (name, version, description, etc.).plugin.js or command.js: Main logic for the plugin or command.README.md: Documentation for the plugin.Use the validate-plugin.sh script to ensure your plugin meets OpenClaw's requirements:
~/.openclaw/skills/plugin-integration/scripts/validate-plugin.sh <plugin-directory>
Place your plugin in the OpenClaw plugins directory (e.g., ~/.openclaw/plugins/) and restart OpenClaw to load it.
A simple plugin that logs "Hello World" to the console.
examples/hello-world/plugin.js, manifest.json, README.mdA custom command that greets the user by name.
examples/custom-command/command.js, manifest.json, README.mdRefer to references/api-reference.md for detailed documentation on OpenClaw's plugin API.
Refer to references/cli-reference.md for OpenClaw CLI commands related to plugin management.
README.md file.manifest.json file is correctly formatted and the plugin is placed in the correct directory.console.log or OpenClaw's logging utilities to debug issues.Contributions to this skill are welcome! Submit improvements via pull requests or issues on the OpenClaw GitHub repository.