Clawhub Publishing Workflow
by @stefanferreira
Complete workflow for publishing OpenClaw skills to ClawHub - includes authentication troubleshooting, bot detection workarounds, and the mother skill philos...
clawhub install clawhub-publishing-workflowπ About This Skill
name: ClawHub Publishing Workflow description: Complete workflow for publishing OpenClaw skills to ClawHub - includes authentication troubleshooting, bot detection workarounds, and the mother skill philosophy. status: Production Ready version: 1.0.0
ClawHub Publishing Workflow π
Description: Complete workflow for publishing OpenClaw skills to ClawHub - includes authentication troubleshooting, bot detection workarounds, and the mother skill philosophy.
Status: β PRODUCTION READY (Version 1.0.0)
π― When to Use
π Prerequisites
1. ClawHub CLI installed:
npm install -g clawhub
2. GitHub account (for ClawHub registration) 3. ClawHub API token from: https://clawhub.ai/settings/tokens
π Complete Workflow
Phase 1: Authentication (DISCOVERED METHOD)
# Get token from ClawHub settings (format: clh_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
Then use the CORRECT authentication method (discovered through trial and error):
clawhub login --token "YOUR_TOKEN_HERE" --no-browserVerify authentication:
clawhub whoami
Should show: β your-username
WRONG METHODS WE TRIED:
β export CLAWHUB_TOKEN="token" (doesn't work)
β echo "token" > ~/.clawhub/token (doesn't work)
β
clawhub login --token "token" --no-browser (CORRECT)
Phase 2: Skill Preparation
# 1. Create skill directory structure
your-skill/
βββ SKILL.md
βββ references/ (optional)
βββ templates/ (optional)
βββ scripts/ (optional)
βββ assets/ (optional)2. Validate skill structure
./scripts/validate.sh3. Check for personal information (critical for community sharing)
grep -i "C:\\\\\\\\\|/home/\|password\|token\|secret" SKILL.md || echo "Clean"
Phase 3: Publishing
# IMPORTANT: Version must be valid semver (2.2.0 not 2.2)
clawhub publish /path/to/your-skill \
--slug "your-unique-slug" \
--name "Skill Display Name" \
--version "1.0.0" \
--changelog "Initial release"Slug rules:
- Lowercase, hyphens only
- Must be globally unique on ClawHub
- If taken, append "-v2" or "-backup"
Phase 4: Verification
# Skill undergoes security scan (takes a few minutes)
clawhub inspect your-slugOnce scan completes, skill is available at:
https://clawhub.ai/s/YOUR_USERNAME/your-slug
β οΈ Pitfalls & Solutions (LEARNED FROM EXPERIENCE)
Pitfall 1: Bot Detection (Vercel Security Checkpoint)
Symptoms: "We're verifying your browser" page blocks authentication Solution:clawhub login --token --no-browser)Pitfall 2: Incorrect Authentication Methods
Symptoms: "Not logged in" despite having token Solution: Use exact command:clawhub login --token TOKEN --no-browserPitfall 3: Invalid Semver Version
Symptoms: "--version must be valid semver" error Solution: Use proper semver: "1.0.0", "2.2.0" (not "2.2")Pitfall 4: Slug Conflicts
Symptoms: "Only the owner can publish updates" Solution: Check slug availability, use unique slugβ Verification Steps
Authentication Test
clawhub whoami
Expected: β username
Skill Structure Test
# Create validation script in your skill:
cat > scripts/validate.sh << 'EOF'
#!/bin/bash
echo "=== Skill Validation ==="
[ -f "SKILL.md" ] && echo "β
SKILL.md exists" || echo "β SKILL.md missing"
EOF
chmod +x scripts/validate.sh
Publish Test
# No dry-run option available, so publish small test skill first
π¦ Bot Detection & Camo Fox
When Browser Auth is Required
If you need browser authentication (for token generation): 1. Enable Camo Fox in BrowserBase dashboard 2. Configure residential proxies 3. Use browser with stealth features enabledEnvironment Variables for BrowserBase
export BROWSERBASE_CAMO_FOX=true
export BROWSERBASE_PROXY_TYPE=residential
π Mother Skill Philosophy
A mother skill is:
Brand Elements (Optional)
π§ Troubleshooting Commands
# Check CLI version
clawhub -VCheck authentication methods
clawhub auth --helpGet token help
clawhub login --helpList your published skills
Visit: https://clawhub.ai/u/YOUR_USERNAME
π Example Skill Structure
clawhub-publish-mother-skill/
βββ SKILL.md # Main documentation
βββ scripts/
β βββ validate.sh # Validation script
β βββ test-publish.sh # Test publishing
βββ references/
βββ checklist.md # Publishing checklist
βββ camo-fox.md # Bot detection guide
π Version History
π€ Community Contributions
This skill documents approaches discovered through trial and error. If you find better methods, update and share!
HELL YEAH, ClawHub publishing mastered! π―
*Based on real discovery: clawhub login --token TOKEN --no-browser* *British dry humour + canine personas optional but recommended*