← 返回 Skills 市场
spikesubingrui-design

Skill Dual Publish

作者 SpikeSu · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
40
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install skill-dual-publish
功能描述
将 workspace/skills 下的新技能自动发布到 GitHub 与 ClawHub 双端口。 在创建/更新 SKILL.md 后必须执行。ClawHub slug: skill-dual-publish。 触发词:发布 skill / skill publish / 双端口发布 / publish to...
使用说明 (SKILL.md)

Skill 双端口发布(GitHub + ClawHub)

Spike 创建的每个 workspace skill 必须 发布到两个端口:

端口 用途
GitHub 开源仓库、README、Star、版本历史
ClawHub clawhub install \x3Cslug> 一键安装

何时执行(强制)

在以下任一场景完成后立即运行(不要等用户提醒):

  1. 新建 workspace/skills/\x3Cname>/SKILL.md 并通过用户认可
  2. 对已有 skill 做值得发布的版本更新
  3. skillify 脚手架完成、stub 替换为真实内容后

一键命令

bash ~/.openclaw/workspace/scripts/skill-publish-dual.sh \x3Cskill-name>

示例:

bash ~/.openclaw/workspace/scripts/skill-publish-dual.sh human-distill
bash ~/.openclaw/workspace/scripts/skill-publish-dual.sh my-skill --bump patch -c "Fix triggers"

必须用 skill 文件夹名或绝对路径。 ClawHub 对相对路径 . 会报 SKILL.md required——脚本已用绝对路径规避。

发布前检查清单

  • SKILL.mdnameversiondescription(semver)
  • name 与文件夹名一致(kebab-case)
  • 首次发布 version: 1.0.0;更新用 --bump patch|minor|major
  • clawhub whoami 已通过(一次性 clawhub login
  • gh auth status 已通过

选项

标志 作用
--dry-run 只打印计划
--skip-github 仅 ClawHub
--skip-clawhub 仅 GitHub
--no-scaffold 不自动生成 README/LICENSE
--no-agents 不写 AGENTS.md skillpack 行

配置

默认:skill-publish.defaults.json

本地覆盖(不提交 git):skills/skill-publish.local.json

{
  "github_owner": "spikesubingrui-design",
  "github_visibility": "public"
}

脚本自动完成

  1. 补齐 LICENSE / README.md(若缺失)
  2. git initgh repo creategit push(若无远程)
  3. 更新 SKILL.mdhomepage: 为 GitHub URL
  4. clawhub publish \x3C绝对路径> --slug ... --version ...
  5. AGENTS.md skillpack 表追加一行(若尚无)

失败处理

错误 处理
Not logged in 用户本机执行 clawhub login
ClawHub 版本已存在 --bump patch 后重跑
SKILL.md required 勿手写 clawhub publish .;用本脚本

与 skillify 的关系

skillify 第 11 步 = 本 skill。十项检查全绿后执行 skill-publish-dual.sh

安全使用建议
Install only if you want your agent to publish skills to GitHub and ClawHub. Before using it, inspect or provide the referenced skill-publish-dual.sh script, prefer --dry-run first, and require explicit confirmation for the target skill, repository visibility, version bump, files to publish, and whether GitHub and ClawHub publishing should both proceed.
能力评估
Purpose & Capability
The described capability matches the stated purpose: publishing workspace skills to GitHub and ClawHub, including README/LICENSE scaffolding, repository creation, git push, homepage updates, and ClawHub publication.
Instruction Scope
The instructions say the workflow must run immediately after certain skill creation or update events and not wait for the user to remind it, which creates high-impact publishing authority without clear per-run user confirmation.
Install Mechanism
The artifact itself contains only markdown files, but its main action depends on running an external local script at ~/.openclaw/workspace/scripts/skill-publish-dual.sh, which is not included in the reviewed artifact.
Credentials
Using GitHub and ClawHub credentials, creating public repositories by default, pushing local files, and publishing packages are proportionate to a publish skill, but high-impact enough that the scope and confirmation requirements should be explicit.
Persistence & Privilege
The workflow includes persistent local and remote changes: git initialization, remote repository creation, git push, SKILL.md homepage modification, ClawHub publication, and AGENTS.md updates.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skill-dual-publish
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skill-dual-publish 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
GitHub + ClawHub dual publish for workspace skills
元数据
Slug skill-dual-publish
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Skill Dual Publish 是什么?

将 workspace/skills 下的新技能自动发布到 GitHub 与 ClawHub 双端口。 在创建/更新 SKILL.md 后必须执行。ClawHub slug: skill-dual-publish。 触发词:发布 skill / skill publish / 双端口发布 / publish to... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 40 次。

如何安装 Skill Dual Publish?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install skill-dual-publish」即可一键安装,无需额外配置。

Skill Dual Publish 是免费的吗?

是的,Skill Dual Publish 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Skill Dual Publish 支持哪些平台?

Skill Dual Publish 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Skill Dual Publish?

由 SpikeSu(@spikesubingrui-design)开发并维护,当前版本 v1.0.0。

💬 留言讨论