data-reviewer

data-reviewer is an agent for Claude Code from everywan-dev/claude-code-engineering. It costs 25 tokens per session (670 once invoked), scanned A, original, Apache-2.0.

A reviewer for database changes involving migrations, deletions, or monetary amounts. A migration is a controlled change to a database’s structure or data.

In plain words
What is it for?
Use it to review changes that may alter or remove data or money, especially high-risk changes that require the strongest review level.
Why use it?
It checks safeguards before risky changes run, including verified backups, dry runs, repeatability, affected-row counts, rollback behavior, and differences between test and production data.

Agent for Claude Code

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Override it for a level-3 change — see [validation levels](../docs/validation-levels.md). **Nothing at level 3 runs on `haiku`.**.

Part of the claude-code-engineering plugin — 53 skills, 1 command, 8 agents, 1 hook shipped together

Good fit Use it to review changes that may alter or remove data or money, especially high-risk changes that require the strongest review level.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/everywan-dev/claude-code-engineering
agentmods
npx agentmods add agents/everywan-dev/claude-code-engineering/data-reviewer

Made for: Claude Code.

Or install claude-code-engineering, the plugin that ships this one along with the rest of its 53 skills, 1 command, 8 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/everywan-dev/claude-code-engineering/data-reviewer/github.svg)](https://agentmods.dev/agents/everywan-dev/claude-code-engineering/data-reviewer)
Your own site
<a href="https://agentmods.dev/agents/everywan-dev/claude-code-engineering/data-reviewer"><img src="https://agentmods.dev/badge/agents/everywan-dev/claude-code-engineering/data-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 data-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/everywan-dev/claude-code-engineering/data-reviewer"><img src="https://agentmods.dev/badge/agents/everywan-dev/claude-code-engineering/data-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 670 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.00025 $0.00670
Opus 5.5 $0.00010 $0.00268
Sonnet 5.5 $0.00005 $0.00134
Haiku 4.5 $0.00003 $0.00067

Measured 1mo ago against content hash 5a45da6dd84a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

data-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 1mo 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/data-reviewer.md · 61 lines

How it starts

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

Data reviewer

Model: opus. Migrations, deletions and money. Being wrong here is expensive and often irreversible, which is exactly where you do not save on the model.

Override it for a level-3 change — see validation levels. Nothing at level 3 runs on haiku.

Before anything runs

  • 🔴 Is there a backup, and has it been verified? Taken is not enough — a dump nobody has opened is not a backup: pg_restore --list backup.dump | rg -c 'TABLE DATA'
  • Is there a dry run? --dry-run, --check, --noop. If the tool has it, it gets used, and the output gets pasted.
  • Is it idempotent? What happens if it runs twice?
  • How many rows does it touch? Count them first. An UPDATE that lost its WHERE shows up in the row count, never in the reading.
  • ⚠️ Does the rollback restore the data, or only the schema? Those are very different promises.
  • Has it been checked against production, or only against the test environment? The test environment usually lacks exactly the thing that makes production dangerous.

What you count yourself instead of taking on trust

Your own count, before and after. If you're told "it only touches a few rows", you count:

-- before
select count(*) from the_table where <the condition the change uses>;
-- and after

Real mistakes you're looking for

  • 🔴 Confusing rows read with queries run. A counter showing hundreds of millions of "reads" on one table turned out to be rows, from about a dozen full scans — several of them caused by the diagnostic queries themselves. The diagnosis was one step away from being exactly backwards.
  • 🔴 Grepping the code to decide whether a table is used. It fails: tables with billions of reads showed up with zero references in the codebase. What counts is what the database engine reports about access, not a text search.
  • ⚠️ Signs. A whole class of billing bug was a price < 0 being read as a different kind of record than it was.
  • ⚠️ Zero is not the same as missing. A refund bug came down to COALESCE(NULLIF(refund_amount, 0), price_real, 0): a stored 0 that meant "no value recorded" was being treated as a real amount, and it understated the liability.

Read the full file on GitHub · 61 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. 1mo ago First seen · 61 lines · 25 tokens per session scan A 5a45da6dd84a

Subscribe to this mod's changes

data-reviewer is an agent published in the GitHub repository everywan-dev/claude-code-engineering (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 25 tokens to every session and 670 once invoked, about $0.0001 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-31.

Related

Other agents, from other repositories

data-engineer

Adversarial data and database engineer who assumes the design is mis-normalized and indexed for a workload that does not exist. Audits schemas, migrations, queries, ORM code, document shapes, stream contracts, and pipelines against normalization, dimensional modeling, key-value access patterns, columnar and…

testdouble/han · 216 tokens

devops-engineer

Adversarial DevOps / Site Reliability engineer who assumes the current code will break in production. Audits features, changes, infrastructure, pipelines, Dockerfiles, IaC, and manifests against DORA delivery metrics, the Twelve-Factor App, the Four Golden Signals, SLO/error-budget discipline, expand-and-contract…

testdouble/han · 193 tokens

01-vc-pipeline-pull

Fetch active investor pipeline data from external API (optional, degrades gracefully).

assafkip/kipi-system · 23 tokens

domain-ownership-analyst

Reads a codebase to discover domain ownership, authority, lifecycle, and consistency boundary evidence: which code creates, modifies, and consumes domain concepts; which representation is authoritative; where a concept's lifecycle begins and ends; which rules protect it; which changes must remain consistent together…

testdouble/han · 162 tokens

corpus-sync

Runs bulk corpus operations through the gnosis-mcp CLI — ingest, re-ingest, prune, git-history indexing, web crawl, re-embed. Use to set up a corpus, sync it after a reorganization, or index a new source.

nicholasglazer/gnosis-mcp · 55 tokens

evaluator-buffett

Buffett evaluator for long-term value and investment thinking. Focus: moats, margin of safety, circle of competence. Domain evaluator - invoked for :AI:strategy: and investment decisions.

datacore-one/datacore · 44 tokens