github

github is a skill for Claude Code, Codex from seaworld008/Commonly-used-high-value-skills. It costs 32 tokens per session (2,216 once invoked), scanned A, original, MIT.

A GitHub automation skill for managing issues, pull requests, reviews, checks, releases, labels, and repository information through the GitHub command line tool.

In plain words
What is it for?
It helps create and update issues and pull requests, read CI results, handle reviews, manage releases, and maintain repository metadata.
Why use it?
It avoids switching between many GitHub screens and provides a repeatable way to inspect and update repository work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit It helps create and update issues and pull requests, read CI results, handle reviews, manage releases, and maintain repository metadata.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seaworld008/commonly-used-high-value-skills/github
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add seaworld008/Commonly-used-high-value-skills --skill github
Clone the repo
git clone --depth 1 https://github.com/seaworld008/Commonly-used-high-value-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github

README.md
[![agentmods](https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/github.svg)](https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/github)
Your own site
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/github"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/github.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,216 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 23
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.02216
Opus 5 $0.00016 $0.01108
Sonnet 5 $0.00006 $0.00443
Haiku 4.5 $0.00003 $0.00222

Measured 4d ago against content hash f78d268b7277, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

github scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

openclaw-skills/github/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub

当任务涉及 GitHub 仓库协作(Issue/PR/CI/Review)时使用。GitHub 技能是连接本地代码环境与远程协作平台的桥梁,它通过封装 gh CLI 工具,使 Agent 能够执行从“创建 Issue 跟踪 Bug”到“合并经过评审的 PR”全生命周期的自动化管理。

安装

npx clawhub@latest install github

触发场景

  • 创建、分配、更新 Issue 与 Milestone:快速将用户提出的功能点转化为可跟踪的条目。
  • 批量处理 PR 评论、状态和合并策略:在多人评审的大型 PR 中,自动汇总反馈并提交合并请求。
  • 读取 CI 失败日志并生成修复清单:当 GitHub Actions 运行失败时,自动拉取日志并利用 gh-fix-ci 技能进行修复。
  • 汇总仓库活动用于周报或复盘:从 gh pr listgh issue list 中提取数据,生成具有洞察力的协作报告。
  • 发布管理 (Releases):自动生成 Release Note 并发布新的版本包。
  • 权限与项目维护:管理 Repo 的 Labels, Topics 以及 Collaborators。

推荐流程

  1. 环境准备 (Setup):明确目标仓库(Owner/Repo)、当前分支、目标(如修复 CI 或处理 Review)。
  2. 状态感知 (Sensing):拉取当前 PR / Issue / Workflow Run 的最新元数据。
  3. 策略生成 (Planning):执行动作前先生成“变更预览”(Preview),描述将要修改的标签、关闭的 Issue 或触发的 Action,避免大规模误操作。
  4. 动作执行 (Execution):调用 gh 指令执行具体动作。
  5. 状态同步 (Sync):执行后回写结果(如回复评论、添加标签、同步状态到 MEMORY.md)。

本机 gh 认证优先

在任何 GitHub 自动化前,先执行:

gh auth status

如果仓库脚本需要 GitHub API,但环境里没有显式的 GITHUB_TOKEN / GH_TOKEN,优先复用本机 gh auth token,而不是直接走未认证请求。这样可以显著减少:

  • 401 Unauthorized
  • 过早触发的 API rate limit
  • 因匿名搜索受限导致的“误以为没有更新”

触发条件 / When to Use

  • 代码提交前夕:需要创建 PR 以启动团队评审。
  • CI/CD 构建失败:当 GitHub Actions 报错时,Agent 自动响应。
  • 团队协作同步:需要快速查看当前仓库中有哪些 Unresolved 的 Issue。
  • 发布周期点:需要从 Git Commits 中提取变更日志(Changelog)并创建 Release。
  • 安全审计:定期扫描仓库的 Dependabot 警告并尝试自动修复。

核心能力 / Core Capabilities

1. 深度 Issue 管理 (Issue Lifecycle)

  • 操作步骤
    1. 使用 gh issue create 创建结构化 Issue。
    2. 使用 gh issue edit 增加标签(Label)、里程碑(Milestone)和受指派人(Assignee)。
    3. 通过 gh issue comment 与协作者进行交互。
  • 最佳实践:为每一类 Issue 设计标准的模板(Bug Report, Feature Request),提高沟通效率。

2. PR 全链路自动化 (Pull Request Mastery)

  • 操作步骤
    1. 创建 PR:gh pr create --fill --draft
    2. 读取 Review 建议:gh pr view --json reviews
    3. 执行合并:gh pr merge --auto --squash
  • 最佳实践:在合并前,先运行 gh pr checks 确保所有的 CI 检查项均已通过。

3. Workflow 与 CI/CD 故障排查 (Actions/Workflow)

  • 操作步骤
    1. 列出最近的运行记录:gh run list --limit 5
    2. 如果失败,下载日志:gh run view <run_id> --log
    3. 分析报错日志,定位到具体的 Step 和文件行号。
  • 最佳实践:结合客户端内置 Web Search 或 deep-research,检索该报错日志的官方文档、Issue 和可靠技术资料。

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 147 lines · 32 tokens per session scan A f78d268b7277

Subscribe to this mod's changes

github is a skill published in the GitHub repository seaworld008/Commonly-used-high-value-skills (70 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 2,216 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.