





















@@ -29,7 +29,7 @@ For how skills are loaded and prioritized, see [Skills](/tools/skills).
29293030```markdown
3131---
32-name: hello_world
32+name: hello-world
3333description: A simple skill that says hello.
3434---
3535@@ -39,6 +39,9 @@ For how skills are loaded and prioritized, see [Skills](/tools/skills).
3939"Hello from your custom skill!".
4040```
414142+Use hyphen-case with lowercase letters, digits, and hyphens for the skill
43+`name`. Keep the folder name and frontmatter `name` aligned.
44+4245</Step>
43464447<Step title="Add tools (optional)">
@@ -83,13 +86,13 @@ For how skills are loaded and prioritized, see [Skills](/tools/skills).
83868487The YAML frontmatter supports these fields:
858886-| Field | Required | Description |
87-| ----------------------------------- | -------- | ------------------------------------------- |
88-| `name` | Yes | Unique identifier (snake_case) |
89-| `description` | Yes | One-line description shown to the agent |
90-| `metadata.openclaw.os` | No | OS filter (`["darwin"]`, `["linux"]`, etc.) |
91-| `metadata.openclaw.requires.bins` | No | Required binaries on PATH |
92-| `metadata.openclaw.requires.config` | No | Required config keys |
89+| Field | Required | Description |
90+| ----------------------------------- | -------- | -------------------------------------------------------------- |
91+| `name` | Yes | Unique identifier using lowercase letters, digits, and hyphens |
92+| `description` | Yes | One-line description shown to the agent |
93+| `metadata.openclaw.os` | No | OS filter (`["darwin"]`, `["linux"]`, etc.) |
94+| `metadata.openclaw.requires.bins` | No | Required binaries on PATH |
95+| `metadata.openclaw.requires.config` | No | Required config keys |
93969497## Best practices
9598此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。