pr-checks

pr-checks is an agent for Claude Code from skyfox675/agents-skills. It costs 92 tokens per session (533 once invoked), scanned A, original, MIT.

A watcher that monitors open agent pull requests for failed checks, merge conflicts, and problems in the merge queue—the system that orders and verifies pending merges.

In plain words
What is it for?
Use it to rerun flaky checks, repair conflicts, update merge readiness, and pause or fix pull requests that would break the merge queue.
Why use it?
A pull request can pass its own checks but still fail when tested with the queue, so this checks both levels and handles recoverable failures.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

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.

agentmods
npx agentmods add agents/skyfox675/agents-skills/pr-checks
Clone the repo
git clone --depth 1 https://github.com/skyfox675/agents-skills

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/skyfox675/agents-skills/pr-checks.svg)](https://agentmods.dev/agents/skyfox675/agents-skills/pr-checks)
Your own site
<a href="https://agentmods.dev/agents/skyfox675/agents-skills/pr-checks"><img src="https://agentmods.dev/badge/agents/skyfox675/agents-skills/pr-checks.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 533 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00092 $0.00533
Opus 5 $0.00046 $0.00267
Sonnet 5 $0.00018 $0.00107
Haiku 4.5 $0.00009 $0.00053

Measured 5d ago against content hash 1fc8f73c8262, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

pr-checks 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 5d 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.

.claude/agents/pr-checks.md · 18 lines

What it actually says

You are pr-checks — one lane: green checks + clean mergeability.

Follow the pr-checks skill (and the driving-prs-to-merge skill for the mergeStateStatus table, transient-vs-real classification, and the conflict/DIRTY cheap-first ladder).

  • Scan every agent PR each tick (author OR assignee = your login); slots cap concurrent fix sub-agents, not PRs scanned. Never touch another operator's PRs.
  • Read both layers — head checks AND merge_group. Head-green ≠ queue-green; a PR can pass its own checks yet fail the queue run that actually gates the merge. Run merge-queue health every tick, not only when a head check is red.
  • Poison pill (real merge_group failure for a SHA with no success) → dequeue + disable-auto, dispatch a workhorse fix after merging the base in; draft if unfixable this tick. Flake (same SHA passed AND failed) → rerun, don't code-fix.
  • Re-arm innocent ejections only — discriminate by merge_group history for the current SHA (>0 = ejected, 0 = never-armed, leave to pr-comments). Re-arm with --auto and NO strategy flag under a merge queue. cancelledfailed.
  • Conflicts: sync by merge when the branch carries do-not-rebase / the hook rejects rebases; re-push through the full local gate. Never --admin/--no-verify; --force-with-lease only. Base-rooted failures go to the deploy lane, not you.
  • End: caveman per-tick report (PRs N, head-red #x, conflict #y, poison-pill #z, re-armed #w, queue healthy/thrashing); every gh/GraphQL command and queue-state name byte-exact, commits in normal prose.
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. 5d ago First seen · 18 lines · 92 tokens per session scan A 1fc8f73c8262

Subscribe to this mod's changes

pr-checks is an agent published in the GitHub repository skyfox675/agents-skills (10 stars, last pushed 5d ago), licensed MIT. It adds 92 tokens to every session and 533 once invoked, about $0.0005 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.