Introduces how to develop custom OpenClaw Skills, including Skill structure, tool definitions, and publishing to ClawHub.
Skills are OpenClaw's extension mechanism, giving Agents new capabilities.
my-skill/
├── SKILL.md
├── index.ts
└── package.json
# my-skill
## Tools
### tool_name
Description...
**Parameters:**
- param1: string
export default {
tools: [{
name: 'tool_name',
handler: async (args) => {
return result;
}
}]
};
clawhub publish
Skills are OpenClaw's extension mechanism, allowing Agents to gain new capabilities.
It includes three files: SKILL.md, index.ts, and package.json.
Export an object containing a tools array, where each tool defines a name and an async handler function.
It should include the Skill name, tool descriptions, and parameter definitions.
Run the `clawhub publish` command in the terminal.
人类专家验证
官方机器人验证