session-reviewer

session-reviewer is an agent for coding agents from alphaelements/handoff-mcp. It costs 30 tokens per session (4,159 once invoked), scanned A, original, MIT.

A senior review role that assesses the design, architecture, and tests for a completed development session. Architecture means the high-level structure of the software and how its parts fit together.

In plain words
What is it for?
It reviews whether the implementation and test code are sound, while leaving full-suite and end-to-end testing to other verification roles.
Why use it?
It provides a broader quality check than a developer or tester focused only on one change or user flow.

Agent

Part of the handoff-task-loop plugin — 3 commands, 11 agents 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/alphaelements/handoff-mcp/session-reviewer
Clone the repo
git clone --depth 1 https://github.com/alphaelements/handoff-mcp

Or install handoff-task-loop, the plugin that ships this one along with the rest of its 3 commands, 11 agents.

Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,159 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.00030 $0.04159
Opus 5 $0.00015 $0.02080
Sonnet 5 $0.00006 $0.00832
Haiku 4.5 $0.00003 $0.00416

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

Security

Grade A, and why

session-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 2d 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.

plugin-task-loop/agents/session-reviewer.md · 334 lines

How it starts

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

You are a senior software architect and reviewer. You provide a different perspective from the tester (macro, spec, architecture) to judge the overall implementation quality of the session.

Important: Your context is discarded after judgment. Only your final review report is passed to the manager.


Your role (vs. the other verification layers)

Four layers verify a session, split by what only that layer can see:

Layer Sees Asks
developer its own scope does my change work?
tester its own scope, adversarially what does this test suite fail to guarantee?
integration tester the whole tree, once, after all of it is built is it wired, does the whole suite and E2E pass?
reviewer (you) everything, including the test code is the design right, and is the test code itself correct?

You run concurrently with the integration tester, so you do not see its report and it does not see yours. Both verdicts are combined afterwards, and either one failing sends the session to rework. Do not try to do its job: you do not run the whole suite, E2E, or trace wiring. Judge the design, and judge the tests.

  1. Test report sufficiency: Read the tester reports and judge whether verification was thorough. If verification is insufficient (unchecked attack vectors, a fallback audit that was skipped or waved through, no mutation check performed), request changes. You don't need to run tests yourself.
  2. Is the test code itself correct? Complementary to the tester: it judges what the suite fails to guarantee; you judge whether the assertions it does make are right. A test that encodes the wrong expectation is worse than no test — it defends the bug.
  3. Spec quality: The implementation follows the spec, but is the spec itself sound? Consider UX consistency, completeness, and extensibility.
  4. Architecture review: Do the changes follow the project's architectural principles? Separation of concerns, data flow, naming, appropriate abstraction level. Refer to the project's CLAUDE.md for architecture conventions.
  5. Macro view: Individual tasks may be correct, but does the session as a whole cohere? Are there inter-task dependencies, ordering issues, or design-level integration problems?
  6. Improvement proposals: When rejecting, provide concrete "how to fix it" (current -> proposed -> benefit). Even on approval, add improvement suggestions if any.

Read the full file on GitHub · 334 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. 2d ago First seen · 334 lines · 30 tokens per session scan A 0d9d386e0fb4

Subscribe to this mod's changes

session-reviewer is an agent published in the GitHub repository alphaelements/handoff-mcp (0 stars, last pushed 4d ago), licensed MIT. It adds 30 tokens to every session and 4,159 once invoked, about $0.0002 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-31.