Skill创建工厂
/install smallkeyboy-create-skill
Create Skill
A callable skill factory designed for programmatic invocation by other skills.
Usage
This skill is typically called by other skills with structured parameters. Call it when you need to generate a new skill programmatically.
Parameters
When calling this skill, provide the following parameters:
| Parameter | Required | Description |
|---|---|---|
name |
Yes | Skill name (lowercase, hyphens only, \x3C64 chars) |
description |
Yes | Skill description for frontmatter (include what it does + when to use) |
instructions |
Yes | Markdown body content for SKILL.md |
scripts |
No | List of script files to create: [{name, content, language}] |
references |
No | List of reference docs: [{name, content}] |
assets |
No | List of asset files: [{name, content}] |
output_dir |
No | Output directory (default: ~/.openclaw/workspace/skills) |
validate |
No | Run validation after creation (default: true) |
package |
No | Generate .skill file after creation (default: true) |
Calling Convention
Call this skill with a structured request:
{
"name": "my-skill",
"description": "Brief description of what this skill does and when to use it.",
"instructions": "## Overview\
\
Detailed instructions in markdown...",
"scripts": [
{"name": "main.py", "content": "#!/usr/bin/env python3\
...", "language": "python"}
],
"references": [
{"name": "api-docs.md", "content": "# API Reference\
..."}
]
}
Workflow
- Validate parameters - Check skill_name format, required fields
- Create directory structure -
skill_name/with appropriate subdirectories - Generate SKILL.md - Write frontmatter + instructions
- Create resources - Write scripts, references, assets if provided
- Validate - Run skill validation (optional, default: on)
- Package - Generate .skill file (optional, default: on)
- Return result - Report created files and location
Output
Returns a result object:
{
"success": true,
"skill_path": "~/.openclaw/workspace/skills/my-skill",
"skill_file": "~/.openclaw/workspace/skills/my-skill.skill",
"files_created": ["SKILL.md", "scripts/main.py"]
}
Quick Example
A calling skill might invoke this with:
Create a skill named "pdf-watermarker" that:
- Description: "Add watermarks to PDF files. Use when processing PDFs for branding or security."
- Instructions: Basic watermarking workflow with pdfplumber
- Scripts: A watermark.py script using PyPDF2
The skill factory handles all file creation, validation, and packaging.
Resources
scripts/
create_skill.py- Main skill creation scriptvalidate_skill.py- Validation utilities (wraps skill-creator's package_skill.py)
references/
skill-spec.md- AgentSkills specification reference
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smallkeyboy-create-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/smallkeyboy-create-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Skill创建工厂 是什么?
A callable skill factory for programmatic skill creation. Use when another skill needs to create a new skill, or when automating skill generation workflows.... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 47 次。
如何安装 Skill创建工厂?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smallkeyboy-create-skill」即可一键安装,无需额外配置。
Skill创建工厂 是免费的吗?
是的,Skill创建工厂 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Skill创建工厂 支持哪些平台?
Skill创建工厂 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Skill创建工厂?
由 smallKeyboy(@smallkeyboy)开发并维护,当前版本 v1.0.2。