← 返回 Skills 市场
xiatian5

ClawHub 技能开发模板

作者 xiatian5 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
119
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install clawhub-skill-template
功能描述
ClawHub技能开发标准模板,包含完整的目录结构、SKILL.md模板、package.json模板,一键初始化新技能项目,帮助你快速发布技能到ClawHub。
使用说明 (SKILL.md)

ClawHub 技能开发模板 📦🛠️

ClawHub技能开发标准模板,一键初始化新技能项目,包含完整的目录结构、标准SKILL.md模板、package.json模板,帮助你快速创建并发布技能到ClawHub市场。

触发词

当用户说这些话时,调用这个技能:

  • "创建新技能模板"
  • "ClawHub技能开发"
  • "发布技能到ClawHub"
  • "初始化技能项目"
  • "怎么开发OpenClaw技能"

功能特性

  • ✅ 标准目录结构一键生成
  • ✅ 完整的SKILL.md frontmatter模板
  • ✅ 符合规范的package.json配置模板
  • ✅ 包含中文注释和开发说明
  • ✅ 提供开发 checklist 发布前检查
  • ✅ 常见问题解答

快速开始

1. 创建新技能

# 1. 创建技能目录
mkdir -p ~/.openclaw/workspace/skills/your-skill-slug

# 2. 复制模板文件
# 从本技能复制SKILL.md和package.json,替换占位符

# 3. 编辑内容,填写技能信息
# 按照模板提示替换所有占位符

