agentsclimarketplace

Clawhub publish

Skill GDWhisper/fork-it.skill/.agents/skills/clawhub-publish

帮助你将 Claude Code Skill 发布到 ClawHub.ai。安装 CLI → 认证 → 准备目录 → 发布 → 排坑。From its SKILL.md

Install
npx -y skills add GDWhisper/fork-it.skill --skill clawhub-publish

Assembled 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.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.