← Back to Skills Marketplace
spikesubingrui-design

Skill Dual Publish

by SpikeSu · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
40
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install skill-dual-publish
Description
将 workspace/skills 下的新技能自动发布到 GitHub 与 ClawHub 双端口。 在创建/更新 SKILL.md 后必须执行。ClawHub slug: skill-dual-publish。 触发词:发布 skill / skill publish / 双端口发布 / publish to...
README (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

Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-dual-publish
  3. After installation, invoke the skill by name or use /skill-dual-publish
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
GitHub + ClawHub dual publish for workspace skills
Metadata
Slug skill-dual-publish
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Skill Dual Publish?

将 workspace/skills 下的新技能自动发布到 GitHub 与 ClawHub 双端口。 在创建/更新 SKILL.md 后必须执行。ClawHub slug: skill-dual-publish。 触发词:发布 skill / skill publish / 双端口发布 / publish to... It is an AI Agent Skill for Claude Code / OpenClaw, with 40 downloads so far.

How do I install Skill Dual Publish?

Run "/install skill-dual-publish" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Skill Dual Publish free?

Yes, Skill Dual Publish is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Skill Dual Publish support?

Skill Dual Publish is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Skill Dual Publish?

It is built and maintained by SpikeSu (@spikesubingrui-design); the current version is v1.0.0.

💬 Comments