← 返回 Skills 市场
zhouchang1988

publish-skill-repo

作者 Zhou Chang · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ⚠ suspicious
67
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install publish-skill-repo
功能描述
将当前项目中的 Skill 发布到 GitHub 并同步到 ClawHub。新项目自动走完流程,已有仓库的项目会总结变更、确认提交信息和建议版本号。
安全使用建议
This skill appears to do what it says, but it will modify your repository and GitHub account (create repos, commit files, push, create tags, and set repository secrets). Before running: 1) review scripts/publish-skill-repo.sh and the generated workflow to ensure you trust them; 2) back up or test in a throwaway repo; 3) verify your gh CLI is logged into the intended GitHub account; 4) confirm the ClawHub token in ~/.clawhub/secret_token is correct and that you are comfortable it will be stored as the repo secret CLAWHUB_TOKEN; 5) consider running the script manually once to observe behavior (there is no built-in dry-run). If you are unsure, run the script on a non-production repo first and inspect the created .github/workflows/publish-to-clawhub.yml before pushing.
功能分析
Type: OpenClaw Skill Name: publish-skill-repo Version: 2.0.1 The skill bundle automates the creation of GitHub repositories and the deployment of skills to ClawHub, which involves high-risk operations. Specifically, the script `scripts/publish-skill-repo.sh` reads a sensitive API token from `~/.clawhub/secret_token` and uploads it to GitHub Secrets using the `gh` CLI. While these actions are consistent with the stated purpose of setting up CI/CD for the ClawHub platform, the broad permissions required to manage GitHub repositories and handle authentication tokens represent a significant attack surface if the skill were to be repurposed or if the `clawhub` npm package were compromised.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The name/description describe publishing a Skill to GitHub and ClawHub; the included script and SKILL.md implement exactly that (git init, create LICENSE/workflow, create GitHub repo, set CLAWHUB_TOKEN secret, push, tag, and create a CI step that runs clawhub). There are no unrelated credentials, binaries, or install steps required beyond gh and the ClawHub token.
Instruction Scope
Runtime instructions and the script operate on the repository (SKILL.md, .git, files) and a local ClawHub token file (~/.clawhub/secret_token). The agent/script runs git and gh commands, may create files (.github/workflows/publish-to-clawhub.yml, LICENSE), commit, push, and create tags — all within the stated scope. There is no hidden network exfiltration or access to unrelated system paths in the provided files.
Install Mechanism
This is an instruction-only skill with a helper shell script; there is no installer that downloads arbitrary archives or adds system-wide binaries. The generated workflow uses npm to install a 'clawhub' CLI in CI, which is expected for publishing to ClawHub.
Credentials
Metadata declares no required env vars, but the script expects the GitHub CLI (gh) to be authenticated and reads a local ClawHub token file at ~/.clawhub/secret_token. It then writes that token into the GitHub repository secret CLAWHUB_TOKEN via gh secret set. This behavior is consistent with the purpose, but users should note the skill accesses a local secrets file and will push that secret into GitHub.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or global agent settings. It does perform persistent actions on the target repository (create files, commit, push, create repo/secrets on GitHub), which are appropriate for a publishing tool but are privileged operations that require user consent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install publish-skill-repo
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /publish-skill-repo 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
Release v2.0.1 from GitHub
元数据
Slug publish-skill-repo
版本 2.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

publish-skill-repo 是什么?

将当前项目中的 Skill 发布到 GitHub 并同步到 ClawHub。新项目自动走完流程,已有仓库的项目会总结变更、确认提交信息和建议版本号。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。

如何安装 publish-skill-repo?

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

publish-skill-repo 是免费的吗?

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

publish-skill-repo 支持哪些平台?

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

谁开发了 publish-skill-repo?

由 Zhou Chang(@zhouchang1988)开发并维护,当前版本 v2.0.1。

💬 留言讨论