返回顶部
s

skill-publisher

Package, publish, and distribute OpenClaw skills to GitHub and ClawHub. Activate when user wants to: (1) package a skill folder for distribution, (2) push a skill to a GitHub repo, (3) publish a skill to ClawHub registry, (4) sync a skill across GitHub and ClawHub. NOT for: creating skill content, writing SKILL.md, or installing skills.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
96
下载量
0
收藏
概述
安装方式
版本历史

skill-publisher

# 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) ```bash # From the skill directory scripts/publish.sh /path/to/skill-folder --repo owner/repo-name --version 1.0.0 ``` ### Individual Steps ```bash # 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:** ```yaml --- name: skill-name description: Clear description of what the skill does and when to activate it --- ``` ### Step 2: Push to GitHub ```bash 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: ```bash 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 ```bash # 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 ```bash # 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 ```bash 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 ```bash npx clawhub inspect skill-name npx clawhub search skill-name ``` ## Troubleshooting | Error | Fix | |-------|-----| | `--version must be valid semver` | Add `--version x.y.z` flag | | `Skill is hidden while security scan is pending` | Wait a few minutes, then retry `inspect` | | `Not logged in` | Run `npx clawhub login` | | `gh: not authenticated` | Run `gh auth login` | | `fatal: remote origin already exists` | Safe 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`)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 skill-release-pipeline-1776073741 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 skill-release-pipeline-1776073741 技能

通过命令行安装

skillhub install skill-release-pipeline-1776073741

下载 Zip 包

⬇ 下载 skill-publisher v1.0.0

文件大小: 5.05 KB | 发布时间: 2026-4-14 10:32

v1.0.0 最新 2026-4-14 10:32
Initial release of the Skill Publisher for OpenClaw:

- Automates the full pipeline to package, publish, and distribute OpenClaw skills via GitHub and ClawHub.
- Supports validating and packaging skill folders, pushing to GitHub repos, publishing to ClawHub registry, and syncing across both platforms.
- Provides scripts and CLI usage for each step, including troubleshooting and best practices.
- Includes guidance on folder structure, SKILL.md requirements, naming conventions, and common update/forking workflows.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部