create-claw-skill

Installation
SKILL.md

OpenClaw Skill & Command Generator

Generate well-structured OpenClaw skills or slash commands. Both are SKILL.md files with YAML frontmatter — they share the same structure but differ in how they're triggered and described. OpenClaw uses the AgentSkills spec (pi-coding-agent) with its own frontmatter fields, tool names, and path conventions distinct from Claude Code.

Phase 0: Fetch Current Documentation

Before generating, retrieve the latest OpenClaw skill documentation:

clawdocs get "tools/skills" --no-header -q

Capture any frontmatter fields or options not already listed in {baseDir}/references/frontmatter-options.md. If clawdocs is unavailable, proceed with current references — they are sufficient. If new fields appear, use them and note the update.

Phase 1: Understand Requirements

Parse $ARGUMENTS for type hint. Users are often unclear on OpenClaw-specific conventions. Interview to gather:

  1. Primary objective — What should this skill do?
Related skills
Installs
3
GitHub Stars
249
First Seen
Mar 10, 2026