deep-pr

deep-pr is a command for Claude Code from arc-mcp/arc-1. It costs 0 tokens per session (2,949 once invoked), scanned A, original, MIT.

A command for independently reviewing an outside contributor’s GitHub pull request before it is merged. It checks the proposed code against the project’s real behavior and safety rules.

In plain words
What is it for?
Use it for substantial community pull requests, such as bug fixes, new operations, schema changes, or safety changes; it produces a verdict and comments for a human to post.
Why use it?
A pull request description can make claims that the code or external system does not support, especially around data writes, schemas, and safety controls.

Command for Claude Code

Part of the arc-1 plugin — 24 skills, 8 commands, 1 MCP server shipped together

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 commands/arc-mcp/arc-1/deep-pr
Clone the repo
git clone --depth 1 https://github.com/arc-mcp/arc-1

Made for: Claude Code.

Or install arc-1, the plugin that ships this one along with the rest of its 24 skills, 8 commands, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/arc-mcp/arc-1/deep-pr.svg)](https://agentmods.dev/commands/arc-mcp/arc-1/deep-pr)
Your own site
<a href="https://agentmods.dev/commands/arc-mcp/arc-1/deep-pr"><img src="https://agentmods.dev/badge/commands/arc-mcp/arc-1/deep-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,949 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 $0.00000 $0.02949
Opus 5 $0.00000 $0.01474
Sonnet 5 $0.00000 $0.00590
Haiku 4.5 $0.00000 $0.00295

Measured 3d ago against content hash 8e7d510c3751, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deep-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 3d 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/commands/deep-pr.md · 113 lines

How it starts

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

Deep PR — review an external pull request against real sources & ARC-1's invariants

Deeply review a community pull request on arc-mcp/arc-1 before it merges. The whole point: verify the PR is correct, safe, and actually does what it claims — from your own evidence, not the PR description. External PRs touch the most dangerous surfaces (write paths, schemas, the safety system); a PR body that says "verified live on 8.16" is a claim to check, not a fact to trust. ARC-1's worst regressions come from accepting ADT behavior on faith.

Use this for any non-trivial external PR (bug fix, new ADT op, schema change, safety change). For a dependency bump or a one-line doc fix, a normal read is enough.

The output is a review verdict + paste-able review comments + a dossier — not a commit. You never push to the contributor's branch, never approve via gh, never post automatically (per repo policy: hand back paste-able markdown; the user acts on origin = marianfoo).


Input

A PR number or URL (e.g. 380 or https://github.com/arc-mcp/arc-1/pull/380).


The prime directive

No verdict until you have verified the PR's correctness independently. That means: the diff does what the title/body says; every SAP/ADT fact the PR asserts is confirmed against the contract and (for behavior changes) live; the security & architectural invariants below all still hold; and the tests actually cover the new paths. Until then you are still reviewing, not concluding.

A 200 OK in the PR author's transcript does not mean the parameter was honored — re-run it yourself. "All tests pass" is something you confirm by running them, not by reading it. For any object-write change, a successful live SAPActivate is the definitive correctness check (RAP CCDEF/CCIMP placement, DDIC table class, behavior-pool rules surface only there).


Research Sources (same sources /deep-feature uses)

All ~/DEV/* repos are read-only references — never modify them.

Read the full file on GitHub · 113 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. 3d ago First seen · 113 lines · 0 tokens per session scan A 8e7d510c3751

Subscribe to this mod's changes

deep-pr is a command published in the GitHub repository arc-mcp/arc-1 (174 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,949 tokens. 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-30.