github

A set of instructions for managing GitHub through the `gh` command-line tool. GitHub is a service for hosting code, reviewing changes, tracking issues, running automated checks, and publishing releases.

In plain words
What is it for?
Use it to work with repositories, issues, pull requests, automated checks, releases, secrets, projects, searches, and GitHub's API.
Why use it?
It gathers common repository tasks into one routing guide, so the right workflow is used for each GitHub request.

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/bntvllnt/agent-skills/github
Any agent
npx skills add bntvllnt/agent-skills --skill github
Clone the repo
git clone --depth 1 https://github.com/bntvllnt/agent-skills

Made for: Claude Code, Codex.

Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 907 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00131 $0.00907
Opus 5 $0.00066 $0.00453
Sonnet 5 $0.00026 $0.00181
Haiku 4.5 $0.00013 $0.00091

Measured 2d ago against content hash 56daef387084, 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 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 2d 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.

github/SKILL.md · 79 lines

How it starts

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

GitHub

GitHub operations via gh.

Router

User says Load reference Do
help / gh help / flags / options references/cli-help.md show CLI help safely
auth / login / token references/auth.md authenticate gh
repo / clone / fork / sync references/repo.md repository operations
issue / issues references/issue.md issue triage and management
pr / pull request / review references/pr.md PR create/review/merge workflows
actions / workflow / run references/actions.md GitHub Actions (workflows + runs)
ci / monitor ci / check ci / ci status / watch ci references/ci-monitor.md monitor CI checks with live polling (if user says bare "ci", ask: monitor checks or view workflows?)
pr dashboard / pr overview / open prs / my prs / pr status references/pr-dashboard.md PR overview with status classification
release / publish release references/release.md releases + assets + verification
release strategy / release format / versioning references/release-strategy.md versioning, title/description format, generation protocol
secrets / variables references/secrets-vars.md manage secrets and variables
project references/projects.md projects operations
gist references/gists.md gist operations
search references/search.md search repos/issues/prs/code
api references/api.md gh api (advanced)
extension references/extensions.md manage gh extensions
config references/config.md gh config basics

Safety Rules

  • Confirm before any state-changing operation (create/edit/delete/merge/close).
  • Never upload secrets as assets.
  • Treat gh api as powerful: confirm before any write operation.
  • Never delete or move published releases/tags unless explicitly requested.
  • When creating PRs, always set an assignee: default to @me unless the user explicitly names someone else.
  • When creating PRs, apply relevant existing labels when possible; auto-pick from PR context (title/body/branch + changed paths) and avoid creating new labels unless truly necessary.
  • If labels must be created, retrieve existing labels first (gh label list), propose the minimal set consistent with repo naming, and confirm before gh label create.

Read the full file on GitHub · 79 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. 2d ago First seen · 79 lines · 131 tokens per session scan A 56daef387084

Subscribe to this mod's changes

github is a skill published in the GitHub repository bntvllnt/agent-skills (16 stars, last pushed 3mo ago), licensed MIT. It adds 131 tokens to every session and 907 once invoked, about $0.0007 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-08-30.

Related

Other skills, from other repositories