mmr-review

mmr-review is an agent for coding agents from zigrivers/scaffold. It costs 0 tokens per session (1,070 once invoked), scanned A, original, MIT.

A code-review tool that sends the same changes to several AI model command-line tools, combines their findings, and applies a severity gate. Its design-review mode is advisory rather than a release gate.

In plain words
What is it for?
Use it to review GitHub pull requests, pre-commit changes, branch ranges, or individual files presented as diffs, with optional focus areas.
Why use it?
Different reviewers may notice different defects, while reconciliation turns their comments into one review result. It can review pull requests, staged changes, branch differences, or a prepared diff.

Agent

Part of the scaffold plugin — 5 skills, 1 agent, 1 hook 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 agents/zigrivers/scaffold/mmr-review
Clone the repo
git clone --depth 1 https://github.com/zigrivers/scaffold

Or install scaffold, the plugin that ships this one along with the rest of its 5 skills, 1 agent, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/zigrivers/scaffold/mmr-review.svg)](https://agentmods.dev/agents/zigrivers/scaffold/mmr-review)
Your own site
<a href="https://agentmods.dev/agents/zigrivers/scaffold/mmr-review"><img src="https://agentmods.dev/badge/agents/zigrivers/scaffold/mmr-review.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 1,070 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.01070
Opus 5 $0.00000 $0.00535
Sonnet 5 $0.00000 $0.00214
Haiku 4.5 $0.00000 $0.00107

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

Security

Grade A, and why

mmr-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.

packages/mmr/templates/skills/agents/mmr-review.md · 97 lines

How it starts

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

mmr — Multi-Model Review

Dispatch code reviews across several AI model CLIs (Claude, Codex, Grok and Antigravity by default; OpenCode opt-in), reconcile the findings, and gate on severity. Its peer mmr critique does the same fan-out for a design and is advisory (no gate).

Run a review

Pick the input mode that matches the target. Pass --sync --format json to get reconciled findings back in a single call:

# GitHub PR (fetches the diff via `gh pr diff`)
mmr review --pr <number> --focus "what to focus on" --sync --format json

# Staged changes (pre-commit)
mmr review --staged --sync --format json

# All tracked uncommitted changes (excludes untracked files)
git diff HEAD | mmr review --diff - --sync --format json

# Branch / ref range
mmr review --base main --head <branch> --sync --format json

# A specific file's current contents (tracked-no-changes, untracked, or new)
(diff -u /dev/null path/to/file.ts || true) | mmr review --diff - --sync --format json

The --diff flag expects diff-format content (a .patch/.diff path, or - for stdin). It does not read raw file content — wrap the target in a diff first. The || true guard is required because diff exits 1 when files differ, which breaks pipelines under set -o pipefail.

Severity gate

The verdict blocks on findings at or above fix_threshold (default P2; lower severities are advisory). Override per run with --fix-threshold P0|P1|P2|P3. Proceed only on pass or degraded-pass; fix blocking findings on blocked.

The verdict also reflects how many channels reported: fewer than defaults.min_completed_channels (default 2) completing yields needs-user-decision even with zero findings — one reviewer is not multi-model review. Treat that as "fix the channels" (mmr doctor), not as a pass.

Async flow (without --sync)

mmr review … prints a job id → mmr status <job-id> until complete → mmr results <job-id> --format markdown.

Avoid the nested self-review

Read the full file on GitHub · 97 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 · 97 lines · 0 tokens per session scan A 442db8ca0bfd

Subscribe to this mod's changes

mmr-review is an agent published in the GitHub repository zigrivers/scaffold (5 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,070 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-31.