gh-pr-check

gh-pr-check is a command for Claude Code from akiojin/skills. It costs 16 tokens per session (208 once invoked), scanned A, original, MIT.

A command for checking the status of a GitHub pull request, which is a proposed code change, and reviewing commits made after it was merged. It uses GitHub’s command-line tool.

In plain words
What is it for?
Use it to inspect the current branch’s pull request, confirm its status, review post-merge commits, and receive a plain-language summary with a suggested next step.
Why use it?
It gathers the relevant pull-request information in one check instead of requiring manual browsing through GitHub and commit history.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the github plugin — 5 skills, 5 commands shipped together

Good fit Use it to inspect the current branch’s pull request, confirm its status, review post-merge commits, and receive a plain-language summary with a suggested next step.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/akiojin/skills/gh-pr-check
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.

Clone the repo
git clone --depth 1 https://github.com/akiojin/skills

Made for: Claude Code.

Or install github, the plugin that ships this one along with the rest of its 5 skills, 5 commands.

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 gh-pr-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/akiojin/skills/gh-pr-check/github.svg)](https://agentmods.dev/commands/akiojin/skills/gh-pr-check)
Your own site
<a href="https://agentmods.dev/commands/akiojin/skills/gh-pr-check"><img src="https://agentmods.dev/badge/commands/akiojin/skills/gh-pr-check/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 gh-pr-check

Your own site · 80×15
<a href="https://agentmods.dev/commands/akiojin/skills/gh-pr-check"><img src="https://agentmods.dev/badge/commands/akiojin/skills/gh-pr-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 208 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.
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.00016 $0.00208
Opus 5 $0.00008 $0.00104
Sonnet 5 $0.00003 $0.00042
Haiku 4.5 $0.00002 $0.00021

Measured 9d ago against content hash 95f131bf1900, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

gh-pr-check 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 9d 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/commands/gh-pr-check.md · 38 lines

What it actually says

GitHub PR Check Command

Use this command to inspect PR status for the current branch with the gh CLI.

Usage

/github:gh-pr-check [optional context]

Steps

  1. Load github/skills/gh-pr-check/SKILL.md and follow the workflow.
  2. Ensure gh auth status succeeds before running PR checks.
  3. Run checks and return a human-readable summary:
    • Result
    • Recommended next step
    • Why
    • Context and key evidence
  4. Append JSON only if the user explicitly asks for machine-readable output.
  5. Do not push or create/edit PRs in this command.

Examples

/github:gh-pr-check
/github:gh-pr-check check current branch after merge
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. 9d ago First seen · 38 lines · 16 tokens per session scan A 95f131bf1900

Subscribe to this mod's changes

gh-pr-check is a command published in the GitHub repository akiojin/skills (8 stars, last pushed 6mo ago), licensed MIT. It adds 16 tokens to every session and 208 once invoked, about $0.0001 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-31.