← Back to Skills Marketplace
smallkeyboy

Skill创建工厂

by smallKeyboy · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ pending
47
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install smallkeyboy-create-skill
Description
A callable skill factory for programmatic skill creation. Use when another skill needs to create a new skill, or when automating skill generation workflows....
README (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
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install smallkeyboy-create-skill
  3. After installation, invoke the skill by name or use /smallkeyboy-create-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
更新中文名
v1.0.1
Skill factory programmatic creation update
v1.0.0
Initial publish
Metadata
Slug smallkeyboy-create-skill
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is 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.... It is an AI Agent Skill for Claude Code / OpenClaw, with 47 downloads so far.

How do I install Skill创建工厂?

Run "/install smallkeyboy-create-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Skill创建工厂 free?

Yes, Skill创建工厂 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Skill创建工厂 support?

Skill创建工厂 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Skill创建工厂?

It is built and maintained by smallKeyboy (@smallkeyboy); the current version is v1.0.2.

💬 Comments