github

github is a skill for Claude Code, Codex from zhinjs/zhin. It costs 58 tokens per session (1,044 once invoked), scanned A, original, MIT.

A writing guide for GitHub issues, pull requests, code reviews, and release notes in Zhin projects. GitHub is a service where teams track bugs, discuss changes, review code, and publish project updates.

In plain words
What is it for?
Use it to write issue reports, pull request descriptions, review comments, changelog entries, and test plans for Zhin projects.
Why use it?
It helps turn technical work and test results into clear text that teammates can review or paste into GitHub. It also keeps bug reports, change summaries, risks, and release notes structured.

Skill for Claude CodeCodex

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

Good fit Use it to write issue reports, pull request descriptions, review comments, changelog entries, and test plans for Zhin projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhinjs/zhin/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 zhinjs/zhin --skill github
Clone the repo
git clone --depth 1 https://github.com/zhinjs/zhin

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/zhinjs/zhin/github/github.svg)](https://agentmods.dev/skills/zhinjs/zhin/github)
Your own site
<a href="https://agentmods.dev/skills/zhinjs/zhin/github"><img src="https://agentmods.dev/badge/skills/zhinjs/zhin/github/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhinjs/zhin/github"><img src="https://agentmods.dev/badge/skills/zhinjs/zhin/github.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,044 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 pass 7 Sept 2026
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.00058 $0.01044
Opus 5.5 $0.00023 $0.00418
Sonnet 5.5 $0.00012 $0.00209
Haiku 4.5 $0.00006 $0.00104

Measured 14d ago against content hash 4b213db83599, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 14d 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.

packages/toolkit/create-zhin/template/skills/github/SKILL.md · 135 lines

How it starts

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

GitHub

为 Zhin 生态仓库生成可直接粘贴的 GitHub 文案(Issue / PR / Review / Release),不代替 gh 执行发布。

何时使用

  • 写 Bug 报告、功能请求、PR 说明、Review 意见、版本发布说明
  • 需要把本地验证结果整理成「Test plan」
  • 不要用来改代码逻辑(除非用户明确要求附带补丁说明)

工作流

Issue

  1. 标题:[area] 简短问题陈述(area 如 agent / adapter-icqq / cli)
  2. 输出完整 Markdown(可直接贴 GitHub):
## 环境
- Node: v24.x
- zhin.js / @zhin.js/*: (版本或 commit)
- 适配器: icqq / telegram / ...
- OS: macOS / Linux

## 复现步骤
1. ...
2. ...

## 期望行为
...

## 实际行为
...

## 日志 / 截图
(脱敏;无 token)

Pull Request

  1. 输出完整 Markdown:
## Summary
- ...

## Test plan
- [x] `pnpm --filter @zhin.js/core test`
- [x] `pnpm type-check`
- [ ] `pnpm test`(如未跑则写原因)

## Risk
- Breaking: `zhin.config` `bots` → `endpoints`(如适用)
- DB: 自动迁移 `bot_id` → `endpoint_id`(如适用)

## Changeset
- [ ] 已添加 changeset(monorepo 发布包时必填)
  1. monorepo 常用验证命令(按改动范围选子集):
pnpm --filter <pkg> build
pnpm --filter <pkg> test
pnpm type-check
pnpm check:architecture   # 跨层改动时

Review

  • 按文件或主题分组
  • 区分 blocking vs nit
  • 给出具体修改建议,避免空泛「建议优化」

Release notes

  • 按 Keep a Changelog:Added / Changed / Fixed / Breaking
  • Breaking 必须写迁移步骤(如 bots: → endpoints:)

失败与兜底

触发条件 一线处理 仍失败
信息不足 列出缺失项(版本、配置、日志),🔴 暂停生成 用户补充后再写
含 token/密钥 删除敏感字段,用 <REDACTED> 占位 提醒用户轮换已泄漏凭证
gh 不可用 只输出 Markdown;给出 gh issue create / gh pr create 示例命令 用户手动在网页创建

🔴 CHECKPOINT · 敏感信息

生成前扫描:API token、.env 内容、私聊 ID、内网 URL。命中则不得写入 Issue/PR 正文。

不要做什么

  • 不要在 Issue/PR 里贴完整 zhin.config.yml 密钥
  • 不要编造未运行的测试结果为「已通过」
  • 不要把内部机器 hostname/IP 写进公开 issue
  • 不要用 PR 描述代替 Changeset(monorepo 发布流程)
  • 不要对非 Zhin 仓库套用 packages/im 分层术语

工具

用户要求代发时,在项目根用 gh(需已 gh auth login):

gh issue create --title "..." --body-file /tmp/issue.md
gh pr create --title "..." --body-file /tmp/pr.md

延伸阅读

文档 路径
贡献与 PR 流程 docs/agents/issue-tracker.md
Changeset 根目录 pnpm changeset
架构约束 AGENTS.md

Read the full file on GitHub · 135 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. 14d ago Changed · +3 lines 4b213db83599
  2. 3mo ago First seen · 132 lines · 58 tokens per session scan A dc7dfe7ffd17

Subscribe to this mod's changes

github is a skill published in the GitHub repository zhinjs/zhin (136 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 1,044 once invoked, about $0.0002 per session on Opus 5.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-08-30.

Related

github compared with skills from other repositories

github next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
githubzhinjs/zhinSkill136todayMITA58Claude Code, Codex
pr-commentnearform/lastlightSkill49yesterdayMITA41Claude Code, Codex
vllm-daily-pr-issue-trackerascend-ai-coding/awesome-ascend-skillsSkill187yesterdaynoneA106Claude Code, Codex
github-apiabel30567/fermi-mcpSkill1todayMITA36Claude Code
add_repo_instranbot-ai/awesome-skillsSkill15todaynoneA35Claude Code, Codex
agent_sdk_builderranbot-ai/awesome-skillsSkill15todaynoneA42Claude Code, Codex
oss-contribution-hunterfindscripter/everything-skillsSkill122d agononeA134Claude Code