How to Create OpenClaw Skills with skill.md
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
Understand skill.md structure
Learn the complete skill.md format specification.
Define skill metadata
Fill in name, version, description, and author.
Declare required permissions
List all capabilities the skill needs.
Warning: Request only minimum permissions needed. Excessive permissions cause ClawHub review rejection.
Configure trigger types
Set up command, schedule, webhook, or pattern triggers.
Write clear instructions
Document how the AI should use this skill.
Add helper code (optional)
Create JavaScript/Python scripts for complex logic.
Test the skill locally
Verify the skill loads and works correctly.
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 โ