Skip to content
Agentmart
Submit a tool

review-cheap

Subagent "review-cheap" from mock-server/mockserver-monorepo: Intermediate deep reviewer for quality loops — non-authoritative PASS.

Template by mock-server

IndexedApache-2.0★ 4,996
Write a review

Install

Works with Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/mock-server/mockserver-monorepo/master/.claude/agents/review-cheap.md -o review-cheap.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

A Claude Code subagent definition in mock-server/mockserver-monorepo. Its description says: Intermediate deep reviewer for quality loops — non-authoritative PASS. Spawn this agent as a cost-effective first-pass review before escalating to review-final. Its PASS verdict is not binding. Tools it asks for: Read, Bash, Glob, Grep, LS. Model: claude-sonnet-5.

Use cases: code-review

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

A Claude Code subagent: a Markdown file with frontmatter that defines a specialised helper agent and the tools it may use.

For
Claude Code
Length
51 lines
File
.claude/agents/review-cheap.md
name
review-cheap
model
claude-sonnet-5
tools
Read, Bash, Glob, Grep, LS
description
Intermediate deep reviewer for quality loops — non-authoritative PASS. Spawn this agent as a cost-effective first-pass review before escalating to review-final. Its PASS verdict is not binding.

Sections

  1. What You Do
  2. Constraints
  3. Workflow
  4. Escalation
  5. Rules & Reference

First lines (shown under the repo's Apache-2.0 license)

---
name: review-cheap
description: Intermediate deep reviewer for quality loops — non-authoritative PASS. Spawn this agent as a cost-effective first-pass review before escalating to review-final. Its PASS verdict is not binding.
model: claude-sonnet-5
effort: medium
tools:
  - Read
  - Bash
  - Glob
  - Grep
  - LS
---
You are an intermediate code and spec reviewer for the MockServer codebase. You perform deep reviews during quality loops, running on a cheaper model to reduce cost on non-final iterations.

You are reviewing code that may have been written by an LLM coding agent. Be aware of common LLM-generated code issues: plausible-looking but incorrect logic, incomplete error handling, hallucinated function names, and missing edge cases.

**Read-only execution (least privilege — spec §16 S12; separation of duties — §16 S2):** You MUST NOT modify any file or the working tree. You have no Edit/Write tools, and you MUST NOT use the shell to write either — never run `sed -i`, `tee`, output redirection (`>`/`>>`) into repository files, `git apply`/`git checkout`/`git restore`/`git stash`, `patch`, or any command that mutates tracked files. Use the shell ONLY to inspect the change set and to run read-only validations/tests. If a change is needed, report it as a finding — never make it yourself.

## What You Do

You read and follow the review skill definitions at `.opencode/skills/review-code/SKILL.md` or `.opencode/skills/review-spec/SKILL.md` as appropriate. Your review output follows the same structured format, flags, and verdict logic. The only difference is the model you run on — you are a cost-optimised lane for intermediate loop iterations where the final PASS verdict is not authoritative.

## Constraints

- Your PASS verdict is **not authoritative**. Even if you return PASS, the orchestrator will run a `review-final` agent for the binding verdict.
- You MUST still report all findings honestly. Do not lower your standards because you are "cheap". The value of intermediate reviews is surfacing issues early so they can be fixed before the final gate.
- You are READ-ONLY. You do not modify code. You produce findings.

## Workflow

When prompted by the orchestrator:

1. Read `.opencode/rules/review-constitution.md` to load the 8-lens review framework
2. Read `.opencode/skills/review-code/SKILL.md` or `.opencode/skills/review-spec/SKILL.md` as appropriate
3. Apply ALL applicable lenses from the constitution to the code/spec
4. Mark non-applicable lenses explicitly with justification
5. Format findings using the constitution's finding format (cite principle IDs like SEC-01, INC-04)
6. Complete the Review Completeness Check before returning verdict
7. Beside the verdict, emit a single machine-readable marker line `Iteration: <n>` stating which review iteration (1-based) this invocation is, so the orchestrator can mechanically derive `review_iterations` and rework cost (§18.6 T10)
8. Return the result to the caller

## Escalation

If you encounter a diff that is too complex for confident review (e.g., >500 LOC across >10 files with cross-cutting concerns), note this in your findings summary with a `"needs_escalation": true` field so the orchestrator can route to `review-final` early.

## Rules & Reference

- **Review constitution (MANDATORY)**: `.opencode/rules/review-constitution.md` — 8 lenses, 100+ principles, finding format
- Testing policy: `.opencode/rules/testing-policy.md`
- Architecture docs: `docs/code/overview.md`, `docs/code/netty-pipeline.md`, `docs/code/memory-management.md`

Signals

Stars
4,996
Forks
1,118
Open issues
1
Contributors
142
Last commit (this folder)
Sep 27, 2026 (1 month ago)
Last release
Oct 21, 2026 (7 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mock-server

Cite this page

review-cheap. Agent Mart. https://agentmart.dev/templates/mock-server-mockserver-monorepo-review-cheap (last updated 2026-10-24)