Install
openclaw skills install skill-creator-canonicalCreate, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch, restructuring an existing skill, auditing skill quality, or making a skill easier for weaker AI models and agent runtimes to follow.
openclaw skills install skill-creator-canonicalUse this skill to author or improve real AgentSkills.
Keep SKILL.md executable.
Move heavy explanation into references/.
Move repeated deterministic work into scripts/.
<skill-dir> = the directory that contains the target SKILL.md.<output-dir> = the parent directory where a new skill folder should be created.<tool-scripts> = the scripts/ folder inside the skill-creator tool directory.<review-artifact> = the patched SKILL.md text or the short self-check written during Step 6, emitted in the current output channel for the environment.| If the request contains | Then path is |
|---|---|
create a new skill, new skill called, build a skill named | new-skill |
restructure, reorganize, split into references, major rewrite | major-rewrite |
audit, review this skill, check skill quality | audit |
| otherwise | continue to step 2 |
small-local-edit only if all are true:
SKILL.md changesscripts/, references/, or assets/ files are added or removedSKILL.md.scripts/.references/.assets/.scripts/ and record the destination.references/ and record the destination.assets/ and record the destination.
Output: a short bulleted list mapping each target file or folder to its single purpose.
Stop when every recurring item has exactly one home.python3 <tool-scripts>/init_skill.py <skill-name> --path <output-dir> [--resources scripts,references,assets] [--examples] and create the starting skill folder.name and description.description, say what the skill does and when to use it.scripts/, references/, and assets/ when the plan requires them, then output the drafted files.
Read references/authoring-guide.md when you need authoring principles or folder-design rules. Purpose: guide structure.
Read references/progressive-disclosure.md when SKILL.md is getting long or supports multiple variants. Purpose: split content.
Read references/workflows.md when the task needs a reusable multi-step pattern. Purpose: choose workflow.
Read references/output-patterns.md when the skill must emit a specific artifact or report. Purpose: shape output.
Output: the drafted or revised skill files.
Stop when the skill files match the structure plan.Read ... when ... Purpose: ... navigation cues for any reference file that a weaker model must load deliberately.references/weak-model-fallbacks.md when the skill being authored contains if appropriate, as needed, when necessary, or any step whose outcome depends on model judgment without a clear decision rule. Purpose: replace ambiguity with explicit fallback instructions.
Output: the hardened draft plus a 3-line compliance note formatted exactly as:Read ... when ... Purpose: ... cues added, or none]None]
Stop when the draft and the compliance note exist.If all are true, skip deep review and write a 3-line self-check:
small-local-editSKILL.md was editeddual-thinking review.
Runtime note: this path requires the dual-thinking skill to be installed and available in the user's environment.dual-thinking is unavailable, emit exactly: REVIEW BLOCKED: dual-thinking skill not found. Run: clawhub install dual-thinking. If installation is not possible, ask the user whether to continue without deep review. Then stop the skill execution.SKILL.md text.<review-artifact>.
Stop when <review-artifact> exists.python3 <tool-scripts>/quick_validate.py <skill-dir>.python3 <tool-scripts>/validate_weak_models.py <skill-dir>.PACKAGING_CHECKLIST.md when packaging or publishing is in scope. Purpose: verify release gate.python3 <tool-scripts>/package_skill.py <skill-dir>..skill archive was created.PACKAGING_CHECKLIST.md are satisfied, then output that confirmation.
Output: a packaged .skill archive plus the checklist confirmation.
Stop when the package file exists and the checklist confirmation exists..clawhubignore exists before publishing. If it is missing, create it with this baseline: .clawhub/, __pycache__/, .git/, .env*, *.skill, temp/, node_modules/, coverage/, .diagnostics/, .sessions/, .profile/, .daemon-ws-endpoint. If it already exists, update it to include any missing baseline line. Output the final file.--slug, --name, --version, and --changelog, then output those values.clawhub skill publish <skill-dir> --slug <slug> --name "<name>" --version <semver> --changelog "<1-sentence summary>", then output the exact command and the raw CLI result.
Output: a published release or a deliberate no-publish decision.
Stop when publication is complete or intentionally skipped.SKILL.md, scripts/, references/, or assets/, then record that decision.SKILL.md lean enough that navigation is cheap.references/ for deep explanations, schemas, and long examples.scripts/ for deterministic repeated operations.assets/ for files used in the final output.README.md, INSTALLATION_GUIDE.md, or CHANGELOG.md unless the real environment explicitly requires them.A skill is ready only when all are true:
If any item above is false, the skill is still in draft.