返回顶部
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
安全检测
已通过
119
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

skill-publisher

Skill Publisher

自动化OpenClaw技能发布的完整生命周期:打包 → GitHub → ClawHub。

前置条件

  • - gh CLI已认证(gh auth status)
  • npx clawhub CLI已认证(npx clawhub whoami)
  • 包含有效SKILL.md的技能文件夹

快速开始

完整流程(打包 + GitHub + ClawHub)

bash

在技能目录中执行


scripts/publish.sh /path/to/skill-folder --repo owner/repo-name --version 1.0.0

分步操作

bash

1. 仅验证和打包


scripts/validate.sh /path/to/skill-folder

2. 推送到GitHub

scripts/push-github.sh /path/to/skill-folder --repo owner/repo-name

3. 发布到ClawHub

npx clawhub publish /path/to/skill-folder --version 1.0.0 --slug skill-name

工作流程

步骤1:准备技能文件夹

确保技能文件夹包含以下内容:

skill-name/
├── SKILL.md (必需 — YAML前置元数据 + Markdown正文)
├── LICENSE (推荐 — MIT)
├── examples/ (可选 — 使用示例)
├── scripts/ (可选 — 辅助脚本)
├── references/ (可选 — 参考文档)
└── assets/ (可选 — 模板、图片、字体)

SKILL.md前置元数据必须包含:

yaml



name: skill-name
description: 清晰描述技能的功能及触发条件


步骤2:推送到GitHub

bash
cd /path/to/skill-folder

如需初始化

git init git add -A git commit -m feat: initial release of skill-name

创建仓库并推送

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

如果仓库已存在:

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

步骤3:发布到ClawHub

bash

如需登录(将打开浏览器)


npx clawhub login

发布并指定版本

npx clawhub publish /path/to/skill-folder \ --version 1.0.0 \ --slug skill-name \ --name 显示名称 \ --tags tag1,tag2

验证

npx clawhub inspect skill-name

注意: ClawHub在发布后会进行安全扫描。扫描通过后(通常几分钟内),技能即可被搜索到。

常见任务

更新已有技能

bash

1. 修改技能文件夹内容

2. 推送到GitHub

cd /path/to/skill-folder git add -A && git commit -m fix: description of changes git push

3. 发布新版本到ClawHub

npx clawhub publish /path/to/skill-folder --version 1.1.0

复刻已有技能

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

检查发布状态

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

故障排除

错误解决方法
--version must be valid semver添加 --version x.y.z 参数
Skill is hidden while security scan is pending
等待几分钟后重试 inspect | | Not logged in | 运行 npx clawhub login | | gh: not authenticated | 运行 gh auth login | | fatal: remote origin already exists | 可忽略,或使用 git remote set-url |

命名规范

  • - Slug: 小写字母,仅使用连字符(例如 figma-plugin-writer)
  • 仓库: 与slug保持一致(例如 openclaw-figma-plugin-writer)
  • 版本: 语义化版本(例如 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

下载

⬇ 下载 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-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部