ModelPeer: Command for Claude Code

.claude/commands/peer-review.md

peer-review is a command for Claude Code from makedirectory/ModelPeer. It costs 9 tokens per session (221 once invoked), scanned A, original, MIT.

A command that sends the current working changes to several independent AI reviewers and combines their findings into one review.

In plain words
What is it for?
Use it to review the current diff, optionally focusing the reviewers on a particular concern. It reports findings but does not apply fixes.
Why use it?
It provides separate opinions on the same code changes and highlights issues by seriousness before you decide whether to change anything.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is makedirectory/ModelPeer's own configuration. It tells Claude Code how to work on ModelPeer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ModelPeer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to makedirectory/ModelPeer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/makedirectory/ModelPeer/main/.claude/commands/peer-review.md
Clone the repo
git clone --depth 1 https://github.com/makedirectory/ModelPeer

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/makedirectory/modelpeer/peer-review"><img src="https://agentmods.dev/badge/commands/makedirectory/modelpeer/peer-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 221 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.00009 $0.00221
Opus 5.5 $0.00004 $0.00088
Sonnet 5.5 $0.00002 $0.00044
Haiku 4.5 $0.00001 $0.00022

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

Security

Grade A, and why

peer-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 1mo 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/peer-review.md · 24 lines

What it actually says

Run an independent cross-model review of the current working tree with model-peer review, passing $ARGUMENTS as the focus when it is non-empty.

Every installed model reviews the same diff without seeing the others' conclusions, then a synthesizer reconciles them. Reviewers run at the same time, so this takes a few minutes and looks busy: stderr carries interleaved progress from several models, and nothing reaches stdout until the whole panel has finished. Let it finish.

Then:

  1. Report the synthesized findings, grouped by severity, without softening them.
  2. For each finding, say whether you agree and why. A peer does not know this project's invariants; project rules win over generic advice.
  3. Do not apply any fix unless I ask for it.
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. 1mo ago First seen · 24 lines · 9 tokens per session scan A 6c8a212d7cb3

Subscribe to this mod's changes

peer-review is a command published in the GitHub repository makedirectory/ModelPeer (1 stars, last pushed 2mo ago), licensed MIT. It adds 9 tokens to every session and 221 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.