data-model-reviewer

data-model-reviewer is an agent for Claude Code from andrewcigan/vibe-dev-plugin. It costs 134 tokens per session (2,240 once invoked), scanned A, original, MIT.

A critical review agent for checking a database design before tables, migrations, or access rules are implemented.

In plain words
What is it for?
Use it to review database schemas, decide between tables and JSON, examine deletion and normalization choices, and find relationships that cannot be implemented as described.
Why use it?
It looks for missing entities, fields, incorrect relationships, and mismatches between the planned user experience and the database.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool; positional $N argument.

Part of the vibe-dev plugin — 29 skills, 24 agents, 7 hooks shipped together

Good fit Use it to review database schemas, decide between tables and JSON, examine deletion and normalization choices, and find relationships that cannot be implemented as described.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/andrewcigan/vibe-dev-plugin/data-model-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/andrewcigan/vibe-dev-plugin

Made for: Claude Code.

Or install vibe-dev, the plugin that ships this one along with the rest of its 29 skills, 24 agents, 7 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 data-model-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/andrewcigan/vibe-dev-plugin/data-model-reviewer"><img src="https://agentmods.dev/badge/agents/andrewcigan/vibe-dev-plugin/data-model-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,240 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.00134 $0.02240
Opus 5.5 $0.00054 $0.00896
Sonnet 5.5 $0.00027 $0.00448
Haiku 4.5 $0.00013 $0.00224

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

Security

Grade A, and why

data-model-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-model-reviewer.md · 130 lines

How it starts

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

Data-Model Reviewer Agent

Роль

Критический ревьюер модели данных перед её реализацией. Модель «застывает» после первой реализации — переименовать таблицы/поля задним числом всегда дороже, чем спроектировать правильно сразу. Обычный harness flow (/dev-plan + /feature) фиксирует базовые сущности, но не задумывается критически про пропущенные. Ты — то самое критическое звено.

Закрывает два класса боли (оба из реальных проектов):

  • Реальный случай (CRM-проект): отдельная сущность для медиа блогера не была явной таблицей, хотя бизнес-сценарий «менеджер видит media-историю на карточке» в ТЗ есть.
  • Реальный случай (CRM-проект): описание фичи «кнопки инжекта DM на карточках opportunity» противоречило модели (dm_messages.blogger_id NOT NULL, opportunity_id nullable — DM привязаны к блогеру, не к opportunity). «Физически нереализуемая 1:1 связь».

Главный принцип

Не соглашаться по умолчанию. Твоя ценность — найти то, что harness пропустил. «Модель выглядит нормально» — это провал ревью. Всегда есть пропущенная сущность, упущенное поле или UX-описание, которое врёт о связи. Ищи, пока не найдёшь конкретику.

Ты НЕ подключён к harness flow и НЕ обязан соглашаться с тем, что уже зафиксировано в feature_list.json или architecture. Если базовое решение спорно — скажи прямо.

Что получаешь на вход

  1. Список текущих сущностей — имя таблицы + что хранит (из schema-файлов или architecture).
  2. Схема — все файлы src/db/schema/**, **/migrations/**, prisma/schema.prisma, drizzle/** или эквивалент (найди через Glob).
  3. Доменные документы — docs/PRODUCT.md, docs/ARCHITECTURE.md, domain-rules.yaml, исходники требований.
  4. Бизнес-сценарии — ключевой бизнес-процесс (из PRODUCT.md / user-stories).
  5. feature_list.json — все описания фич (для проверки «UX-фича vs модель»).
  6. Предыдущий ревью (если был) — docs/data-model-review.md.

Что должен сделать

Шаг 1: Прочитать всё (схема + домен + фичи)

Через Glob найди schema-файлы. Прочитай их целиком. Прочитай доменные документы и ВСЕ описания фич в feature_list.json. Выпиши список сущностей и связей (направления FK, NOT NULL vs nullable).

Read the full file on GitHub · 130 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 Changed · +5 tokens per session 36cd507c1734
  2. 1mo ago First seen · 130 lines · 129 tokens per session scan A d0eb202db7e2

Subscribe to this mod's changes

data-model-reviewer is an agent published in the GitHub repository andrewcigan/vibe-dev-plugin (5 stars, last pushed 17d ago), licensed MIT. It adds 134 tokens to every session and 2,240 once invoked, about $0.0005 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

db-migration-reviewer

Database migration safety specialist. Activates when migrations/ files are detected in a PR or feature branch. Checks lock duration, rollback strategy, zero-downtime patterns, PII column handling, and index creation safety. Writes docs/migrations/MIGRATE-{slug}.md. Blocks deploy if no rollback path exists.

avelikiy/great_cto · 69 tokens

infra-provisioner

Provisions the real backing infrastructure for a Product-Builder product so it reaches a live URL — managed Postgres (Neon default), the hosting project (Vercel default), env/secret wiring, and the custom domain + DNS + TLS. Pairs with devops (which does preview/staging only and refuses prod/real-domain). Runs after…

avelikiy/great_cto · 137 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

app-scaffolder

Project-scaffolding builder that stands up a working base application from the pinned stack-baseline so senior-dev implements FEATURES, not boilerplate. Creates the Next.js + TypeScript + Tailwind/shadcn skeleton, wires Drizzle + Postgres, Auth.js (to the auth-engineer contract), env template, folder structure, CI…

avelikiy/great_cto · 137 tokens

verifier

Use this agent when verifying that implementation meets success criteria, validating phase completion, checking plan coverage before execution, or performing pre-ship validation. Examples: Context: A phase has been fully built and reviewed, and needs final verification before moving on. user: "Verify that the database…

lgbarn/shipyard · 278 tokens