review

review is a skill for Claude Code, Codex from baz-scm/baz-plugin. It costs 109 tokens per session (3,154 once invoked), scanned A, original, MIT.

A code-review process that examines a change against the wider organization’s repositories using Baz, an indexed code-search service. It reviews a diff, branch, or pull request without changing files unless the user approves specific fixes.

In plain words
What is it for?
Use it to review changes for bugs and security issues, check cross-repository impact, and optionally apply approved fixes.
Why use it?
It can reveal callers or related code outside the current checkout that a local diff review would not see.

Skill for Claude CodeCodex

Part of the baz plugin — 4 skills, 4 hooks 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 skills/baz-scm/baz-plugin/review
Any agent
npx skills add baz-scm/baz-plugin --skill review
Clone the repo
git clone --depth 1 https://github.com/baz-scm/baz-plugin

Made for: Claude Code, Codex.

Or install baz, the plugin that ships this one along with the rest of its 4 skills, 4 hooks.

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 review

README.md
[![agentmods](https://agentmods.dev/badge/skills/baz-scm/baz-plugin/review.svg)](https://agentmods.dev/skills/baz-scm/baz-plugin/review)
Your own site
<a href="https://agentmods.dev/skills/baz-scm/baz-plugin/review"><img src="https://agentmods.dev/badge/skills/baz-scm/baz-plugin/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,154 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.1 $0.00109 $0.03154
Opus 5 $0.00055 $0.01577
Sonnet 5 $0.00022 $0.00631
Haiku 4.5 $0.00011 $0.00315

Measured 5d ago against content hash a7f0740f18b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

review 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 5d 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.

skills/review/SKILL.md · 149 lines

How it starts

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

Review with Baz

Review a set of changes and report what is actually wrong with them. $ARGUMENTS carries the scope flags (all optional).

What makes this review different from reading the diff yourself: Baz's indexed search lets you check the change against code that isn't in this checkout. A signature change that looks safe here can break a caller in another repo. Finding that is the point of this command — see Step 3.

Reviewing is read-only. Do not edit files, amend commits, or push. The one exception is the --fix loop in Step 6, which runs only after the user approves specific findings.

Step 1: Resolve the scope

Parse $ARGUMENTS, then build the diff.

Resolve the base branch first, and confirm the ref actually resolves before you diff against it — --base <branch> overrides all of this. Walk the ladder in order, taking the first that resolves under git rev-parse --verify:

  1. git symbolic-ref refs/remotes/origin/HEAD — the remote's declared default. Commonly absent in a fresh or CI clone; that is expected, fall through.
  2. origin/main, then origin/master.
  3. main, then master (local branches, for a repo with no remote).
  4. Nothing resolved — you are most likely in a shallow or --single-branch clone, where the base branch simply isn't in the object store. Do not diff against HEAD~1 and hope. Run git fetch --depth=100 origin <branch> to pull the base in, or ask the user which base to use. Say which one you did.

Never assume main exists because the repo looks like it should have one — rev-parse --verify it. Diffing against a ref that doesn't resolve produces a git error mid-review; diffing against the wrong ref silently reviews the wrong changes, which is worse.

Argument What to review How to get it
(none) Everything not yet on the base branch — commits on this branch plus uncommitted tracked edits git diff $(git merge-base <base> HEAD)
committed Only commits on this branch git diff <base>...HEAD
uncommitted Only staged + unstaged edits to tracked files git diff HEAD
--include-untracked Adds new files git isn't tracking yet git ls-files --others --exclude-standard, then read each
--pr <number|url> An open pull request gh pr diff <n> (or glab mr diff <n>)

Read the full file on GitHub · 149 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. 5d ago First seen · 149 lines · 109 tokens per session scan A a7f0740f18b0

Subscribe to this mod's changes

review is a skill published in the GitHub repository baz-scm/baz-plugin (10 stars, last pushed 8d ago), licensed MIT. It adds 109 tokens to every session and 3,154 once invoked, about $0.0005 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.