Create agent skills from scratch through guided conversation. Collects requirements, generates a directory skeleton, and walks you through filling each section until the skill is ready to test and publish.
Use when someone wants to create a new skill or does not know where to start.
Typical triggers:
I want to create a skill that helps me generate weekly reports from Jira data.Help me build a new skill from scratch — I have no idea where to start.Turn this workflow I just did into a reusable skill I can publish on ClawHub.Scaffold a skill for converting CSV files to charts.Create a skill template for me, I need something that audits Terraform configs.Do not use this skill for tasks that already have a dedicated tool:
skill-testskill-seoFollow these five phases in order. Do not skip phases unless the user explicitly asks.
Ask the user these questions one or two at a time, not all at once:
Conclude this phase when the purpose, triggers, outputs, and dependencies are clear.
Based on the answers, decide which type of skill to create:
Read references/skill-anatomy.md for the full structure spec.
Run the scaffold script:
sh
python3 {baseDir}/scripts/init_skill.py <skill-name> --path <output-dir>
For script-backed skills, add --type script. For asset-backed skills, add --type asset.
The script creates the directory, SKILL.md template with TODO placeholders, and resource folders. Verify the output before proceeding.
Guide the user through each section in priority order. Read references/writing-guide.md for writing rules and references/examples.md for good/bad comparisons.
Frontmatter (most critical):
name: lowercase-hyphen, must match directory namedescription: use the template from writing-guide.md; cover action, object, outcome, and "Use when" triggersmetadata.openclaw: emoji and requiresExample Prompts: at least 3, written in realistic user language
Workflow: numbered steps describing the skill's process
Commands: runnable examples using {baseDir} paths
Definition of Done: measurable completion criteria
When Not to Use: explicit boundaries to reduce false triggers
After each section, confirm with the user before moving on.
After the skill is complete, run the quality toolchain:
skill-test to evaluate quality (target score >= 85)skill-seo to check discoverabilityThe skill is ready to publish when skill-test reports no critical or high findings.
When using this skill:
name field must be lowercase letters, digits, and hyphens only (1-64 chars).name must match the directory name exactly.{baseDir} for all command paths to ensure portability.sh
# Generate a new instruction-only skill
python3 {baseDir}/scripts/init_skill.py my-skill --path /path/to/output
# Generate a script-backed skill
python3 {baseDir}/scripts/init_skill.py my-skill --path /path/to/output --type script
# Generate an asset-backed skill
python3 {baseDir}/scripts/init_skill.py my-skill --path /path/to/output --type asset