# 4. 发布到ClawHub
clawhub publish ~/.openclaw/workspace/skills/your-skill-slug `
  --slug your-skill-slug `
  --name "Your Skill Name" `
  --version "1.0.0" `
  --changelog "Initial release" `
  --tags "tag1,tag2,tag3"

标准目录结构

your-skill/
├── SKILL.md          # 主要文档,必填
├── package.json      # 元数据,必填
├── README.md         # 额外说明,可选
├── scripts/          # 脚本目录,可选
│   └── main.js
└── assets/           # 资源文件,可选
    └── screenshot.png

SKILL.md 模板

---
name: 你的技能名称
slug: your-skill-slug
description: 一句话描述你的技能功能
version: 1.0.0
author: your-name
tags: [tag1, tag2, tag3]
---

# 你的技能名称

这里写详细介绍...

## 触发词

当用户说这些话时,调用这个技能:
- "触发词1"
- "触发词2"
- "触发词3"

## 功能特性

| 功能 | 说明 |
|------|------|
| 功能1 | 功能1说明 |
| 功能2 | 功能2说明 |

## 快速开始

这里写使用步骤...

## 更新日志

### v1.0.0 (YYYY-MM-DD)
- 初始发布

## 相关技能

- [related-skill](https://clawhub.ai/skills/related-skill) - 相关技能描述

---

*如果你觉得这个技能有用,请给它点个星,谢谢!⭐*

package.json 模板

{
  "name": "your-skill-slug",
  "version": "1.0.0",
  "description": "一句话描述你的技能功能",
  "main": "SKILL.md",
  "keywords": ["keyword1", "keyword2", "keyword3"],
  "author": "your-name",
  "license": "MIT",
  "dependencies": {},
  "peerDependencies": {
    "dependency-skill": ">=1.0.0"
  }
}

发布前检查清单

  • slug 是唯一且小写,不含空格
  • name 清晰描述技能功能
  • description 一句话说明,不超过100字
  • tags 包含3-6个相关标签
  • SKILL.md 包含触发词列表
  • 依赖的技能都已经在 peerDependencies 声明
  • 没有包含敏感信息或凭证
  • 已经测试过主要功能可以正常使用

命名规范

项目 规范 示例
slug 小写字母,连字符分隔 windows-gui-automation-cn
name 清晰可读,可以含中文 Windows GUI 自动化集成 (中文)
tags 小写关键词,3-6个 windows,automation,gui,chinese
description 一句话,中文推荐20-50字 开箱即用的Windows桌面GUI自动化集成技能

最佳实践

  1. 技能要聚焦 - 一个技能做好一件事比什么都做一点好
  2. 触发词要自然 - 想想用户会怎么说,包含不同说法
  3. 文档要清晰 - 给用户看的文档要简单明了,配有示例
  4. 依赖要明确 - 在peerDependencies声明需要的其他技能
  5. 版本号遵循语义化 - 主版本.次版本.修订 格式

常见问题

Q: 我的技能需要收费还是免费? A: 新手推荐先发布免费技能积累评价,有了口碑再出付费技能。

Q: 定价多少合适? A: 简单工具技能 ¥19-¥49,完整工作流 ¥59-¥129,大型解决方案 ¥199+。

Q: 需要写多少字的文档? A: SKILL.md 推荐 50-200 行,包含触发词、功能、使用示例足够。

Q: 更新技能怎么发布? A: 改版本号,重新运行 publish 命令即可,平台会自动更新。

更新日志

v1.0.0 (2026-03-30)

  • 初始发布
  • 完整的ClawHub技能开发模板
  • 包含SKILL.md和package.json标准模板
  • 开发检查清单和最佳实践指南

相关链接


如果你觉得这个技能有用,请给它点个星,谢谢!⭐

安全使用建议
This template appears coherent and low-risk: it only provides a SKILL.md and package.json template and instructions to copy/edit/publish. Before using, confirm the 'clawhub' CLI and the ClawHub site (https://clawhub.ai) are legitimate, avoid pasting any real credentials into template files or placeholders, and review the final SKILL.md/package.json you publish to ensure no sensitive info or unintended metadata is included.
功能分析
Type: OpenClaw Skill Name: clawhub-skill-template Version: 1.0.0 The bundle is a standard development template for creating OpenClaw skills. It contains documentation, checklists, and boilerplate code (SKILL.md and package.json) intended to guide users through the skill creation process. No malicious code, data exfiltration, or harmful prompt injection attempts were found.
能力评估
Purpose & Capability
Name/description match the contents: SKILL.md and package.json templates for creating a new ClawHub/OpenClaw skill. There are no requested binaries, environment variables, or capabilities that are unrelated to a template generator.
Instruction Scope
SKILL.md only instructs the user/agent how to copy template files into a local skills directory (~/.openclaw/workspace/skills/...), edit placeholders, follow a checklist, and run the platform publish CLI (clawhub publish). It does not instruct reading unrelated system files, leaking secrets, or contacting unexpected external endpoints beyond the platform URLs referenced as documentation.
Install Mechanism
No install spec and no code files are present; this is instruction-only. Nothing is downloaded or written by the skill itself, so install risk is minimal.
Credentials
No environment variables, credentials, or config paths are requested. The SKILL.md advises not to include sensitive information in templates, which is appropriate.
Persistence & Privilege
always is false and the skill does not request persistent or elevated privileges or modification of other skills' configs. Autonomous invocation is allowed by default but the skill's instructions are passive templates, so there is no surprising privilege escalation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawhub-skill-template
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawhub-skill-template 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始版本:提供完整的ClawHub技能开发模板,包含SKILL.md和package.json标准格式,帮助开发者快速发布技能
元数据
Slug clawhub-skill-template
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

ClawHub 技能开发模板 是什么?

ClawHub技能开发标准模板,包含完整的目录结构、SKILL.md模板、package.json模板,一键初始化新技能项目,帮助你快速发布技能到ClawHub。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 119 次。

如何安装 ClawHub 技能开发模板?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawhub-skill-template」即可一键安装,无需额外配置。

ClawHub 技能开发模板 是免费的吗?

是的,ClawHub 技能开发模板 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

ClawHub 技能开发模板 支持哪些平台?

ClawHub 技能开发模板 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ClawHub 技能开发模板?

由 xiatian5(@xiatian5)开发并维护,当前版本 v1.0.0。

💬 留言讨论