词元之母TOK.MOM - 平台充值汇率 1:1 即 1 人民币充值到账 1 美元,支持一个 Key 调用近 600+ 海内外模型,限时特价模型低至 1 折,欢迎上岸!

| 来源 | 内置(默认安装) |
| 路径 | skills/github/github-repo-management |
| 版本 | 1.1.0 |
| 作者 | Hermes Agent |
| 许可证 | MIT |
| 平台 | linux, macos, windows |
| 标签 | GitHub, Repositories, Git, Releases, Secrets, Configuration |
| 相关 skill | github-auth, github-pr-workflow, github-issues |
gh 命令,然后是 git + curl 的备用方案。github-auth skill)git 命令——两种方式完全一致:gh secret set 要简便得多。如果需要设置 secret 但 gh 不可用,建议仅为此操作安装它。| 操作 | gh | git + curl |
|---|---|---|
| 克隆 | gh repo clone o/r | git clone https://github.com/o/r.git |
| 创建仓库 | gh repo create name --public | curl POST /user/repos |
| Fork | gh repo fork o/r --clone | curl POST /repos/o/r/forks + git clone |
| 仓库信息 | gh repo view o/r | curl GET /repos/o/r |
| 编辑设置 | gh repo edit --... | curl PATCH /repos/o/r |
| 创建发布 | gh release create v1.0 | curl POST /repos/o/r/releases |
| 列出工作流 | gh workflow list | curl GET /repos/o/r/actions/workflows |
| 重跑 CI | gh run rerun ID | curl POST /repos/o/r/actions/runs/ID/rerun |
| 设置 secret | gh secret set KEY | curl PUT /repos/o/r/actions/secrets/KEY(需加密) |