github

github is a skill for Claude Code, Codex from diillson/chatcli. It costs 78 tokens per session (670 once invoked), scanned A, original, Apache-2.0.

A terminal workflow for GitHub, the code-hosting service used for repositories, issues, pull requests, and automated checks.

In plain words
What is it for?
Creating issues and pull requests, making commits, reviewing changes, checking CI, and merging pull requests.
Why use it?
It brings common repository tasks into the command line, including checking whether changes pass CI, meaning automated tests and checks.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/diillson/chatcli/github
Any agent
npx skills add diillson/chatcli --skill github
Clone the repo
git clone --depth 1 https://github.com/diillson/chatcli

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/diillson/chatcli/github.svg)](https://agentmods.dev/skills/diillson/chatcli/github)
Your own site
<a href="https://agentmods.dev/skills/diillson/chatcli/github"><img src="https://agentmods.dev/badge/skills/diillson/chatcli/github.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 670 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00078 $0.00670
Opus 5 $0.00039 $0.00335
Sonnet 5 $0.00016 $0.00134
Haiku 4.5 $0.00008 $0.00067

Measured yesterday against content hash e47a5e95d175, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**`git` + the REST API via `curl`** with a `GITHUB_TOKEN`/`GH_TOKEN` when `gh` is absent.
pkg/persona/builtin/skills/github/SKILL.md · 77 lines

What it actually says

GitHub Workflow

Drive GitHub from the terminal. Prefer the gh CLI (handles auth + API); fall back to git + the REST API via curl with a GITHUB_TOKEN/GH_TOKEN when gh is absent.

Step 0 — Detect auth method (run once)

  • macOS / Linux: command -v gh >/dev/null && gh auth status >/dev/null 2>&1 && echo gh || echo git
  • Windows: if (Get-Command gh -ErrorAction SilentlyContinue) { gh auth status }

If neither gh nor a token is available, tell the user to run gh auth login or set GITHUB_TOKEN, and stop.

Issues

gh issue list --limit 20
gh issue create --title "Bug: X fails on Y" --body "..."
gh issue view 123 --comments
gh issue close 123

REST fallback: curl -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/repos/OWNER/REPO/issues

Pull request lifecycle

git checkout -b fix/the-thing
# ...edits, then commit (follow repo conventions)...
git push -u origin fix/the-thing
gh pr create --fill                       # or --title/--body
gh pr checks                              # watch CI
gh pr view --web                          # open in browser
gh pr merge --squash --delete-branch      # when green + approved

Code review

gh pr diff 456                # read the diff
gh pr view 456 --comments     # existing discussion
gh pr review 456 --approve    # or --request-changes --body "..."

For a thorough review, read the diff with @read/gh pr diff, check tests/CI, and comment on concrete lines. Don't approve unseen.

Repo management

gh repo view OWNER/REPO
gh release list
gh workflow list && gh run list --limit 10

Rules

  • Respect the repo's branch/commit conventions — read CONTRIBUTING/recent history first.
  • Never force-push shared branches or merge without CI green + approval, unless told to.
  • Quote the PR/issue number and URL back to the user after acting.
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. yesterday First seen · 77 lines · 78 tokens per session scan A e47a5e95d175

Subscribe to this mod's changes

github is a skill published in the GitHub repository diillson/chatcli (89 stars, last pushed yesterday), licensed Apache-2.0. It adds 78 tokens to every session and 670 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.