pr-queue

pr-queue is a skill for Claude Code from systemfsoftware/comment-checker. It costs 161 tokens per session (4,264 once invoked), scanned A, original, Apache-2.0.

A workflow for processing a queue of GitHub pull requests or issues for a particular area of a project. It finds matching work, ranks candidates, and handles them one at a time.

In plain words
What is it for?
Use it to search by area, author, label, or text, shortlist work, update each branch from main, resolve conflicts, audit tests, and ask the user to merge or close it.
Why use it?
It turns a large set of open contributions into an ordered list and makes the review, conflict resolution, testing, and follow-up process repeatable.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Part of the comment-checker plugin — 17 skills, 1 hook shipped together

Good fit Use it to search by area, author, label, or text, shortlist work, update each branch from main, resolve conflicts, audit tests, and ask the user to merge or close it.

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

Made for: Claude Code.

Or install comment-checker, the plugin that ships this one along with the rest of its 17 skills, 1 hook.

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 pr-queue

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/systemfsoftware/comment-checker/pr-queue"><img src="https://agentmods.dev/badge/skills/systemfsoftware/comment-checker/pr-queue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,264 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.00161 $0.04264
Opus 5.5 $0.00064 $0.01706
Sonnet 5.5 $0.00032 $0.00853
Haiku 4.5 $0.00016 $0.00426

Measured 6d ago against content hash e54b9f7cf905, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-queue 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 6d 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.

repos/alchemy/.agents/skills/pr-queue/SKILL.md · 330 lines

How it starts

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

Pull request queue

This session is a queue. Build the catalog once, then take one PR at a time: fix it, push it, and ask the user to merge or close it. The user merges; you never do.

1. Build the catalog and shortlist

Turn the user's criteria into a search. An area like docker or cloudflare matches conventional-commit scopes (feat(docker), fix(cloudflare/r2)!) and PRs that touch that provider's paths.

gh pr list --state open --limit 300 --json number,title,author,isDraft,mergeable,additions,deletions,changedFiles,updatedAt,isCrossRepository,maintainerCanModify,headRefName,baseRefName,url \
  > /tmp/pr-queue.json
# scope match: ^\w+!?\((<area>)(/[^)]*)?\)!?:   (case-insensitive)
# path match for anything the title missed:
gh pr view <n> --json files --jq '.files[].path' | grep -i '<Area>/'

For issues use gh issue list --state open --search "<area> in:title,body". Free-form criteria map onto --author, --label, --search. Leave out the user's own PRs unless asked, and honor any exclusions they give (e.g. "ignore the container PRs").

Print the catalog, grouped by theme when it's large: PR (link) | Author | Size | Behind main | What it does | Audit notes, with ✅/❌ against the standards in §3. Annotate:

  • stacks — a PR whose baseRefName is another PR's branch (base #N ← child #M)
  • overlaps — PRs fixing the same issue or touching the same files; plan a merge order and which ones to close
  • drafts, and PRs waiting on the author's answer to an earlier question

Then the shortlist: top 10, easiest first — # | PR (link) | Author | Size | Tests now | Likely work. Rank by clean merge, small diff, tests already in the right shape, single concern. Exclude drafts, PRs waiting on the author, and forks we can't push to (maintainerCanModify: false). PRs needing a test rewrite go on a separate rework list. If fewer than 10 match, say it's the whole list.

Keep the shortlist as a status table (todo / ready → merge? / close? / merged / closed / parked) and re-print it whenever it changes. When it's exhausted, re-run the search for the next 10.

Read the full file on GitHub · 330 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. 6d ago First seen · 330 lines · 0 tokens per session scan A e54b9f7cf905

Subscribe to this mod's changes

pr-queue is a skill published in the GitHub repository systemfsoftware/comment-checker (4 stars, last pushed 6d ago), licensed Apache-2.0. It adds 161 tokens to every session and 4,264 once invoked, about $0.0006 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-10-19.