ClawHub 技能开发模板

v1.0.0

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

0· 116·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for xiatian5/clawhub-skill-template.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "ClawHub 技能开发模板" (xiatian5/clawhub-skill-template) from ClawHub.
Skill page: https://clawhub.ai/xiatian5/clawhub-skill-template
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install clawhub-skill-template

ClawHub CLI

Package manager switcher

npx clawhub@latest install clawhub-skill-template
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

chinesevk9748fzqedmah07137prqd0szh83wbmcclawhubvk9748fzqedmah07137prqd0szh83wbmcdevelopmentvk9748fzqedmah07137prqd0szh83wbmcgeneratorvk9748fzqedmah07137prqd0szh83wbmclatestvk9748fzqedmah07137prqd0szh83wbmcskillvk9748fzqedmah07137prqd0szh83wbmctemplatevk9748fzqedmah07137prqd0szh83wbmc
116downloads
0stars
1versions
Updated 4w ago
v1.0.0
MIT-0

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标准模板
  • 开发检查清单和最佳实践指南

相关链接


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

Comments

Loading comments...