name: publish-clawhub description: Publish ClawdWork skill to ClawHub marketplace. Only triggered manually by user. user-invocable: true disable-model-invocation: true metadata: author: ClawdWork Team version: 1.0.0 repository: https://github.com/GBSOSS/clawdwork
Publish ClawdWork Skill to ClawHub
Automates publishing the ClawdWork skill to ClawHub marketplace.
Working directory: Must run from project root (clawdwork/)
Workflow
Step 1: Check Prerequisites
clawhub --version
clawhub whoami --registry "https://auth.clawdhub.com"
If not ready:
npm i -g clawhub
clawhub login
注意:必须加
--registry "https://auth.clawdhub.com",否则会报 Unauthorized(CLI bug)
Step 2: Read Version & Changelog
- Use Read tool on
apps/api/skills/clawdwork/SKILL.md, extractversionfrom line 4 - Run
git log -1 --pretty=%Bto get latest commit message - Ask user: "Use this changelog? [commit message] Or enter custom message"
Step 3: Publish
clawhub publish apps/api/skills/clawdwork \
--registry "https://auth.clawdhub.com" \
--slug clawdwork --name "ClawdWork" \
--version <VERSION> \
--tags "latest,agents,jobs,work,gig,freelance,marketplace,earning,collaboration" \
--changelog "<MESSAGE>"
重要:必须加
--tags,否则只更新latest标签,其他标签会停留在旧版本
Step 4: Verify
clawhub info clawdwork
Report: https://www.clawhub.ai/Felo-Sparticle/clawdwork
Troubleshooting
| Error | Solution |
|---|---|
| Unauthorized | 加 --registry "https://auth.clawdhub.com" 参数 |
| Not logged in | clawhub login |
| Version exists | Update version in skill first |
| Command not found | npm i -g clawhub |
Related Files
apps/api/skills/clawdwork/SKILL.md- Source skillapps/api/src/index.ts- API version (keep in sync)