create-plugin
Create OpenClaw plugins/extensions (TypeScript modules) from natural‑language requests. Use when the user asks to create a plugin/extension, add a new slash command, add plugin tools, or says “create plugin that does …” or “create OpenClaw plugin called NAME …”. Trigger for /create-plugin NAME WHAT-IT-DOES, /create-plugin GENERAL-PROMPT, “create extension that does ACTION”, or similar.
Why use this skill?
Instantly scaffold and generate OpenClaw plugins using natural language. Automate your workflow by creating custom tools, slash commands, and services with ease.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lc0rp/create-pluginWhat This Skill Does
The create-plugin skill is a powerful automation utility designed to streamline the extension of OpenClaw's core functionality. By leveraging natural language processing, this skill interprets user requirements to generate production-ready TypeScript plugin modules. It automates the scaffolding process, creating essential files such as the openclaw.plugin.json manifest, the index.ts entry point, and optional package.json metadata. This tool allows users to quickly add new slash commands, agent-accessible tools, and background services to their OpenClaw environment without manually writing boilerplate code.
Installation
To enable this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/lc0rp/create-plugin
Once installed, the agent will have the internal logic required to scaffold directory structures, define configuration schemas, and register plugin hooks within the OpenClaw architecture. Ensure you have the necessary write permissions in your ~/.openclaw/extensions/ directory to allow the agent to save the generated files directly to your system.
Use Cases
This skill is ideal for developers and power users who wish to customize OpenClaw's behavior. Common use cases include:
- Adding custom slash commands to automate repetitive chat tasks.
- Creating domain-specific agent tools that interact with external APIs or local scripts.
- Building custom integrations for workspace-specific workflows, such as internal ticketing systems or file management utilities.
- Developing modular features that can be shared across multiple OpenClaw installations.
Example Prompts
- "Create a plugin called 'git-manager' that adds an agent tool for fetching pull request status from GitHub."
- "I need a new extension that creates a slash command /summarize which uses my current context to draft a project summary."
- "Create an OpenClaw plugin that monitors a specific folder for changes and sends a notification to my terminal."
Tips & Limitations
Because plugins run in-process with the OpenClaw gateway, they have deep access to the agent's core runtime. Always review the generated index.ts file for security before restarting the gateway. We recommend using the symlink install method (openclaw plugins install -l /path/to/plugin) during development to allow for rapid iteration and testing. Note that the skill generates TypeScript; you must have a valid environment capable of compiling and loading these modules. Always ensure your configSchema is accurately defined to prevent runtime errors when OpenClaw attempts to validate user-provided settings.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lc0rp-create-plugin": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, code-execution