gh-find-prs

gh-find-prs is a skill for Claude Code, Codex from Hmbown/CodeWhale. It costs 27 tokens per session (1,384 once invoked), scanned A, original, MIT.

A review workflow for surveying open CodeWhale pull requests, which are proposed code changes, and deciding what should happen to each one.

In plain words
What is it for?
It helps maintainers inventory the pull-request queue, test whether changes can land on the release branch, and recommend whether to merge, combine, defer, or close each contribution.
Why use it?
It replaces title-based guesses with evidence from the code, tests, checks, and actual release branch. It leaves merging and closing to the maintainer.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for codewhale. Also seen: mentions Codex; built for codewhale.

Good fit It helps maintainers inventory the pull-request queue, test whether changes can land on the release branch, and recommend whether to merge, combine, defer, or close each contribution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmbown/codewhale/gh-find-prs
About the project

Hmbown/CodeWhale is an open-source coding agent that runs in the terminal and is written in Rust. Developers use it to inspect repositories, edit files, run commands, and coordinate work with configurable model providers, skills, MCP servers, and approval controls; the catalogue entries extend its available workflows.

Hmbown/CodeWhale · 40,914 stars · on GitHub · codewhale.net

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 Hmbown/CodeWhale --skill gh-find-prs
Clone the repo
git clone --depth 1 https://github.com/Hmbown/CodeWhale

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 gh-find-prs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hmbown/codewhale/gh-find-prs"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/gh-find-prs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,384 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
  • Snyk warn 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

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 →

  • high Anti-Refusal · line 72
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
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.00027 $0.01384
Opus 5 $0.00014 $0.00692
Sonnet 5 $0.00005 $0.00277
Haiku 4.5 $0.00003 $0.00138

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

Security

Grade A, and why

gh-find-prs 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 7d 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.

docs/skills/gh-find-prs/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.

gh-find-prs

Survey the open PR queue and assign each PR a disposition — backed by code, tests, and checks, never by title — testing real mergeability against the actual release branch (often local-only, e.g. <release-branch>), not the main-based GitHub flag.

When to use

  • A maintainer asks "what's in the PR queue?", "what can we land?", or "triage open PRs".
  • Before a release cut, to sweep community contributions into the active release branch.
  • Whenever you need a per-PR DIRECT-MERGE / HARVEST / DEFER / CLOSE-WITH-NOTE call with credit attached.

This is read-and-recommend. You do NOT merge, close, tag, or publish. You surface evidence and a proposed disposition; the maintainer approves.

Workflow

  1. Inventory the queue. One call, structured:

    gh pr list --repo Hmbown/CodeWhale --state open \
      --json number,title,author,headRefName,baseRefName,isDraft,mergeStateStatus,statusCheckRollup
    

    Note mergeStateStatus (CLEAN / BLOCKED / DIRTY / UNKNOWN) but treat it as a hint only — it is computed against main, and the real landing target is usually a different branch.

  2. Identify the real landing branch. The release head is frequently local-only:

    git branch --list 'codex/v0.8*' 'codex/v0.9*'
    git log --oneline -1 <release-branch>
    

    Use that ref, not main, for every mergeability test below.

  3. Read each candidate from code, not title. For every non-trivial PR:

    gh pr view <N> --repo Hmbown/CodeWhale \
      --json files,additions,deletions,statusCheckRollup,body,comments
    gh pr diff <N> --repo Hmbown/CodeWhale
    

    Read the diff. A "fix(exec): ..." can be a no-op or a regression; a "chore" can be the real fix. Judge the change, the tests it adds, and any review comments.

  4. Decode check failures — distinguish trivial from real. In statusCheckRollup, find each conclusion: FAILURE and read its job. Codewhale's CI jobs are Lint, Test (ubuntu-latest|macos-latest|windows-latest), Version drift, gate (Contribution gate), npm wrapper smoke, Mobile runtime smoke, Documentation, GitGuardian Security Checks.

    • A Lint failure that is only cargo fmt drift is trivial — harvestable, fix on landing with cargo fmt --all.
    • A failing Test (...) or clippy under Lint is real — read the log before trusting it.
    • Version drift failing on a community PR is expected (they bumped, or didn't); not a blocker for harvest.
    cargo fmt --all -- --check && cargo clippy --workspace --all-targets
    

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. 7d ago Changed 9295b222f40c
  2. 10d ago First seen · 79 lines · 27 tokens per session scan A 79babd7a705b

Subscribe to this mod's changes

gh-find-prs is a skill published in the GitHub repository Hmbown/CodeWhale (40,914 stars, last pushed 3d ago), licensed MIT. It adds 27 tokens to every session and 1,384 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-30.

Related

Other skills, from other repositories