Free ebook
A Practical Guide to Extending OpenClaw
A developer-focused guide to writing your first OpenClaw skill — covering the anatomy of a skill, your development environment, writing and testing the code, and publishing it for others to use.
Get the free ebook
We'll email you the PDF immediately. No spam, no subscription.
A skill is a small, self-contained program that gives OpenClaw a specific capability. When your assistant receives a message that requires a particular action — checking Jira, querying a database, sending a notification — it invokes the relevant skill and uses the result in its response.
Every skill has four components: a manifest, a handler, a schema, and documentation.
You need Node.js 18 or later, a code editor (VS Code is recommended), and a local OpenClaw installation to test against. You do not need to deploy anything to test a skill — OpenClaw loads skills from a local directory.
Start with something concrete: a skill that fetches the weather for a given city. This is a classic first skill because it involves an external API call, structured input, and structured output.
Test your skill at two levels: unit tests for the handler logic and integration tests against your running OpenClaw instance.
Once your skill works reliably, you can share it with the OpenClaw community by publishing to ClawHub at clawhub.ai.
Write a custom skill from scratch — even if you've never done it before.
Free PDF — emailed instantly.