← 返回 Skills 市场
smallkeyboy

Skill创建工厂

作者 smallKeyboy · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ pending
47
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install smallkeyboy-create-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....
使用说明 (SKILL.md)

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

  1. Validate parameters - Check skill_name format, required fields
  2. Create directory structure - skill_name/ with appropriate subdirectories
  3. Generate SKILL.md - Write frontmatter + instructions
  4. Create resources - Write scripts, references, assets if provided
  5. Validate - Run skill validation (optional, default: on)
  6. Package - Generate .skill file (optional, default: on)
  7. 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 script
  • validate_skill.py - Validation utilities (wraps skill-creator's package_skill.py)

references/

  • skill-spec.md - AgentSkills specification reference
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install smallkeyboy-create-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /smallkeyboy-create-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
更新中文名
v1.0.1
Skill factory programmatic creation update
v1.0.0
Initial publish
元数据
Slug smallkeyboy-create-skill
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

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。

💬 留言讨论