Skill Build Helper
by @spideystreet
Create or optimize an OpenClaw skill. Use when the user wants to build a new skill, improve an existing one, review a SKILL.md, or prepare a skill for ClawHu...
clawhub install skill-build-helperπ About This Skill
name: skill-build-helper description: Create or optimize an OpenClaw skill. Use when the user wants to build a new skill, improve an existing one, review a SKILL.md, or prepare a skill for ClawHub publishing. metadata: {"openclaw":{"requires":{"bins":["jq"]}}}
Skill Builder
A meta-skill for creating and optimizing OpenClaw skills following official best practices. Guides you through a structured workflow from intent to publish-ready skill.
Workflow
1. Understand intent
Determine the mode:
| Mode | Trigger | |------|---------| | Create | User wants a new skill | | Optimize | User wants to improve or review an existing skill |
If creating: Ask the user for 2-3 concrete usage examples (what would they say to trigger this skill, what should happen). These examples drive the description and workflow design.
If optimizing: Read the existing SKILL.md and note its current structure before proceeding.
2. Scaffold the directory
Create the skill directory under ~/workspace/skills/:
/
βββ SKILL.md (required β agent instructions)
βββ README.md (recommended for published skills)
βββ scripts/ (if deterministic code is needed)
βββ references/ (if large docs needed on-demand)
Naming rules:
workout-track, skill-builder)name field in frontmatter3. Write the SKILL.md
The SKILL.md is the core file β it contains the agent's instructions for executing the skill.
#### Frontmatter (YAML)
Three fields:
---
name:
description: . Use when .
metadata: {"openclaw":{"requires":{"bins":["list","of","binaries"]}}}
name: Must match folder name exactlydescription: Primary trigger mechanism. Include "Use when..." to help the agent decide when to activate. Be specific to avoid overlap with other skillsmetadata: Declare runtime dependencies. Load {baseDir}/references/frontmatter-spec.md for the full reference if needed#### Body structure
Write the body following these rules:
1. Opening line: One sentence explaining what the skill does
2. ## Workflow: Numbered H3 steps (### 1. Step name) β imperative form
3. Tables for structured data (fields to extract, flags, mappings)
4. Code blocks with exact commands β use exec tool JSON format:
{
"tool": "exec",
"command": ""
}
5. ## Examples: Table with realistic input/output pairs (minimum 3 rows)
6. Error handling section: What to do when things fail β always present, never retry silently#### Key rules
references/{baseDir} for paths within the skill directory (e.g., {baseDir}/scripts/run.sh).env, or openclaw.json via jq4. Write the README.md
User-facing documentation with these sections:
#
Requirements
Setup
Usage
<2-3 natural language examples showing what the user would say>
Install
\\\bash
clawhub install /
\ \\
5. Quality check
Load {baseDir}/references/checklist.md and validate every item:
name + descriptionname matches folder name{baseDir} used for all internal pathsrequires.bins, requires.env)Report the results as a checklist to the user, noting any failures.
6. Optimize (existing skills only)
When reviewing an existing skill:
1. Read the current SKILL.md 2. Run the quality check from Step 5 3. List each issue found with a concrete fix 4. Ask the user which fixes to apply 5. Apply approved fixes
Do not rewrite an entire SKILL.md β make targeted, minimal edits.
Examples
| User says | Mode | Action |
|-----------|------|--------|
| "I want to create a skill that tracks my reading list" | Create | Scaffold reading-track/, gather examples, write SKILL.md + README.md |
| "Can you review my sm-saver skill?" | Optimize | Read sm-saver/SKILL.md, run checklist, report issues |
| "Build a skill for checking server status" | Create | Scaffold server-check/, gather examples, write SKILL.md + README.md |
| "Improve the reminder skill for ClawHub" | Optimize | Read reminder/SKILL.md, run checklist, add README.md if missing |
π‘ Examples
| User says | Mode | Action |
|-----------|------|--------|
| "I want to create a skill that tracks my reading list" | Create | Scaffold reading-track/, gather examples, write SKILL.md + README.md |
| "Can you review my sm-saver skill?" | Optimize | Read sm-saver/SKILL.md, run checklist, report issues |
| "Build a skill for checking server status" | Create | Scaffold server-check/, gather examples, write SKILL.md + README.md |
| "Improve the reminder skill for ClawHub" | Optimize | Read reminder/SKILL.md, run checklist, add README.md if missing |