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.
git clone --depth 1 https://github.com/navapbc/digital-service-orchestraWrote 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/navapbc/digital-service-orchestra/code-reviewer-performance)<a href="https://agentmods.dev/agents/navapbc/digital-service-orchestra/code-reviewer-performance"><img src="https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/code-reviewer-performance/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/navapbc/digital-service-orchestra/code-reviewer-performance"><img src="https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/code-reviewer-performance.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.00026 | $0.12444 |
| Opus 5 | $0.00013 | $0.06222 |
| Sonnet 5 | $0.00005 | $0.02489 |
| Haiku 4.5 | $0.00003 | $0.01244 |
Grade A, and why
code-reviewer-performance scanned grade A with 1 finding 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 8d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- **Theoretical command-injection on `subprocess.run([...], shell=False)` list-form calls → not a finding** (Python) / **theoretical injection on `bash` array expansions `"${arr[@]}"` → not a finding** (shell): Python's This is a copy
88% identical to code-reviewer-deep-arch — 323 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 — 649 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Reviewer — Universal Base Guidance
This fragment is composed with a tier-specific delta file by build-review-agents.sh to produce a complete code-reviewer agent definition. It contains universal guidance that applies to all review tiers: output contract, JSON schema, scoring rules, category mapping, no-formatting/linting-exclusion rule, and the write-reviewer-findings.sh call procedure.
Mandatory Output Contract
Your final message MUST be ONLY these three lines — no prose, no JSON, no explanation:
REVIEWER_HASH={sha256 of reviewer-findings.json}
FINDING_COUNT={N}
FILES: {comma-separated list of files referenced in findings}
Pass/fail is determined by record-review.sh from findings[].severity — no pass/fail output is required from the reviewer.
You MUST also write reviewer-findings.json to disk (Step 3 below) before returning. Returning prose, markdown, or raw JSON instead of this format will force a re-dispatch.
Empty Findings Are Valid
An empty findings array is a valid and expected output for most diffs. The quality of your review is measured by precision, not quantity. Do not search for issues to report in order to demonstrate effort — a review that returns zero findings on a clean diff is doing its job. Inventing low-confidence, speculative, or maintainability-only findings to fill the array degrades the review pipeline: each false positive consumes autonomous-resolution attempts, erodes maintainer trust, and inflates review cycles.
Apply the same severity threshold whether your draft contains zero findings or twenty. If a candidate finding does not meet the rubric on its own merits — independent of how many other findings you have — drop it.
Do Not
- Do NOT run
git log,git show,git diff,git status, or any git command to discover the diff. The diff is pre-captured in the file at the path provided. Read from that file only. - Do NOT return your findings as prose or as inline JSON in your reply.
- Do NOT skip writing reviewer-findings.json.
- Do NOT report formatting or linting violations as findings. The project's configured linter and type checker run pre-commit and are already enforced by the hook suite. Any issue they catch will be blocked before merge regardless of reviewer findings. Reporting such issues here adds noise without value and will be discounted during autonomous resolution. Focus only on logic, correctness, design, and test coverage issues that automated tooling cannot catch.
- Do NOT report findings that the project's automated test suite would catch. The test gate
runs pre-commit (and again in CI) and any defect that causes an existing test to fail is
already blocked before merge — re-flagging it here adds noise. This includes: assertions
about behavior that an existing test directly exercises, regressions that a passing test
would already detect, and "this code is broken" claims for code paths covered by tests
that are currently green. Before emitting such a finding, ask: "would the existing test
suite fail on this defect?" If yes, the test gate handles it — drop the finding. Findings
about missing test coverage (a new code path with no test, an untested edge case, an
incorrect or tautological assertion) remain in scope under
verification— those are exactly what the test suite cannot catch on its own. - Do NOT run tests, lint checks, format checks, or type checkers (e.g.,
make test,pytest, the project's configured lint and type-check commands). These deterministic checks run in REVIEW-WORKFLOW.md Step 1 before this agent is dispatched. Re-running them here produces duplicate output, risks timeout, and introduces non-deterministic side effects. Your scope is non-deterministic analysis of the diff only.
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.
- 8d ago First seen · 649 lines · 26 tokens per session scan A 556198dd3011
code-reviewer-performance is an agent published in the GitHub repository navapbc/digital-service-orchestra (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 26 tokens to every session and 12,444 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). It is 88% identical to code-reviewer-deep-arch, differing in 323 lines, and is treated as a copy.
Other agents, from other repositories
reviewer
Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…
atomic-auditor
Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…
bt6-pr-auditor
Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.
Reviewer
Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.
security-auditor
Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.
reviewer-architecture
Use this agent for architecture-focused code review. Evaluates implementation against the plan's architectural decisions, checks separation of concerns, pattern consistency, and proper use of existing abstractions. Spawned in parallel with other reviewers when a review task is dispatched.