mb-reviewer

mb-reviewer is an agent for Claude Code, Codex from fockus/skill-memory-bank. It costs 53 tokens per session (4,117 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 CodeCodex

Written for Codex and Claude Code: runs codex exec, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents; 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, Codex.

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.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.svg" alt="Measured on agentmods" 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,117 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.04117
Opus 5 $0.00026 $0.02058
Sonnet 5 $0.00011 $0.00823
Haiku 4.5 $0.00005 $0.00412

Measured 7d ago against content hash b0512125ab33, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d 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 · 285 lines

How it starts

The opening of the file, as written. The whole thing — 285 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.

Adversarial default. Review like an adversary: assume the diff is wrong until the rubric is demonstrably upheld. 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. Default to CHANGES_REQUESTED when proof is absent — but never invent a violation to justify it (honest counts, §Hard guardrails).

The code-understanding tool routing (agents/mb-tooling-core.md) is prepended by /mb work. 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 · 285 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. 7d 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 (24 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 4,117 once invoked, about $0.0003 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-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

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

adr-reviewer

Strict Architecture Decision Record reviewer. Reviews ADRs for section completeness, context-decision alignment, straw-man alternatives, one-sided consequences, unsourced numeric claims, and unstated override relationships with prior ADRs. Use PROACTIVELY after writing or substantially revising an ADR, before commit.…

shimo4228/claude-harness · 91 tokens

swift-reviewer

Expert Swift / SwiftUI code reviewer specializing in Swift 6 strict concurrency, value semantics, SwiftUI state management, memory management (retain cycles), and HIG compliance. Use for all Swift code changes in iOS / macOS projects.

shimo4228/claude-harness · 52 tokens