Create Plugin Skill for Openclaw

An automation skill designed to scaffold and implement TypeScript-based plugins, slash commands, and agent tools for the OpenClaw ecosystem.

lc0rp
v0.1.0
Feb 5, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install create-plugin

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install create-plugin using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Create Plugin Skill?

The Create Plugin skill serves as a powerful developer advocate within your workflow, transforming natural language prompts into production-ready extension code. It automates the boilerplate process by generating essential manifests, entrypoints, and configuration schemas required for modern Openclaw Skills. By adhering to the official plugin SDK, it ensures that every generated module is compatible with the gateway and ready for immediate deployment.

This skill is particularly valuable for developers looking to extend the core capabilities of their AI agents without manually writing repetitive configuration files. Whether you are adding a simple auto-reply command or a complex tool that requires third-party API integration, this skill streamlines the lifecycle of creating and maintaining Openclaw Skills.

Create Plugin Skill Use Cases

  • Rapidly scaffolding a new TypeScript plugin from a single natural language description.
  • Adding custom slash commands to the gateway for quick manual actions.
  • Developing LLM-callable agent tools with validated input schemas using TypeBox.
  • Creating specialized services that run in-process with the OpenClaw gateway.
  • Generating standardized plugin manifests to ensure compatibility across different Openclaw Skills environments.

How Create Plugin Skill Works

  1. The skill captures the user's intent, identifying the plugin's unique ID and primary functional scope.
  2. It determines the appropriate installation path, typically within the user's local extensions directory or a workspace-scoped folder.
  3. The skill generates the openclaw.plugin.json manifest, ensuring a valid configSchema is included for runtime settings.
  4. It scaffolds the index.ts entrypoint, importing the necessary SDK types and registering the requested commands or tools.
  5. If required, a package.json is created to manage external dependencies and ESM module metadata.
  6. The skill provides the specific CLI commands needed to enable the new addition to your Openclaw Skills and restart the gateway for activation.

Create Plugin Skill Setup

To start building with this skill, ensure your environment is ready for TypeScript development and use the built-in trigger commands:

/create-plugin my-custom-tool "adds a tool to fetch internal logs"

Once the files are generated, you must enable the plugin using the CLI to integrate it into your collection of Openclaw Skills:

openclaw plugins enable my-custom-tool
openclaw plugins doctor

Finally, restart your OpenClaw gateway to apply the changes.

Create Plugin Skill Data Schema & Taxonomy

The skill generates a structured file tree to maintain the integrity of your Openclaw Skills. The organization follows this schema:

Component File Path Purpose
Manifest openclaw.plugin.json Defines ID, name, and the required JSON configuration schema.
Entrypoint index.ts Contains the register function to hook into the Plugin API.
Metadata package.json Manages versioning, module types, and extension entrypoint references.
SDK Reference openclaw/plugin-sdk The core library used for type-safe plugin development.

Create Plugin Skill Advanced Features

  • Support for registration of both global slash commands and context-aware agent tools within the Openclaw Skills framework.
  • Automated validation of plugin IDs to ensure they are lowercase, hyphenated, and compliant with system limits.
  • Ability to define optional tools that can be toggled via agent-specific allowlists for granular control.
  • Built-in support for symlinked development mode, allowing for real-time testing of Openclaw Skills without repeated re-installation.
  • Generation of diagnostic instructions using the doctor command to troubleshoot configuration or permission issues.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*