← 返回
未分类 中文

Skill Release Pipeline

Automate packaging, pushing to GitHub, and publishing OpenClaw skills to ClawHub, managing versions and sync across platforms.
自动化打包并推送 OpenClaw 技能至 GitHub 和 ClawHub,管理版本及跨平台同步。
zerozlw zerozlw 来源
未分类 clawhub v1.0.0 1 版本 99731.2 Key: 无需
★ 0
Stars
📥 371
下载
💾 1
安装
1
版本
#ci#clawhub#distribution#github#latest#publish#skill

概述

Skill Publisher

Automate the full lifecycle of publishing OpenClaw skills: package → GitHub → ClawHub.

Prerequisites

  • gh CLI authenticated (gh auth status)
  • npx clawhub CLI authenticated (npx clawhub whoami)
  • A skill folder with a valid SKILL.md

Quick Start

Full Pipeline (package + GitHub + ClawHub)

# From the skill directory
scripts/publish.sh /path/to/skill-folder --repo owner/repo-name --version 1.0.0

Individual Steps

# 1. Validate & package only
scripts/validate.sh /path/to/skill-folder

# 2. Push to GitHub
scripts/push-github.sh /path/to/skill-folder --repo owner/repo-name

# 3. Publish to ClawHub
npx clawhub publish /path/to/skill-folder --version 1.0.0 --slug skill-name

Workflow

Step 1: Prepare the Skill Folder

Ensure the skill folder contains:

skill-name/
├── SKILL.md          (required — YAML frontmatter + markdown body)
├── LICENSE           (recommended — MIT)
├── examples/         (optional — usage examples)
├── scripts/          (optional — helper scripts)
├── references/       (optional — reference docs)
└── assets/           (optional — templates, images, fonts)

SKILL.md frontmatter must include:

---
name: skill-name
description: Clear description of what the skill does and when to activate it
---

Step 2: Push to GitHub

cd /path/to/skill-folder

# Init if needed
git init
git add -A
git commit -m "feat: initial release of skill-name"

# Create repo and push
gh repo create owner/repo-name --public --source=. --push

If the repo already exists:

git remote add origin https://github.com/owner/repo-name.git 2>/dev/null || true
git push -u origin main

Step 3: Publish to ClawHub

# Login if needed (opens browser)
npx clawhub login

# Publish with version
npx clawhub publish /path/to/skill-folder \
  --version 1.0.0 \
  --slug skill-name \
  --name "Display Name" \
  --tags "tag1,tag2"

# Verify
npx clawhub inspect skill-name

Note: ClawHub runs a security scan after publishing. The skill becomes searchable once the scan passes (usually within a few minutes).

Common Tasks

Update an Existing Skill

# 1. Make changes to the skill folder

# 2. Push to GitHub
cd /path/to/skill-folder
git add -A && git commit -m "fix: description of changes"
git push

# 3. Publish new version to ClawHub
npx clawhub publish /path/to/skill-folder --version 1.1.0

Fork an Existing Skill

npx clawhub publish /path/to/skill-folder \
  --version 1.0.0 \
  --slug my-fork-name \
  --fork-of original-skill@1.0.0

Check Publish Status

npx clawhub inspect skill-name
npx clawhub search skill-name

Troubleshooting

ErrorFix
------------
--version must be valid semverAdd --version x.y.z flag
Skill is hidden while security scan is pendingWait a few minutes, then retry inspect
Not logged inRun npx clawhub login
gh: not authenticatedRun gh auth login
fatal: remote origin already existsSafe to ignore, or use git remote set-url

Naming Conventions

  • Slug: lowercase, hyphens only (e.g., figma-plugin-writer)
  • Repo: match the slug (e.g., openclaw-figma-plugin-writer)
  • Version: semver (e.g., 1.0.0, 1.2.3)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 04:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 325,934
dev-programming

Docker Essentials

arnarsson
核心 Docker 命令和工作流程,包括容器管理、镜像操作和调试。
★ 38 📥 32,244
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,476