code-review

code-review is a command for coding agents from bondarewicz/dreamteam. It costs 15 tokens per session (1,706 once invoked), scanned A, original, MIT.

A local pull-request code-review command. A pull request is a proposed set of changes submitted for review before being merged into a project.

In plain words
What is it for?
Use it to check a pull request's status, read relevant project instructions, inspect its changes, and produce a review in the terminal.
Why use it?
It lets you inspect a proposed change without posting comments, reviews, or other information to GitHub.

Command

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/bondarewicz/dreamteam/code-review
Clone the repo
git clone --depth 1 https://github.com/bondarewicz/dreamteam

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 code-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/bondarewicz/dreamteam/code-review.svg)](https://agentmods.dev/commands/bondarewicz/dreamteam/code-review)
Your own site
<a href="https://agentmods.dev/commands/bondarewicz/dreamteam/code-review"><img src="https://agentmods.dev/badge/commands/bondarewicz/dreamteam/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,706 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.00015 $0.01706
Opus 5 $0.00008 $0.00853
Sonnet 5 $0.00003 $0.00341
Haiku 4.5 $0.00002 $0.00171

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

Security

Grade A, and why

code-review 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 4d 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.

commands/code-review.md · 102 lines

How it starts

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

Provide a code review for the given pull request.

CRITICAL: LOCAL ONLY — NEVER post comments, reviews, or any data to GitHub. All output stays in the terminal.

Agent assumptions (applies to all agents and subagents):

  • All tools are functional and will work without error. Do not test tools or make exploratory calls. Make sure this is clear to every subagent that is launched.
  • Only call a tool if it is required to complete the task. Every tool call should have a clear purpose.

To do this, follow these steps precisely:

  1. Launch a haiku agent to check if any of the following are true:

    • The pull request is closed
    • The pull request is a draft
    • The pull request does not need code review (e.g. automated PR, trivial change that is obviously correct)

    If any condition is true, stop and do not proceed.

  2. Launch a haiku agent to return a list of file paths (not their contents) for all relevant CLAUDE.md files including:

    • The root CLAUDE.md file, if it exists
    • Any CLAUDE.md files in directories containing files modified by the pull request
  3. Launch a sonnet agent to view the pull request and return a summary of the changes. When fetching the diff, pipe it through grep -v or equivalent to strip out all hunks from CLAUDE.md files (e.g. gh pr diff … | grep -v -E '^(diff --git|index |---|\\+\\+\\+|@@|[-+ ]).*CLAUDE\\.md' or filter after fetch). CLAUDE.md files are configuration files, not application code — they must never appear in the diff output or the summary.

  4. Launch 4 agents in parallel to independently review the changes. Each agent should return the list of issues, where each issue includes a description and the reason it was flagged (e.g. "CLAUDE.md adherence", "bug"). The agents should do the following:

    Agents 1 + 2: CLAUDE.md compliance sonnet agents Audit changes for CLAUDE.md compliance in parallel. Note: When evaluating CLAUDE.md compliance for a file, you should only consider CLAUDE.md files that share a file path with the file or parents.

    Agent 3: Opus bug agent (parallel subagent with agent 4) Scan for obvious bugs. Focus only on the diff itself without reading extra context. Flag only significant bugs; ignore nitpicks and likely false positives. Do not flag issues that you cannot validate without looking at context outside of the git diff.

    Agent 4: Opus bug agent (parallel subagent with agent 3) Look for problems that exist in the introduced code. This could be security issues, incorrect logic, etc. Only look for issues that fall within the changed code.

    CRITICAL: We only want HIGH SIGNAL issues. Flag issues where:

    • The code will fail to compile or parse (syntax errors, type errors, missing imports, unresolved references)
    • The code will definitely produce wrong results regardless of inputs (clear logic errors)
    • Clear, unambiguous CLAUDE.md violations where you can quote the exact rule being broken

    Do NOT flag:

    • Code style or quality concerns
    • Potential issues that depend on specific inputs or state
    • Subjective suggestions or improvements

    If you are not certain an issue is real, do not flag it. False positives erode trust and waste reviewer time.

    Exclude CLAUDE.md files from review. CLAUDE.md files are configuration files, not application code. Do not flag issues in CLAUDE.md files, do not review changes to them, and do not include them in any diff output. If a CLAUDE.md file appears in the diff, skip it entirely.

    In addition to the above, each subagent should be told the PR title and description. This will help provide context regarding the author's intent.

  5. For each issue found in the previous step by agents 3 and 4, launch parallel subagents to validate the issue. These subagents should get the PR title and description along with a description of the issue. The agent's job is to review the issue to validate that the stated issue is truly an issue with high confidence. For example, if an issue such as "variable is not defined" was flagged, the subagent's job would be to validate that is actually true in the code. Another example would be CLAUDE.md issues. The agent should validate that the CLAUDE.md rule that was violated is scoped for this file and is actually violated. Use Opus subagents for bugs and logic issues, and sonnet agents for CLAUDE.md violations.

Read the full file on GitHub · 102 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. 4d ago First seen · 102 lines · 15 tokens per session scan A 62842c8d9f8e

Subscribe to this mod's changes

code-review is a command published in the GitHub repository bondarewicz/dreamteam (1 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 1,706 once invoked, about $0.0001 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.