π¦ ClawHub
Skill Publisher
by @theashbhat
Create, validate, security-scan, and publish skills to ClawHub. Use when asked to "make a skill", "publish a skill", "create a new skill", "scaffold a skill"...
TERMINAL
clawhub install skillpubπ About This Skill
name: skill-publisher description: > Create, validate, security-scan, and publish skills to ClawHub. Use when asked to "make a skill", "publish a skill", "create a new skill", "scaffold a skill", "package this as a skill", or any request to build and distribute agent capabilities.
Skill Publisher
Build and publish skills to ClawHub in one flow.
Quick Start
1. Scaffold a new skill
bash {baseDir}/scripts/scaffold.sh [--dir ]
Creates a new skill folder with SKILL.md template and scripts/ directory.
Default output: ./skills/
2. Fill in the skill
Edit the generated SKILL.md:
name and description in frontmatter (description is critical for triggering)3. Validate
bash {baseDir}/scripts/validate.sh
Checks:
name and description4. Security scan
bash {baseDir}/scripts/security-scan.sh
Scans for red flags:
5. Publish
bash {baseDir}/scripts/publish.sh --slug --version
Pushes to ClawHub. Requires clawhub login first.
One-liner (for simple skills)
bash {baseDir}/scripts/scaffold.sh my-skill && \
# edit skills/my-skill/SKILL.md ... && \
bash {baseDir}/scripts/validate.sh skills/my-skill && \
bash {baseDir}/scripts/security-scan.sh skills/my-skill && \
bash {baseDir}/scripts/publish.sh skills/my-skill --slug my-skill --version 1.0.0
Skill Anatomy Reminder
my-skill/
βββ SKILL.md β Required. Frontmatter (name, description) + instructions.
βββ scripts/ β Optional. Executable code (bash, python, etc.)
βββ references/ β Optional. Docs loaded on-demand into context.
βββ assets/ β Optional. Templates, images, files used in output.
Key principles:
π‘ Examples
1. Scaffold a new skill
bash {baseDir}/scripts/scaffold.sh [--dir ]
Creates a new skill folder with SKILL.md template and scripts/ directory.
Default output: ./skills/
2. Fill in the skill
Edit the generated SKILL.md:
name and description in frontmatter (description is critical for triggering)3. Validate
bash {baseDir}/scripts/validate.sh
Checks:
name and description4. Security scan
bash {baseDir}/scripts/security-scan.sh
Scans for red flags:
5. Publish
bash {baseDir}/scripts/publish.sh --slug --version
Pushes to ClawHub. Requires clawhub login first.