Use this skill whenever the user wants to CREATE, BUILD, DESIGN, or GENERATE a new OpenClaw skill. Trigger for any mention of: "build a skill", "create a skill", "make a skill", "new skill for", "write a skill that", "I need a skill to", "add a skill", "skill for posting", "skill for sending", "skill for reading", "skill for automating", or any workflow the user wants to automate inside OpenClaw. This skill uses Claude claude-sonnet-4-6 to generate all skill files.
This meta-skill interviews the user about a desired workflow, then generates a complete, ready-to-install OpenClaw skill using the Claude API (claude-sonnet-4-6).
Run setup.sh once on first use:
bash scripts/setup.sh
Requires:
ANTHROPIC_API_KEY — Anthropic API key for Claude claude-sonnet-4-6Ask the user these questions (can be answered in one message):
Once requirements are clear, run:
bun scripts/generate-skill.ts \
--description "Full description of what the skill should do" \
--out "/root/.openclaw/generated-skills"
The script calls Claude claude-sonnet-4-6 with the full OpenClaw skill specification and outputs a complete skill folder ready to install.
The generated skill appears in ~/.openclaw/generated-skills/skill-name/ on the VPS.
From your Mac, pull it down:
scp -r [email protected]:/root/.openclaw/generated-skills/skill-name ~/Sales-Team/skills/
Review the files, commit, and push. Then on the VPS run deploy-pull to install.
If the skill has a setup script:
docker compose -f /opt/openclaw-deploy/docker-compose.yml exec openclaw bash skills/skill-name/scripts/setup.sh
Tell the user:
skill-name| Error | Fix |
|---|---|
| Missing ANTHROPIC_API_KEY | Set env var: export ANTHROPIC_API_KEY="sk-ant-..." |
| Bun not found | Run bash scripts/setup.sh first |
| API rate limit | Wait a moment and retry |
scripts/lib/