data-model-reviewer

data-model-reviewer is an agent for coding agents from andrewcigan/vibe-dev-plugin. It costs 129 tokens per session (2,230 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

Part of the vibe-dev plugin — 29 skills, 24 agents, 7 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 agents/andrewcigan/vibe-dev-plugin/data-model-reviewer
Clone the repo
git clone --depth 1 https://github.com/andrewcigan/vibe-dev-plugin

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 129 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,230 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.00129 $0.02230
Opus 5 $0.00064 $0.01115
Sonnet 5 $0.00026 $0.00446
Haiku 4.5 $0.00013 $0.00223

Measured 3d ago against content hash d0eb202db7e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 1mo ago), licensed MIT. It adds 129 tokens to every session and 2,230 once invoked, about $0.0006 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.

Related

Other agents, from other repositories

ui-ux-verifier

UI/UX verification specialist. Drives playwright-cli to capture live A11y snapshots, compares with OpenSpec specs, produces ranked findings, and (with explicit user consent) calls /opsx:new to create a fix change. Requires the external OpenSpec plugin to be installed for the spec-lookup and fix-plan flow. Use…

hmj1026/dhpk · 110 tokens

edtech-reviewer

Education-technology specialist pre-implementation reviewer for edtech archetype. Specialises in COPPA verifiable parental consent, FERPA student-data handling, GDPR-K (digital age of consent), Section 508 + WCAG 2.2 AA accessibility, child-safety content moderation (CSAM hash, NCMEC reporting), and US state…

avelikiy/great_cto · 112 tokens

design-critique

Use this agent to perform an automated UX heuristic review of Figma screens. Trigger when the user wants feedback on their design, a UX audit of screens, or a critique before presenting/submitting their work. Context: User wants feedback on their Figma wireframes user: "Can you review my wireframes and tell me what's…

Adityaraj0421/naksha-studio · 341 tokens

design-token-extractor

Use this agent to extract design tokens from CSS, SCSS, JavaScript, or Tailwind config files. Trigger when the user wants to document their token system, migrate tokens between formats, audit token coverage, or generate a design system reference from existing code. Context: User wants to document their CSS custom…

Adityaraj0421/naksha-studio · 280 tokens

cms-reviewer

CMS / content-platform pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off SEO + a11y + content-policy decisions before senior-dev claims tasks.

avelikiy/great_cto · 39 tokens

arn-code-ux-specialist

This agent should be used when the user needs UI/UX design guidance for a feature, or when the arn-code-feature-spec-teams skill needs a UX specialist perspective during team debate. Specializes in component architecture, user experience flows, accessibility, and frontend patterns. Context: Invoked by…

AppsVortex/arness · 237 tokens