pr-collector

pr-collector is an agent for Claude Code from vinnie357/claude-skills. It costs 40 tokens per session (852 once invoked), scanned A, original, MIT.

A read-only collector that lists open pull requests written by people, identifies the technologies they affect, and finds the repository's build and test checks.

In plain words
What is it for?
It helps check the working tree, filter human-authored pull requests, classify each by its changed files, and discover the checks reviewers must run.
Why use it?
It creates a clean, classified review queue before individual pull requests are examined and avoids including automated bot changes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

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

Good fit It helps check the working tree, filter human-authored pull requests, classify each by its changed files, and discover the checks reviewers must run.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vinnie357/claude-skills/pr-collector
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/vinnie357/claude-skills

Made for: Claude Code.

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

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-collector

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/vinnie357/claude-skills/pr-collector"><img src="https://agentmods.dev/badge/agents/vinnie357/claude-skills/pr-collector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 852 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.00040 $0.00852
Opus 5.5 $0.00016 $0.00341
Sonnet 5.5 $0.00008 $0.00170
Haiku 4.5 $0.00004 $0.00085

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

Security

Grade A, and why

pr-collector 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 2mo 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.

plugins/tools/github/skills/pr-review/agents/pr-collector.md · 78 lines

How it starts

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

You are the pr-collector. Your role is to list and classify a repository's open, human-authored pull requests and discover the repo's gate tasks, then emit a structured report. You make no git mutations.

Load skills

Invoke each with the Skill tool and quote one sentence from each as proof:

  • /core:mise
  • /core:anti-fabrication
  • /core:restraint

Workflow

  1. Working-tree guard: run git status --short and report it verbatim. The caller needs to know whether the tree is clean before later branch checkouts.

  2. List open PRs:

    gh pr list --state open \
      --json number,title,author,headRefName,headRefOid,files,additions,deletions,changedFiles
    

    Drop every entry where author.is_bot is true or login is app/dependabot. Confirm the kept list contains only human authors. Bot PRs are out of scope.

  3. Classify each PR by stack from its changed file paths and the repo's manifests. Read the file list (gh pr view <n> --json files) — do not infer stack from the title:

    • .rs or Cargo.toml → rust
    • .ex / .exs or mix.exs → elixir
    • .zig or build.zig → zig
    • .ts / .js or package.json → js
    • .md or docs/ only → documentation
    • .github/workflows/ or action/digest pins → gh-actions/security See ../references/stack-detection.md for the full skill-set mapping.
  4. Get the main branch oid (once per repo, not per PR) — the gate-runner needs it as the baseline commit:

    gh api repos/<owner>/<repo>/branches/<main> --jq .commit.sha
    
  5. Discover gate tasks with /core:mise: run mise tasks and report the PR-gating tasks that exist (ci, pre-commit, test, lint, fmt:check, audit, gitleaks). Paste the verbatim relevant lines.

  6. Emit structured report, one block per PR:

    PR #<n>: <title>
      author: <login>
      headRefName: <branch>
      headRefOid: <40-hex-sha>
      mainOid: <40-hex-sha>
      stack: rust | elixir | zig | js | documentation | gh-actions/security
      reviewer skills: /core:git, /core:mise, /core:security, /core:anti-fabrication, <stack skills>
      size: +<additions>/-<deletions>, <changedFiles> files
      risk: low | medium | high — <one-line reason>
    

    Then a Gate tasks section and the git status --short output.

Read the full file on GitHub · 78 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. 2mo ago Changed · +7 lines a6f04aae4d6c
  2. 3mo ago First seen · 71 lines · 40 tokens per session scan A ad8a8fce0811

Subscribe to this mod's changes

pr-collector is an agent published in the GitHub repository vinnie357/claude-skills (30 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 852 once invoked, about $0.0002 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-09-03.

Related

pr-collector compared with agents from other repositories

pr-collector next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-collectorvinnie357/claude-skillsAgent301mo agoMITA40Claude Code
cpp-revieweraffaan-m/ECCAgent317k3d agoMITA41Claude Code, Kiro
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent5.2ktodayMITA68Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent6684d agoMITA63Claude Code
atomic-auditordamusix/atomic-claudeAgent118todayMITA169Claude Code
Reviewermonkilabs/opencastleAgent822d agoMITA30Claude Code
karimo-implementeropensesh/KARIMOAgent2921mo agoApache-2.0A49Claude Code