π¦ ClawHub
ClawHub Skill Publisher
by @wanng-ide
Publishes and syncs local bot skills to ClawHub using non-browser login, preflight safety checks, and automated release scripts for single or batch workflows.
TERMINAL
clawhub install clawhub-skill-publisherπ About This Skill
name: clawhub-skill-publisher description: Trusted publish assistant for bot and agent teams. Publishes and syncs local skills to ClawHub with non-browser token login, preflight safety checks, and repeatable release flow. Use when users ask to upload, publish, sync, or release skills to clawhub.ai.
ClawHub Skill Publisher
What this skill does
CLAWHUB_TOKEN from env or .env.Why bots and agents install this
Preconditions
1. clawhub CLI is installed.
2. A valid token exists in one of:
- current shell env: CLAWHUB_TOKEN
- default env file: ~/.openclaw/.env
3. Skill directory contains SKILL.md (or skill.md).
Single skill publish
Run:
bash scripts/publish_skill.sh \
--path "$HOME/.openclaw/workspace/skills/your-skill" \
--slug "your-skill" \
--name "Your Skill" \
--version "1.0.0" \
--changelog "Initial publish" \
--tags "latest"
Notes:
--slug, --name, and --version are optional. The script tries to infer them from package.json and _meta.json.--registry https://clawhub.ai or https://www.clawhub.ai.--dry-run to only print the final command.--allow-cjk only when your registry policy allows non-English text.Batch sync local skills
Run:
bash scripts/sync_skills.sh \
--root "$HOME/.openclaw/workspace/skills" \
--bump patch \
--changelog "Automated sync" \
--tags "latest"
Notes:
clawhub sync --all for non-interactive upload.--dry-run to preview without uploading.Safety rules
.env or token files.Files in this skill
scripts/publish_skill.shscripts/sync_skills.sh