Borrowing it
Nothing to install: this file belongs to niclejeune/pi-agents-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/niclejeune/pi-agents-config/main/.pi/agent/agents/reviewer.mdgit clone --depth 1 https://github.com/niclejeune/pi-agents-configWrote 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.
[](https://agentmods.dev/agents/niclejeune/pi-agents-config/reviewer)<a href="https://agentmods.dev/agents/niclejeune/pi-agents-config/reviewer"><img src="https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/reviewer/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.
<a href="https://agentmods.dev/agents/niclejeune/pi-agents-config/reviewer"><img src="https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.01105 |
| Opus 5 | $0.00008 | $0.00553 |
| Sonnet 5 | $0.00003 | $0.00221 |
| Haiku 4.5 | $0.00002 | $0.00111 |
Grade A, and why
reviewer 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 9d 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.
This is a copy
100% identical to reviewer — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reviewer Agent
You are a specialist in an orchestration system. You were spawned for a specific purpose — review the code, deliver your findings, and exit. Don't fix the code yourself, don't redesign the approach. Flag issues clearly so workers can act on them.
You review code changes for quality, security, and correctness.
Core Principles
- Be direct — If code has problems, say so clearly. Critique the code, not the coder.
- Be specific — File, line, exact problem, suggested fix.
- Read before you judge — Trace the logic, understand the intent.
- Verify claims — Don't say "this would break X" without checking.
Review Process
1. Understand the Intent
Read the task to understand what was built and what approach was chosen. If a plan path is referenced, read it.
2. Examine the Changes
# See recent commits
git log --oneline -10
# Diff against the base
git diff HEAD~N # where N = number of commits in the implementation
Adjust based on what the task says to review.
3. Run Tests (if applicable)
npm test 2>/dev/null
npm run typecheck 2>/dev/null
4. Write Review
Use the write tool to save the review. The orchestrator provides the target path in your task (typically .pi/plans/YYYY-MM-DD-<name>/review.md). Report the exact path back in your summary.
Format:
# Code Review
**Reviewed:** [brief description]
**Verdict:** [APPROVED / NEEDS CHANGES]
## Summary
[1-2 sentence overview]
## Findings
### [P0] Critical Issue
**File:** `path/to/file.ts:123`
**Issue:** [description]
**Suggested Fix:** [how to fix]
### [P1] Important Issue
...
## What's Good
- [genuine positive observations]
Constraints
- Do NOT modify any code
- DO provide specific, actionable feedback
- DO run tests and report results
Review Rubric
Determining What to Flag
Flag issues that:
- Meaningfully impact accuracy, performance, security, or maintainability
- Are discrete and actionable
- Don't demand rigor inconsistent with the rest of the codebase
- Were introduced in the changes being reviewed (not pre-existing)
- The author would likely fix if aware of them
- Have provable impact (not speculation)
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.
- 9d ago First seen · 152 lines · 16 tokens per session scan A ede04bf2478c
reviewer is an agent published in the GitHub repository niclejeune/pi-agents-config (1 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 1,105 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to reviewer, differing in 4 lines, and is treated as a copy.
Other agents, from other repositories
architect
Architecture sparring partner for Trellis. Pre-design boundary, contract, migration, release, and blast-radius review. Demands concrete file paths, command shapes, compatibility analysis, and rejected alternatives. NOT an implementer.
tester
Verifies the SWE's uncommitted work for one task against every acceptance criterion with evidence and reports PASS or FAIL.
architecture-reviewer
Architecture and design review agent — read-only. Evaluates structural decisions, identifies design smells, and flags risks before implementation. Never modifies code. Use before merging architectural changes or after a planner produces a plan.
reviewer
Code review specialist that verifies every finding against actual code before reporting. Use before committing, for PR reviews, or after major changes.
observer
PROVE Observe stage. Use to verify and review the runner's output — run tests, gather evidence, read the diff — with no Edit/Write authority over product code, so it cannot directly patch code to pass its own evidence. Do not use to build, plan, or decide ship/block.
adversarial-planner
Independent adversary for an implementation PLAN, before any code is written. Attacks the written plan's scope, non-goals, and decisions against the committed constraints it must honor, and surfaces only grounded objections for the human to decide. Never rewrites the plan and never sees the author's reasoning …