skill-publisher

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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skill-publisher" with this command: npx skills add theashbhat/skillpub

Skill Publisher

Build and publish skills to ClawHub in one flow.

Quick Start

1. Scaffold a new skill

bash {baseDir}/scripts/scaffold.sh <skill-name> [--dir <output-dir>]

Creates a new skill folder with SKILL.md template and scripts/ directory. Default output: ./skills/<skill-name>

2. Fill in the skill

Edit the generated SKILL.md:

  • Set name and description in frontmatter (description is critical for triggering)
  • Write clear instructions in the body
  • Add scripts/ for executable code, references/ for docs, assets/ for templates

3. Validate

bash {baseDir}/scripts/validate.sh <skill-folder>

Checks:

  • Required files exist (SKILL.md)
  • Frontmatter has name and description
  • Naming conventions (lowercase, hyphens)
  • No forbidden files (README.md, CHANGELOG.md, etc.)

4. Security scan

bash {baseDir}/scripts/security-scan.sh <skill-folder>

Scans for red flags:

  • Remote code execution / eval patterns
  • Data exfiltration (curl to unknown hosts)
  • Environment variable harvesting
  • Prompt injection in markdown files
  • Suspicious file permissions

5. Publish

bash {baseDir}/scripts/publish.sh <skill-folder> --slug <name> --version <x.y.z>

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:

  • Be concise. Context window is shared real estate.
  • Description in frontmatter is the trigger — make it comprehensive.
  • Progressive disclosure: SKILL.md body only loads when triggered.
  • Scripts > inline code for deterministic, repeated operations.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Agent Causal

Analyze experiment data with A/B tests and Difference-in-Differences to recommend shipping, continuing, or rolling back changes with detailed audit trails.

Registry SourceRecently Updated
Security

Code Review Inspector

Automated code review checking for bugs, security issues, best practices, performance problems, and code style

Registry SourceRecently Updated
250Profile unavailable
Security

Docker Optimizer

Optimize Dockerfiles with multi-stage builds, layer caching, security best practices, and size reduction techniques

Registry SourceRecently Updated
260Profile unavailable
Security

Skill Auditor

Audit core: a classification taxonomy and a severity scoring function, kept orthogonal. Operates on the whole skill bundle (SKILL.md plus any referenced scri...

Registry SourceRecently Updated
1250Profile unavailable