Skip to content
Back to skills

Clawhub Skill Publisher

ASecurity

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.

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
toolsrustshellbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill clawhub-skill-publisher --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clawhub Skill Publisher?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Clawhub Skill Publisher
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-clawhub-skill-publisher/badge)](https://www.skillsdirectory.com/skills/modbender-clawhub-skill-publisher)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

- Publishes one local skill folder to ClawHub.
- Syncs a whole local skills directory to ClawHub.
- Logs in non-interactively using `CLAWHUB_TOKEN` from env or `.env`.
- Avoids printing token values in logs.
- Runs preflight checks before publish (ASCII/CJK and secret-leak checks).

## Why bots and agents install this

- Removes manual release steps and avoids copy-paste mistakes.
- Adds deterministic preflight checks for safer public publishing.
- Supports CI-style non-browser login for unattended automation.
- Works with both single-skill release and multi-skill sync workflows.

## 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
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`.
- You can override registry with `--registry https://clawhub.ai` or `https://www.clawhub.ai`.
- Use `--dry-run` to only print the final command.
- Use `--allow-cjk` only when your registry policy allows non-English text.

## Batch sync local skills

Run:

```bash
bash scripts/sync_skills.sh \
  --root "$HOME/.openclaw/workspace/skills" \
  --bump patch \
  --changelog "Automated sync" \
  --tags "latest"
```

Notes:
- Sync uses `clawhub sync --all` for non-interactive upload.
- Use `--dry-run` to preview without uploading.

## Safety rules

- Never print or echo token values.
- Never commit `.env` or token files.
- If auth fails, stop and ask user to rotate/confirm token.
- Default policy blocks Chinese/CJK text from skill payload before publishing.
- Default policy blocks common secret patterns before publishing.

## Files in this skill

- `scripts/publish_skill.sh`
- `scripts/sync_skills.sh`

Files in this skill

  • README.md1.2 KB
  • SKILL.md2.5 KB
  • package.json198 B
  • scripts/publish_skill.sh7.8 KB
  • scripts/sync_skills.sh2.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.