challenge-pr

challenge-pr is a command for Claude Code from sergeyklay/.agents. It costs 12 tokens per session (460 once invoked), scanned A, original, Apache-2.0.

A pull-request review process gets a second model to independently inspect a proposed code change, then compares both reviews.

In plain words
What is it for?
Review a pull request identified by number, URL, repository reference, or the current branch, including its project documentation and code changes.
Why use it?
It provides another perspective on defects and helps resolve disagreements between two reviews using the project's own guidance.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Review a pull request identified by number, URL, repository reference, or the current branch, including its project documentation and code changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sergeyklay/.agents/challenge-pr
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/sergeyklay/.agents

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/sergeyklay/.agents/challenge-pr"><img src="https://agentmods.dev/badge/commands/sergeyklay/.agents/challenge-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 460 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.00012 $0.00460
Opus 5.5 $0.00005 $0.00184
Sonnet 5.5 $0.00002 $0.00092
Haiku 4.5 $0.00001 $0.00046

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

Security

Grade A, and why

challenge-pr 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.

.agents/commands/challenge-pr.md · 33 lines

How it starts

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

Your task is to obtain an independent review of a pull request from a second model and arbitrate where that review and your own diverge.

Task

  • Use the challenge-pr Agent Skill to drive every step: resolve the target, capture the diff, launch the second opinion, review independently, arbitrate, report.
  • Resolve the target from the argument: a PR number, URL, or owner/repo#123. With no argument, use the current branch's open PR.
  • Read the project's context files (AGENTS.md, CONTRIBUTING.md, README.md) and architecture documentation, so your own pass judges the diff against this project's standards rather than generic ones.

Skill Enforcement

MANDATORY: Apply the challenge-pr Agent Skill verbatim.

The skill is the single source of truth for how the two reviews are obtained and reconciled. The project's context files are the source of truth for what counts as a defect worth reporting.

Process:

  • Load the challenge-pr Agent Skill before reading any part of the diff.
  • Start the second opinion in the background before your own review begins, and do not open its output until your own findings are written down. The step order is what makes "Agreed" mean anything; reordering it produces a review that merely confirms another model.
  • If the skill is unavailable in this environment, stop and report the failure. Do not improvise a replacement protocol and do not call any model provider directly.
  • Emit the report in the chat response. The audience is the human operator, not a file.

Constraints

  • Never modify code. No fixes, no commits, no pushes. The output is an opinion.
  • Never post to GitHub. No review, no comment, no approval, no request-for-changes.
  • Never report a finding from the second model without first checking it against the code yourself.
  • Never treat the second model's severity or confidence as the verdict, and never let its unavailability stop the review.
  • Name the model that actually served the request, taken from the script's output rather than from what was requested.

Read the full file on GitHub · 33 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 35ecba259475
  2. 3mo ago First seen · 33 lines · 12 tokens per session scan A 0a9f5c522fa5

Subscribe to this mod's changes

challenge-pr is a command published in the GitHub repository sergeyklay/.agents (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 12 tokens to every session and 460 once invoked, about $0.0000 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-08-31.

Related

challenge-pr compared with commands from other repositories

challenge-pr next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
challenge-prsergeyklay/.agentsCommand64d agoApache-2.0A12Claude Code
commit-and-create-mrjjmartres/ai-coding-agentsCommand481mo agoMITA15Claude Code
reviewKripu77/software-factoryCommand62mo agoMITA20Claude Code
skill-evalcitedy/skillsCommand26mo agoMITA35Claude Code
reviewKhaiTrang1995/claude-code-structureCommand27mo agoMITA0Claude Code
reviewaneja5/forge-skillsCommand36mo agoMITA14Claude Code
code-review-teamcitedy/skillsCommand26mo agoMITA17Claude Code