--- name: skill-multi-publisher version: 2.0.0 description: | One-command publish a Claude Code skill to ALL major marketplaces: GitHub (npx skills), ClawHub, and community marketplaces (composiohq/awesome-claude-skills, anthropics/skills, daymade/claude-code-skills, obra/superpowers-marketplace). Validates SKILL.md, auto-generates missing files, creates repos, publishes, and submits PRs to community directories. tags: ["skill", "publish", "github", "clawhub", "marketplace", "automation"] metadata: {"openclaw":{"emoji":"πŸš€"}} --- # Skill Multi-Publisher Publish a skill to ALL major marketplaces with one command. ## When to use When the user says: - "Publish this skill" / "发布这δΈͺskill" - "Push skill to all marketplaces" / "ε‘εΈƒεˆ°ζ‰€ζœ‰εΉ³ε°" - "Release this skill everywhere" - "Submit to awesome-claude-skills" ## Prerequisites - `gh` CLI installed and logged in (`gh auth status`) - `clawhub` CLI available and logged in (`clawhub whoami`) - `npm` CLI available and logged in when publishing an npm package (`npm whoami`) - Skill directory with valid `SKILL.md` containing YAML frontmatter (name + description) ## All Supported Platforms | Platform | Stars | Method | Install Command | |----------|-------|--------|-----------------| | GitHub (npx skills) | - | `gh repo create` + push | `npx skills add user/repo` | | ClawHub | - | `clawhub publish` | `clawhub install slug` | | npm | - | `npm publish` | `npm install -g name` | | composiohq/awesome-claude-skills | 41K+ | Fork + PR | `/plugin install` | | anthropics/skills | 86K+ | Fork + PR | `/plugin install` | | daymade/claude-code-skills | 600+ | Fork + PR | `/plugin install` | | obra/superpowers-marketplace | 595 | Fork + PR | `/plugin install` | | anthropics/claude-plugins-official | 9.3K | Form submission | `/plugin install` | | trailofbits/skills-curated | 252 | Fork + PR | `/plugin install` | | MadAppGang/claude-code | 242 | Fork + PR | `/plugin install` | ## Publish Flow ### Phase 1: Direct Publish (automated) #### Step 1: Validate ```bash head -10 SKILL.md ``` Required format: ```yaml --- name: my-skill-name version: 1.0.0 description: | What this skill does. At least 50 characters. tags: ["tag1", "tag2"] --- ``` #### Step 2: Auto-generate missing files If missing, create: - `LICENSE` (MIT, current year, git user.name) - `README.md` (from SKILL.md content, bilingual CN/EN if user is Chinese-speaking) #### Step 3: Publish to GitHub ```bash cd git init git add -A git commit -m "Release: v" gh repo create / --public --description "" --source . --push ``` #### Step 4: Publish to ClawHub ```bash clawhub publish \ --slug \ --name "" \ --version \ --tags "" \ --changelog "" ``` #### Step 5: Publish to npm If the skill ships as an npm package, verify that `package.json` points at the same skill version before publishing: ```bash cd npm pack --dry-run npm publish --access public ``` For scoped packages, use a public scope only when the package is meant to be installable by marketplace users. ### Phase 2: Community Marketplaces (PR submission) #### Step 6: Submit to composiohq/awesome-claude-skills (41K stars) This is the largest skill directory. Submit via PR: ```bash # Fork the repo gh repo fork composiohq/awesome-claude-skills --clone=false # Clone your fork gh repo clone /awesome-claude-skills /tmp/awesome-claude-skills cd /tmp/awesome-claude-skills # Create branch git checkout -b add- # Copy skill folder (only SKILL.md needed) mkdir cp /SKILL.md /SKILL.md # Commit and push git add -A git commit -m "Add : " git push origin add- # Create PR gh pr create \ --repo composiohq/awesome-claude-skills \ --title "Add " \ --body "$(cat <<'EOF' ## New Skill: ### What it does ### Install - npx skills add / - clawhub install ### Tested on - Claude Code CLI - OpenClaw EOF )" ``` #### Step 7: Submit to anthropics/skills (86K stars) Official Anthropic skill repo: ```bash gh repo fork anthropics/skills --clone=false gh repo clone /skills /tmp/anthropics-skills cd /tmp/anthropics-skills git checkout -b add- mkdir -p skills/ cp /SKILL.md skills//SKILL.md # Copy scripts if any cp -r /tools skills//tools 2>/dev/null || true cp -r /scripts skills//scripts 2>/dev/null || true git add -A git commit -m "Add skill" git push origin add- gh pr create \ --repo anthropics/skills \ --title "Add skill" \ --body "$(cat <<'EOF' ## Summary ## Skill Structure - SKILL.md with frontmatter (name, description, tags) - tools/ or scripts/ directory ## Testing Tested in Claude Code CLI. EOF )" ``` #### Step 8: Submit to daymade/claude-code-skills (623 stars, Chinese community) ```bash gh repo fork daymade/claude-code-skills --clone=false gh repo clone /claude-code-skills /tmp/daymade-skills cd /tmp/daymade-skills git checkout -b add- mkdir cp /SKILL.md /SKILL.md cp -r /scripts /scripts 2>/dev/null || true cp -r /tools /tools 2>/dev/null || true cp -r /references /references 2>/dev/null || true git add -A git commit -m "Add " git push origin add- gh pr create \ --repo daymade/claude-code-skills \ --title "Add " \ --body "$(cat <<'EOF' ## New Skill: ### Structure - SKILL.md (with YAML frontmatter) - tools/ or scripts/ ### Also available at - npx skills add / - clawhub install EOF )" ``` #### Step 9: Submit to obra/superpowers-marketplace (595 stars) ```bash gh repo fork obra/superpowers-marketplace --clone=false gh repo clone /superpowers-marketplace /tmp/superpowers cd /tmp/superpowers git checkout -b add- mkdir -p plugins//skills/ cp /SKILL.md plugins//skills//SKILL.md # Create plugin.json cat > plugins//.claude-plugin/plugin.json <", "description": "", "version": "" } PJSON git add -A git commit -m "Add plugin" git push origin add- gh pr create \ --repo obra/superpowers-marketplace \ --title "Add " \ --body "" ``` #### Step 10 (Optional): Submit to anthropics/claude-plugins-official For high-quality plugins only. Submit via official form: - URL: https://clau.de/plugin-directory-submission - Requires review by Anthropic team - Best for mature, well-tested plugins ### Phase 3: Report After all submissions, show summary: ``` Published v: Direct publish: βœ… GitHub: https://github.com// βœ… ClawHub: clawhub install βœ… Install: npx skills add / βœ… npm: npm install -g PR submitted: πŸ”„ composiohq/awesome-claude-skills (41K stars) - PR #xxx πŸ”„ anthropics/skills (86K stars) - PR #xxx πŸ”„ daymade/claude-code-skills (623 stars) - PR #xxx πŸ”„ obra/superpowers-marketplace (595 stars) - PR #xxx Manual: πŸ“‹ anthropics/claude-plugins-official - submit at clau.de/plugin-directory-submission ``` ## Update Flow For already-published skills: ```bash # GitHub: commit + push cd && git add -A && git commit -m "Update: " && git push # ClawHub: re-publish with bumped version clawhub publish --slug --version --changelog "" # npm: publish the package version from package.json npm publish --access public # Community PRs: update existing PR or create new one ``` ## Publishing Checklist - [ ] SKILL.md has YAML frontmatter (name, version, description) - [ ] description is at least 50 characters - [ ] No secrets (.env, credentials) in the directory - [ ] README.md exists with install instructions - [ ] LICENSE exists - [ ] package.json version matches SKILL.md when publishing to npm - [ ] All scripts are executable (chmod +x) ## Example prompts - "Publish this skill to all platforms" - "发布skillεˆ°ζ‰€ζœ‰εΈ‚εœΊ" - "Submit to awesome-claude-skills" - "Release v2.0.0 everywhere"