Skill Scaffold
Create AI agent skills in seconds. Supports OpenClaw/Moltbot, MCP servers, and generic skill structures.
Trigger Words
Use this skill when the user mentions:
- - "create a skill"
- "scaffold a skill"
- "new skill template"
- "skill generator"
- "make a openclaw skill"
- "mcp server template"
Quick Start
CODEBLOCK0
Commands
| Command | Description |
|---|
| INLINECODE0 | Create skill with default (openclaw) template |
| INLINECODE1 |
Create MCP server scaffold |
|
skill-scaffold <name> --template generic | Create minimal skill |
|
skill-scaffold <name> --cli | Include CLI binary scaffold |
|
skill-scaffold --help | Show help |
Templates
OpenClaw (default)
Full skill structure for OpenClaw/Moltbot agents:
- - SKILL.md with YAML frontmatter, trigger words, commands table
- README.md with badges, installation, features
- scripts/ folder for helpers
MCP
Model Context Protocol server scaffold:
- - SKILL.md with MCP config examples
- Tools and resources documentation
- Ready for Claude Desktop/Cursor integration
Generic
Minimal structure:
- - Basic SKILL.md
- Simple README.md
Options
| Option | Description | Default |
|---|
| INLINECODE5 | Template: openclaw, mcp, generic | openclaw |
| INLINECODE6 |
Author name | NextFrontierBuilds |
|
--description <text> | Skill description | Auto-generated |
|
--dir <path> | Output directory | Current directory |
|
--cli | Include CLI binary scaffold | false |
|
--no-scripts | Skip scripts folder | false |
Usage Examples
CODEBLOCK1
Output Structure
CODEBLOCK2
After Creating
- 1. INLINECODE11
- Edit SKILL.md with your actual documentation
- Add implementation (scripts or bin/)
- Test locally
- Publish:
clawdhub publish . or INLINECODE13
Notes
- - Skill names must be lowercase with hyphens only
- SEO keywords are auto-included in generated files
- Works with OpenClaw, Moltbot, and any agent that reads SKILL.md
技能脚手架
数秒内创建AI智能体技能。支持OpenClaw/Moltbot、MCP服务器及通用技能结构。
触发词
当用户提及以下内容时使用此技能:
- - 创建一个技能
- 搭建技能框架
- 新技能模板
- 技能生成器
- 制作一个openclaw技能
- mcp服务器模板
快速开始
bash
全局安装
npm install -g skill-scaffold
创建OpenClaw技能
skill-scaffold my-awesome-skill
创建MCP服务器
skill-scaffold my-api --template mcp
使用所有选项
skill-scaffold weather-bot --template openclaw --cli --description Weather alerts for agents
命令
| 命令 | 描述 |
|---|
| skill-scaffold <name> | 使用默认(openclaw)模板创建技能 |
| skill-scaffold <name> --template mcp |
创建MCP服务器脚手架 |
| skill-scaffold
--template generic | 创建最小化技能 |
| skill-scaffold --cli | 包含CLI二进制脚手架 |
| skill-scaffold --help | 显示帮助 |
模板
OpenClaw(默认)
适用于OpenClaw/Moltbot智能体的完整技能结构:
- - 包含YAML前置元数据、触发词、命令表格的SKILL.md
- 包含徽章、安装说明、功能的README.md
- 用于辅助工具的scripts/文件夹
MCP
模型上下文协议服务器脚手架:
- - 包含MCP配置示例的SKILL.md
- 工具和资源文档
- 可直接用于Claude Desktop/Cursor集成
通用
最小化结构:
选项
| 选项 | 描述 | 默认值 |
|---|
| --template <type> | 模板类型:openclaw, mcp, generic | openclaw |
| --author <name> |
作者名称 | NextFrontierBuilds |
| --description | 技能描述 | 自动生成 |
| --dir | 输出目录 | 当前目录 |
| --cli | 包含CLI二进制脚手架 | false |
| --no-scripts | 跳过scripts文件夹 | false |
使用示例
bash
在当前目录创建
skill-scaffold my-skill
在指定目录创建
skill-scaffold my-skill --dir ~/clawd/skills
自定义作者的MCP服务器
skill-scaffold github-mcp --template mcp --author YourName
完整CLI工具
skill-scaffold awesome-cli --cli --description Does awesome things
输出结构
my-skill/
├── SKILL.md # 主文档(OpenClaw读取此文件)
├── README.md # GitHub/npm自述文件
├── scripts/ # 辅助脚本(可选)
└── bin/ # CLI二进制文件(如果使用--cli标志)
└── my-skill.js
创建后操作
- 1. cd my-skill
- 编辑SKILL.md,填入实际文档
- 添加实现代码(scripts/或bin/)
- 本地测试
- 发布:clawdhub publish . 或 npm publish
注意事项
- - 技能名称必须为小写且仅使用连字符
- SEO关键词会自动包含在生成的文件中
- 适用于OpenClaw、Moltbot以及任何读取SKILL.md的智能体