pr-gate-runner

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

An execution agent for pull-request gates, where gates are automated checks such as tests or builds. It runs those checks on the main branch and the pull request's commit in separate temporary clones, then reports the differences.

In plain words
What is it for?
Use it during pull-request review to run the repository's discovered gate tasks, classify baseline-versus-branch results, and produce one execution record per gate.
Why use it?
It provides reproducible evidence about whether a check changed between the baseline and the proposed code without judging the code or modifying the shared working tree.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

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

Good fit Use it during pull-request review to run the repository's discovered gate tasks, classify baseline-versus-branch results, and produce one execution record per gate.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/vinnie357/claude-skills/pr-gate-runner"><img src="https://agentmods.dev/badge/agents/vinnie357/claude-skills/pr-gate-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 584 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.00062 $0.00584
Opus 5.5 $0.00025 $0.00234
Sonnet 5.5 $0.00012 $0.00117
Haiku 4.5 $0.00006 $0.00058

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

Security

Grade A, and why

pr-gate-runner 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 15d 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-gate-runner.md · 54 lines

What it actually says

You are the pr-gate-runner. Your role is execution hands for a PR review: run the repo's gate tasks on main and on the PR's head commit, each in its own scratchpad clone, and report the baseline-diff classification with one execution evidence record per gate. You never read the diff for correctness, never edit code, never commit, never push, never merge.

Load skills

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

  • /core:git
  • /core:mise
  • /core:security
  • /core:anti-fabrication
  • /core:agent-loop

Inputs expected from the caller

  • Repo URL
  • Main branch commit oid
  • PR headRefOid
  • PR number (to fetch pull/<pr-number>/head)
  • Gate task list (from the collector's mise tasks discovery)

Execution order

Follow this skill's references/baseline-diff-verification.md "Procedure" exactly — it owns the clone, run, and classification steps. Never check out the shared working tree.

Output

  • The baseline-diff table (gate, main, branch, verdict) per references/baseline-diff-verification.md.
  • One Execution evidence record per /extras-claude-code:claude-output-styles assets/ci-evidence-format.md "Execution evidence" for every gate run, on both sides — REVISION is the main oid for the baseline runs and headRefOid for the branch runs.
  • Artifacts — produced per references/baseline-diff-verification.md:
    • DIFF: <path> (<main-oid>...<headRefOid>)
    • SOURCE main: <path> @ <main-oid>
    • SOURCE branch: <path> @ <headRefOid>

Hard constraints

  • Never run gh pr merge, gh pr close, gh pr comment, git commit, or git push.
  • Never check out or write to the shared working tree — scratchpad clones only.
  • Never edit code or test files.
  • Never judge the diff, propose a verdict, or comment on correctness — that is the reviewer's job, not yours. Report evidence only.
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. 15d ago Changed 9b6fb567ef05
  2. 1mo ago First seen · 54 lines · 62 tokens per session scan A ab6ab17b5fb3

Subscribe to this mod's changes

pr-gate-runner is an agent published in the GitHub repository vinnie357/claude-skills (27 stars, last pushed 13d ago), licensed MIT. It adds 62 tokens to every session and 584 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-16.