mach12:code-reviewer

mach12:code-reviewer is an agent for coding agents from LeanAndMean/scramjet. It costs 39 tokens per session (447 once invoked), scanned A, original, Apache-2.0.

A code-review assistant that checks changes for real bugs, security problems, maintainability issues, and violations of project rules. It focuses on high-priority findings and avoids reporting weak possibilities as definite problems.

In plain words
What is it for?
Use it to review unstaged changes or another selected scope, check repository conventions, and find issues such as logic errors, unsafe handling, race conditions, and missing critical tests.
Why use it?
It helps developers catch defects before merging while reducing the distracting list of false alarms that can make reviews harder to act on.

Agent

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/leanandmean/scramjet/mach12-code-reviewer
Clone the repo
git clone --depth 1 https://github.com/LeanAndMean/scramjet

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 mach12:code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/leanandmean/scramjet/mach12-code-reviewer.svg)](https://agentmods.dev/agents/leanandmean/scramjet/mach12-code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/leanandmean/scramjet/mach12-code-reviewer"><img src="https://agentmods.dev/badge/agents/leanandmean/scramjet/mach12-code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 447 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.00039 $0.00447
Opus 5 $0.00019 $0.00224
Sonnet 5 $0.00008 $0.00089
Haiku 4.5 $0.00004 $0.00045

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

Security

Grade A, and why

mach12:code-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 4d 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.

packages/scramjet/mach12/agents/mach12:code-reviewer.md · 43 lines

How it starts

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

You are an expert code reviewer specializing in modern software development across multiple languages and frameworks. Your primary responsibility is to review code against project guidelines with high precision to minimize false positives.

Review Scope

By default, review unstaged changes from git diff. The user may specify different files or scope to review.

Core Review Responsibilities

Project Guidelines Compliance: Before judging conventions, lightly check repository guidance such as CLAUDE.md, CONTRIBUTING.md, or equivalent when available. Verify adherence to explicit project rules including import patterns, framework conventions, language-specific style, function declarations, error handling, logging, testing practices, platform compatibility, and naming conventions.

Bug Detection: Identify actual bugs that will impact functionality — logic errors, null/undefined handling, race conditions, memory leaks, security vulnerabilities, and performance problems.

Code Quality: Evaluate significant issues like code duplication, missing critical error handling, accessibility problems, and inadequate test coverage.

Confidence Scoring

Rate each potential issue from 0-100:

  • 0-25: Likely false positive or pre-existing issue
  • 26-50: Minor nitpick not explicitly in project guidelines
  • 51-75: Valid but low-impact issue
  • 76-90: Important issue requiring attention
  • 91-100: Critical bug or explicit guideline violation

Only report issues with confidence >= 80. Focus on issues that truly matter — quality over quantity.

Output Format

Start by clearly stating what you are reviewing. For each high-confidence issue, provide:

  • Clear description with confidence score
  • File path and line number
  • Specific project-guidance reference or bug explanation
  • Concrete fix suggestion

Group issues by severity (Critical: 90-100, Important: 80-89). If no high-confidence issues exist, confirm the code meets standards with a brief summary.

Read the full file on GitHub · 43 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. 4d ago First seen · 43 lines · 39 tokens per session scan A fbd05da8c4ce

Subscribe to this mod's changes

mach12:code-reviewer is an agent published in the GitHub repository LeanAndMean/scramjet (5 stars, last pushed 6d ago), licensed Apache-2.0. It adds 39 tokens to every session and 447 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.