Clawhub publish
Skill GDWhisper/fork-it.skill/.agents/skills/clawhub-publish
帮助你将 Claude Code Skill 发布到 ClawHub.ai。安装 CLI → 认证 → 准备目录 → 发布 → 排坑。From its SKILL.md
npx -y skills add GDWhisper/fork-it.skill --skill clawhub-publishAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 6 commands, including `npm install -g clawhub` and 5 more.
SKILL.md
2.5 KB, 833 tokens by cl100k_base, as published. Nobody here has run it
ClawHub 发布助手
指导你将 skill 发布到 ClawHub.ai 的完整流程。
工作流程
准备 → 安装CLI → 登录 → 准备目录 → 发布 → 验证
1. 安装 CLI
npm install -g clawhub
验证安装:
clawhub --version
2. 登录
clawhub login --device
会输出一个链接和验证码,打开浏览器访问并输入即可。验证登录:
clawhub whoami
3. 准备 skill 目录
发布目录结构示例:
my-skill/
├── SKILL.md # 技能定义(必须有 name: 和 invoke:)
├── _meta.json # 元数据(slug, version)
└── scripts/ # 配套脚本(可选但推荐)
└── my-script.mjs
SKILL.md 示例:
---
name: my-skill
description: 技能描述
invoke: /my-skill
---
_meta.json 示例:
{
"slug": "my-skill",
"version": "1.0.0"
}
4. 发布
clawhub skill publish \
--slug my-skill \
--name "My Skill" \
--version 1.0.0 \
./path/to/skill-dir
必传参数:
| 参数 | 说明 | 示例 |
|---|---|---|
--slug | 全局唯一标识,安装时用这个 | my-skill |
--name | 展示名称,不传会乱生成 | "My Skill" |
--version | 语义化版本号 | 1.0.0 |
可选参数:
| 参数 | 说明 |
|---|---|
--changelog | 版本说明 |
--tags | 标签,默认 latest |
5. 验证
clawhub inspect my-skill
确认 Moderation: CLEAN 表示通过安全扫描。
已知问题
展示名自动生成 bug
不传 --name 时 CLI 会从 slug 自动生成奇怪的名字(如 fork-it 变成 Fork It Publish)。
解决:发布时始终传 --name。
漏传脚本文件
skill 目录中如果有 scripts/ 等附属文件,CLI 会全部打包上传。确保发布前目录结构完整。
版本已存在
同一版本不能重复发布。更新内容时递增版本号即可。
常用命令速查
| 命令 | 用途 |
|---|---|
clawhub search <query> | 搜索已有 skill |
clawhub inspect <slug> | 查看 skill 详情 |
clawhub install <slug> | 安装 skill |
clawhub list | 查看已安装 skill |
clawhub whoami | 查看当前登录 |
clawhub skill publish <path> | 发布 skill |
clawhub login --device | 设备码登录 |
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.