← Back to Skills Marketplace
publish-skill-repo
by
Zhou Chang
· GitHub ↗
· v2.0.1
· MIT-0
67
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install publish-skill-repo
Description
将当前项目中的 Skill 发布到 GitHub 并同步到 ClawHub。新项目自动走完流程,已有仓库的项目会总结变更、确认提交信息和建议版本号。
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install publish-skill-repo - After installation, invoke the skill by name or use
/publish-skill-repo - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.1
Release v2.0.1 from GitHub
Metadata
Frequently Asked Questions
What is publish-skill-repo?
将当前项目中的 Skill 发布到 GitHub 并同步到 ClawHub。新项目自动走完流程,已有仓库的项目会总结变更、确认提交信息和建议版本号。 It is an AI Agent Skill for Claude Code / OpenClaw, with 67 downloads so far.
How do I install publish-skill-repo?
Run "/install publish-skill-repo" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is publish-skill-repo free?
Yes, publish-skill-repo is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does publish-skill-repo support?
publish-skill-repo is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created publish-skill-repo?
It is built and maintained by Zhou Chang (@zhouchang1988); the current version is v2.0.1.
More Skills