peer-review

peer-review is a command for coding agents from Synaptic-Labs-AI/PACT-Plugin. It costs 15 tokens per session (9,398 once invoked), scanned A, original, MIT.

A command that coordinates a peer review of current work, such as a commit or pull request. A pull request is a proposed change submitted for review before merging.

In plain words
What is it for?
Use it to commit uncommitted changes, create or review a pull request, assign different reviewers, track their results, and coordinate fixes.
Why use it?
It organizes review tasks and specialist checks so important problems are found and addressed before the work is accepted.

Command

Part of the PACT plugin — 21 skills, 14 commands, 13 agents, 11 hooks 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/synaptic-labs-ai/pact-plugin/peer-review
Clone the repo
git clone --depth 1 https://github.com/Synaptic-Labs-AI/PACT-Plugin

Or install PACT, the plugin that ships this one along with the rest of its 21 skills, 14 commands, 13 agents, 11 hooks.

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/synaptic-labs-ai/pact-plugin/peer-review.svg)](https://agentmods.dev/commands/synaptic-labs-ai/pact-plugin/peer-review)
Your own site
<a href="https://agentmods.dev/commands/synaptic-labs-ai/pact-plugin/peer-review"><img src="https://agentmods.dev/badge/commands/synaptic-labs-ai/pact-plugin/peer-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 9,398 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.1 $0.00015 $0.09398
Opus 5 $0.00008 $0.04699
Sonnet 5 $0.00003 $0.01880
Haiku 4.5 $0.00002 $0.00940

Measured today against content hash f0a67c67c130, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 today.

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.

pact-plugin/commands/peer-review.md · 494 lines

How it starts

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

Review the current work: $ARGUMENTS

  1. Commit any uncommitted work
  2. Create a PR if one doesn't exist
  3. Review the PR

Task Hierarchy

Create a review Task hierarchy:

1. `TaskCreate`: Review task "Review: {feature}"
2. `TaskUpdate`: Review task status = "in_progress"
3. Analyze PR: Which reviewers needed?
4. `TaskCreate`: Reviewer agent tasks (architect, test-engineer, domain specialists)
5. `TaskUpdate`: Reviewer tasks status = "in_progress"
6. `TaskUpdate`: Review task addBlockedBy = [reviewer IDs]
7. Dispatch reviewers in parallel
8. Monitor until reviewers complete
9. `TaskUpdate`: Reviewer tasks status = "completed" (as each completes)
10. Synthesize findings
11. If major issues:
    a. `TaskCreate`: Remediation agent tasks
    b. `TaskUpdate`: Remediation tasks status = "in_progress"
    c. Dispatch, monitor until complete
    d. `TaskUpdate`: Remediation tasks status = "completed"
12. `TaskCreate`: "User: review minor issues" step task
13. Present minor issues to user, record decisions in step metadata
14. `TaskUpdate`: Step task status = "completed"
15. If "fix now" decisions:
    a. `TaskCreate`: Remediation agent tasks
    b. `TaskUpdate`: Remediation tasks status = "in_progress"
    c. Dispatch, monitor until complete
    d. `TaskUpdate`: Remediation tasks status = "completed"
16. `TaskCreate`: "Awaiting merge decision" approval task
17. Present to user, await approval
18. On approval: `TaskUpdate` approval task status = "completed"
19. `TaskUpdate`: Review task status = "completed", metadata.artifact = PR URL

Convention: Synchronous user steps (step tasks, approval tasks) skip the in_progress transition — they go directly from pending to completed since the orchestrator handles them inline without background dispatch.

Example structure:

[Review] "Review: user authentication"
├── [Agent] "architect: design review"
├── [Agent] "test-engineer: coverage review"
├── [Agent] "backend-coder: implementation review"
├── [Agent] "security-engineer: security review" (conditional)
├── [Agent] "qa-engineer: runtime verification" (conditional)
├── [Remediation] (dynamic, for major issues)
│   └── [Agent] "fix: auth vulnerability"
├── [Step] "User: review minor issues"
├── [Remediation] (dynamic, for "fix now" minors)
│   └── [Agent] "fix: input validation"
└── [Approval] "Awaiting merge decision"

Read the full file on GitHub · 494 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. today Changed · +8 lines f0a67c67c130
  2. 6d ago First seen · 486 lines · 15 tokens per session scan A 955748806753

Subscribe to this mod's changes

peer-review is a command published in the GitHub repository Synaptic-Labs-AI/PACT-Plugin (71 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 9,398 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-30.