๐ŸงฉCustom Development

How to Create OpenClaw Skills with skill.md

Intermediate45-60 minutesUpdated 2025-02-04

skill.md is OpenClaw's format for defining capabilities, permissions, and behavior. This guide covers the skill.md specification, creating production-ready skills, managing permissions, setting up triggers, and publishing to ClawHub for community use.

Why This Is Hard to Do Yourself

These are the common pitfalls that trip people up.

๐Ÿ“

skill.md format quirks

Format has implicit conventions, version differences, and edge cases not well documented

๐Ÿ”

Permission model complexity

Declaring capabilities correctly and understanding enforcement varies between OpenClaw versions

๐Ÿ”„

Trigger configuration

Commands, schedules, webhooks, and patterns have different requirements and behaviors

๐Ÿ“ฆ

Publishing standards

ClawHub has strict quality, security, and documentation requirements for acceptance

Step-by-Step Guide

Step 1

Understand skill.md structure

Learn the complete skill.md format specification.

Step 2

Define skill metadata

Fill in name, version, description, and author.

Step 3

Declare required permissions

List all capabilities the skill needs.

Warning: Request only minimum permissions needed. Excessive permissions cause ClawHub review rejection.

Step 4

Configure trigger types

Set up command, schedule, webhook, or pattern triggers.

Step 5

Write clear instructions

Document how the AI should use this skill.

Step 6

Add helper code (optional)

Create JavaScript/Python scripts for complex logic.

Step 7

Test the skill locally

Verify the skill loads and works correctly.

Step 8

Prepare for ClawHub publishing

Add documentation and metadata for marketplace.

Need Help Building Production Skills?

Our developers create ClawHub-ready skills with proper error handling, documentation, and testing. Get professionally built, maintainable skills.

Get matched with a specialist who can help.

Sign Up for Expert Help โ†’

Frequently Asked Questions