Skill Creator
Skill Creator
Generate a complete skill scaffold from a short prompt.
Core workflow
- Normalize the requested skill name to lowercase hyphen-case.
- Create folder:
<output_dir>/<skill-name>/. - Generate
SKILL.mdwith required frontmatter fields only:namedescription
- Add optional resource folders as needed:
scripts/references/assets/
- Add starter examples for input/output contracts and edge-case handling.
- Return next commands for validate/package.
Use the scaffold script
Run:
python3 scripts/create_skill.py \
--name "stock-checker" \
--description "Check stock prices and summarize changes" \
--output-dir ~/.openclaw/workspace/skills \
--resources scripts,references,assets \
--with-examples \
--with-readme
Validate and package
python3 scripts/validate_skill.py ~/.openclaw/workspace/skills/stock-checker
python3 scripts/package_skill.py ~/.openclaw/workspace/skills/stock-checker --out-dir ~/.openclaw/workspace/skills
One-command create + package:
bash scripts/create_and_package.sh "Stock Checker" "Check stock prices and summarize moves"
Input pattern
- Skill name
- One-line purpose
- Optional resources
- Optional examples flag
Output guarantees
- Correct skill directory structure
- Valid SKILL.md frontmatter format
- Practical starter instructions for the generated skill
- Helper files for quick iteration
Edge-case handling
- If name has spaces/symbols, normalize to hyphen-case.
- If destination exists, fail unless
--forceis passed. - If description is empty, fail with actionable error.
- If resource list is invalid, show accepted values.