Publisher
by @tunaissacoding
Make your skills easy to understand and impossible to ignore
clawhub install publisherπ About This Skill
name: publisher description: Make your skills easy to understand and impossible to ignore
publisher
Professional documentation and publishing for Clawdbot skills
Generate adoption-optimized READMEs and publish to GitHub + ClawdHub with one command.
β οΈ Requirements
jq (for JSON parsing)gh CLI (GitHub operations)clawdhub CLI (publishing)π What It Does
Automates the complete publishing workflow:
Documentation Generation
1. Reads your SKILL.md to understand what the skill does 2. Generates 3 one-liner options using proven patterns 3. Creates a README following GitHub best practices: - Problem/solution upfront - Inverted pyramid structure - Emoji headers for scannability - Bold outcomes - Under 15% text highlighting 4. Updates SKILL.md frontmatter with chosen descriptionPublishing
5. Creates GitHub repository (if doesn't exist) 6. Pushes code to GitHub 7. Publishes to ClawdHub with auto-detected versionπ Installation
clawdhub install skill-publisher
π‘ Usage
cd ~/clawd/skills/your-skill
skill-publisher
The script will: 1. Show 3 one-liner options (choose or write your own) 2. Generate README preview 3. Ask for approval 4. Publish to GitHub + ClawdHub
π― One-Liner Generation Patterns
The tool generates options using three proven patterns:
Pattern A: Continuous Benefit
Keep [thing] [desired state] [timeframe]
Example: "Keep your Claude access token fresh 24/7"Pattern B: Elimination
[Do thing] without [pain point]
Example: "Build cross-device tools without hardcoding paths"Pattern C: Automation
Automatically [action] [thing] [when]
Example: "Automatically refresh tokens before they expire"π README Structure Generated
Follows the framework from GitHub's documentation best practices:
Essential Sections (above the fold)
Optional Sections (collapsible)
π§ How It Works
Phase 1: Analysis
Phase 2: One-Liner Generation
Analyzes your SKILL.md description and generates 3 options:Shows you all 3, lets you choose or write custom.
Phase 3: README Generation
Uses the template from~/clawd/templates/README-template.md:
Phase 4: Publishing
1. Checks forgh CLI (guides setup if missing)
2. Reads VERSION file for version number
3. Creates GitHub repo (using gh repo create)
4. Commits and pushes all files
5. Publishes to ClawdHub with clawdhub publishπ File Structure Expected
your-skill/
βββ SKILL.md # Required: skill description
βββ VERSION # Required: version number (e.g., "1.0.0")
βββ scripts/ # Optional: your scripts
β βββ main.sh
βββ README.md # Generated by this tool
βββ .gitignore # Optional
βοΈ Configuration
No configuration needed. The tool auto-detects everything from:
SKILL.md (name, description, requirements)VERSION (version number)scripts/ (code examples, dependencies)π Troubleshooting
"gh: command not found"
Install GitHub CLI:
brew install gh
gh auth login
"SKILL.md not found"
Create a minimal SKILL.md:
---
name: your-skill
description: Brief description of what it does
your-skill
More details about your skill here.
"VERSION file not found"
Create a VERSION file:
echo "1.0.0" > VERSION
π References
~/clawd/templates/README-template.mdLicense
MIT