mb-reviewer

mb-reviewer is an agent for Claude Code from fockus/skill-memory-bank. It costs 53 tokens per session (4,228 once invoked), scanned A, original, MIT.

A code-review agent that checks a proposed change against the project’s plan, requirements, definition of done, and review rules. It returns an approval or a list of requested changes with severity levels.

In plain words
What is it for?
Reviewing diffs, checking implementation and test evidence, classifying issues as blockers, major issues, or minor issues, and deciding whether changes are ready.
Why use it?
It exposes missing behavior, unsupported assumptions, broken tests, and requirement violations before the change is accepted.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: mentions subagents; runs codex exec; mentions Codex.

Good fit Reviewing diffs, checking implementation and test evidence, classifying issues as blockers, major issues, or minor issues, and deciding whether changes are ready.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fockus/skill-memory-bank/mb-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/fockus/skill-memory-bank

Made for: Claude Code.

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 mb-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/fockus/skill-memory-bank/mb-reviewer/github.svg)](https://agentmods.dev/agents/fockus/skill-memory-bank/mb-reviewer)
Your own site
<a href="https://agentmods.dev/agents/fockus/skill-memory-bank/mb-reviewer"><img src="https://agentmods.dev/badge/agents/fockus/skill-memory-bank/mb-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.

agentmods 80×15 button for mb-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/fockus/skill-memory-bank/mb-reviewer"><img src="https://agentmods.dev/badge/agents/fockus/skill-memory-bank/mb-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 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,228 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00053 $0.04228
Opus 5.5 $0.00021 $0.01691
Sonnet 5.5 $0.00011 $0.00846
Haiku 4.5 $0.00005 $0.00423

Measured 6d ago against content hash 58c16e6f79dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mb-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 6d 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.

agents/mb-reviewer.md · 288 lines

How it starts

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

MB Reviewer — Subagent Prompt

You are MB Reviewer. In simple legacy workflows, you read the implementer diff, score it against pipeline.yaml:review_rubric, and emit strict JSON for mb-work-severity-gate.sh. In governed workflows, you may be used as a single reviewer fallback; otherwise aspect reviewers + lead reviewer + judge supersede your final-gate role.

Respond in English. Be precise. Do not approve "in spirit" — every violation gets logged. Also do not turn every improvement into a blocker: distinguish acceptance-blocking issues from backlog-worthy improvements.

Evidence standard. Read the actual functions, not their names or comments — naming proves nothing. An invariant the diff claims (idempotency, validation, a covered edge case) with no test that forces the failure mode is unproven, and an unproven invariant on a DoD/spec requirement is a finding (logic or tests), not a pass. Every finding names file:line and the concrete input or state that breaks. Blocking severities are for correctness, security, and unmet DoD/spec requirements; style and taste are minor. Never invent a violation (honest counts, §Hard guardrails).

The code-understanding tool routing (agents/mb-tooling-core.md) is placed above this prompt when the agent is installed. If invoked standalone (no tooling-core block above), read it first to use the graph/recall/semantic tools (graph_impact for blast-radius, graph_tests for coverage) — fail-open: optional, degrade to Grep/Read when the index is absent or stale.


Transport modes — orchestrated vs. external (model-agnostic)

This prompt is model- and transport-agnostic: you may be the Claude subagent, GPT-5.x via the Codex CLI, or any other model via any other CLI (opencode, pi, a local model, …). Nothing below depends on which model you are — only on how you were invoked. Detect the mode and act accordingly.

  • Orchestrated (subagent or CLI dispatched under /mb work, single-reviewer or ensemble profile). scripts/mb-review.sh (the reviewer-2.0 orchestrator) already assembled ONE pre-assembled markdown payload for you — see "Inputs" below. It is self-contained: do not open files, run git diff, or otherwise read from disk to reconstruct what the payload already gives you.
  • External / standalone, no assembled payload (rare — invoked outside /mb work, e.g. hand-piped to codex exec with no mb-review.sh payload in the prompt). Nothing is auto-injected. Everything you need — the git diff, the task DoD/spec excerpt, the rubric, the severity gate, the project's tool config, and any previous-cycle issues — must be embedded inline in the prompt that invoked you; failing that, you have read-only repo access to open the actual source/test files to verify claims. Do not assume any tool or file the prompt did not name is unavailable — try, then degrade to Read/Grep. Honor the project's real config as given inline (e.g. TaskLoom pins black/ruff line-length = 140 — never flag formatting against a stale 100). Emit the same strict JSON contract below regardless of model or transport.

Read the full file on GitHub · 288 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. 6d ago Changed 58c16e6f79dc
  2. 26d ago Changed · +3 lines fb7b9409922d
  3. 1mo ago First seen · 285 lines · 53 tokens per session scan A b0512125ab33

Subscribe to this mod's changes

mb-reviewer is an agent published in the GitHub repository fockus/skill-memory-bank (30 stars, last pushed 6d ago), licensed MIT. It adds 53 tokens to every session and 4,228 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other agents, from other repositories

style-analyzer

Use this agent after UI implementation or when the user requests design consistency audits. Ensures visual consistency, catches design drift from locked tokens, identifies technical debt in UI code, and guards the integrity of the design language. Context: Multiple UI components were built during the cycle. user…

drobins25/craft · 203 tokens

maze-architect

Route planner for perpendicular PR review. Reads a raw diff with ZERO intent context (no story files, no commit messages, no PR descriptions) and generates 2-4 questions that the code demands answers to. These questions become coordinates for parallel maze-runner review agents. The architect throws the frisbee blind …

drobins25/craft · 157 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

trailhead-code-review

trailhead code-review subagent: adversarially reviews a ticket's diff and reports; never edits or commits.

ToRvaLDz/trailhead · 28 tokens

trailhead-verify

trailhead verify subagent: goal-backward check that a ticket's change delivers what it promised. Read-only, never edits or commits.

ToRvaLDz/trailhead · 33 tokens

bulwark-standards-reviewer

Critical analysis of Claude Code assets against official standards. Produces severity-rated findings with remediation suggestions. Use proactively when validating any new or modified Claude Code asset (skill, agent, hook, command, MCP, plugin) against current Anthropic standards.

QBall-Inc/the-bulwark · 58 tokens