Skill Starter
Generate a reviewable starting point for a new OpenClaw skill.
When to use
- You want a repeatable folder layout instead of assembling a skill by hand.
- You need a starter
SKILL.md, smoke test, fixtures, and optional CI workflow. - You want a stricter template with Safe Install policy scaffolding.
Command
node {baseDir}/bin/create-openclaw-skill.js my-skill
node {baseDir}/bin/create-openclaw-skill.js my-skill --no-prompts --out ./skills
node {baseDir}/bin/create-openclaw-skill.js my-skill --template strict-security --ci
node {baseDir}/bin/create-openclaw-skill.js my-skill --force
Templates
| Template | Focus |
|---|---|
standard |
baseline docs, fixtures, and tests |
strict-security |
adds policy scaffolding, security docs, and ClawShield CI |
Generated files
SKILL.md: skill instructions with OpenClaw-compatible frontmatterpackage.json: project manifestdocs/: architecture and security notesscripts/: local script directorytests/: smoke test stub.env.example: environment variable templateCHANGELOG.md: release notes starterscripts/profile-target.js: profiling helperfixtures/: sample input data.github/workflows/security-scan.yml: optional CI workflow
Interactive prompts
| Option | Prompt | Default |
|---|---|---|
name |
skill name | CLI argument |
description |
skill description | {name} skill generated by Skill Starter |
category |
skill category | AI Skills |
ci |
include CI workflow | y/N |
strict-security extras
.openclaw-tools/safe-install.policy.json: Safe Install policy scaffolddocs/security.md: security integration guide.github/workflows/security-scan.yml: ClawShield scan workflow
Boundaries
- The scaffold is intentionally lightweight. You still need to replace placeholders and add real business logic.
- Generated
SKILL.mdfiles are now aligned to OpenClaw-style frontmatter and use{baseDir}for local command examples.
