reviewer-xai

reviewer-xai is an agent for Claude Code from shindo107/plan-build-review. It costs 46 tokens per session (1,031 once invoked), scanned A, a copy of reviewer-anthropic, MIT.

A read-only code reviewer that checks a proposed change for architecture or correctness problems. It is used as one member of a review pair and is tied to a particular AI model family.

In plain words
What is it for?
It helps inspect a plan and code diff for missed paths, invariant violations, abstraction problems, and effects outside the changed code.
Why use it?
It provides a separate review of a change without modifying the code. The architecture lens looks for hidden coupling and design problems; the correctness lens checks whether behavior matches the specification.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the plan-build-review plugin — 1 skill, 5 agents shipped together

Good fit It helps inspect a plan and code diff for missed paths, invariant violations, abstraction problems, and effects outside the changed code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shindo107/plan-build-review/reviewer-xai
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/shindo107/plan-build-review

Made for: Claude Code.

Or install plan-build-review, the plugin that ships this one along with the rest of its 1 skill, 5 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/shindo107/plan-build-review/reviewer-xai/github.svg)](https://agentmods.dev/agents/shindo107/plan-build-review/reviewer-xai)
Your own site
<a href="https://agentmods.dev/agents/shindo107/plan-build-review/reviewer-xai"><img src="https://agentmods.dev/badge/agents/shindo107/plan-build-review/reviewer-xai/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 reviewer-xai

Your own site · 80×15
<a href="https://agentmods.dev/agents/shindo107/plan-build-review/reviewer-xai"><img src="https://agentmods.dev/badge/agents/shindo107/plan-build-review/reviewer-xai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,031 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 94% copy Near-identical to another mod 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.00046 $0.01031
Opus 5.5 $0.00018 $0.00412
Sonnet 5.5 $0.00009 $0.00206
Haiku 4.5 $0.00005 $0.00103

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

Security

Grade A, and why

reviewer-xai 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.

Origin

This is a copy

94% identical to reviewer-anthropic — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/plan-build-review/cursor/agents/reviewer-xai.md · 63 lines

How it starts

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

You are one half of an adversarial review pair. Your partner runs in parallel on a different model family with a different lens. The spawning prompt gives you: the plan file path, the diff (inline or a patch path), the repo path, the base SHA, your assigned scopes, and your lens.

Line 1 of your report is mandatory

Begin your response with exactly one line in this form, before anything else:

Reviewer model: <the model you actually are, as precisely as you can state it — e.g. "xAI / <model name>">

The main thread uses this line to confirm the two reviewers really came from different families and that neither is the family that wrote the code. If you are not sure which exact model you are, state the family and say "exact version unknown". Never guess a different family than your own.

Your lens (set by the spawn prompt)

  • architecture — the skeptical senior engineer. Hidden coupling, abstraction mismatch, over- and under-engineering, invariant violations, blast radius beyond the diff. Do not repeat what tests check; do not flag cosmetics; do not propose wholesale alternative designs.
  • correctness — the careful engineer who checks every path. Spec match against the plan, edge cases (empty / null / boundary / concurrent / error / timeout), regression risk for existing callers, test gaps, types that lie, off-by-one and async ordering. Do not rewrite the design; architecture is your partner's job.

If the prompt names no lens, take correctness.

Reading the diff

You are read-only: you may read files and run read-only shell commands (git diff, git log, grep), never edit. If the prompt cites a patch file you cannot read, regenerate the diff yourself with git -C <repo> diff <base-sha>..HEAD using the repo path and base SHA from the prompt, plus git -C <repo> diff HEAD for uncommitted changes. Your working directory may not be the repo under review.

Read the full file on GitHub · 63 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 · 63 lines · 46 tokens per session scan A 5938c97fc4ea

Subscribe to this mod's changes

reviewer-xai is an agent published in the GitHub repository shindo107/plan-build-review (2 stars, last pushed 5d ago), licensed MIT. It adds 46 tokens to every session and 1,031 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to reviewer-anthropic, differing in 10 lines, and is treated as a copy.

Related

reviewer-xai compared with agents from other repositories

reviewer-xai next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reviewer-xaishindo107/plan-build-reviewAgent25d agoMITA46Claude Code
harness-reviewerJunhanliu-dev/espalier-engineeringAgent6918d agoMITA114Claude Code
devils-advocatemarkshust/hcfAgent841mo agoMITA42Claude Code
reviewerrohitg00/pro-workflowAgent2.9k1mo agononeA29Claude Code
code-reviewerSpaiR/task-pipelineAgent71mo agoMITA71Claude Code
self-invariants-auditorSpaiR/task-pipelineAgent71mo agoMITA89Claude Code
self-leanness-auditorSpaiR/task-pipelineAgent71mo agoMITA116Claude Code