← 返回
未分类 Key 中文

Clawhub Publishing Workflow

Complete workflow for publishing OpenClaw skills to ClawHub - includes authentication troubleshooting, bot detection workarounds, and the mother skill philos...
完整的 OpenClaw 技能发布至 ClawHub 的工作流程——包括身份验证故障排除、机器人检测规避和母技能 Philos...
stefanferreira
未分类 clawhub v1.0.3 1 版本 100000 Key: 需要
★ 0
Stars
📥 382
下载
💾 1
安装
1
版本
#latest

概述

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

  • Publishing a new skill to ClawHub for the first time
  • Updating an existing published skill
  • Troubleshooting ClawHub authentication issues
  • Understanding bot detection challenges with ClawHub
  • Implementing the "mother skill" philosophy

📋 Prerequisites

  1. ClawHub CLI installed:

```bash

npm install -g clawhub

```

  1. GitHub account (for ClawHub registration)
  2. 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-browser

# Verify 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.sh

# 3. 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-slug

# Once 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:

  • Use token authentication (clawhub login --token --no-browser)
  • For browser auth: Enable Camo Fox + residential proxies in BrowserBase

Pitfall 2: Incorrect Authentication Methods

Symptoms: "Not logged in" despite having token

Solution: Use exact command: clawhub login --token TOKEN --no-browser

Pitfall 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 enabled

Environment Variables for BrowserBase

export BROWSERBASE_CAMO_FOX=true
export BROWSERBASE_PROXY_TYPE=residential

🐕 Mother Skill Philosophy

A mother skill is:

  • Comprehensive: End-to-end solution for a specific problem
  • Battle-tested: Proven in real-world use
  • Community-evolved: Improves with community feedback
  • Branded: British dry humour + canine wisdom (optional but fun)

Brand Elements (Optional)

  • British phrases: "Right then", "Bob's your uncle", "Sorted"
  • Canine personas: Romeo, Luna, Buster, Thomas
  • Signature: "Put that in your pipe and smoke it!"

🔧 Troubleshooting Commands

# Check CLI version
clawhub -V

# Check authentication methods
clawhub auth --help

# Get token help
clawhub login --help

# List 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

  • v1.0.0: Initial skill creation with discovered authentication method
  • v1.0.1: Added bot detection guidance and mother skill philosophy

🤝 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

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-05-07 05:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Clawhub Publishing Mother Skill

stefanferreira
终极OpenClaw发布技能,内置独特个性。发布技能、追踪影响力、活跃社区,以标志性的Stef风格完成一切...
★ 0 📥 350

Browser Automation Core

stefanferreira
OpenClaw代理的核心浏览器自动化库,提供可复用的导航、交互和捕获功能,支持Facet(Onshape学习)等。
★ 0 📥 443

Email Web Interface

stefanferreira
用于代理邮件通信的网页界面(Lourens、Ace等)。提供收件箱查看、草稿创建/编辑以及通过Gmail/Gog CLI发送功能。
★ 0 📥 347