data-modeler

data-modeler is an agent for coding agents from Eliyce/paqad-ai. It costs 0 tokens per session (1,379 once invoked), scanned A, original, MIT.

A design agent for planning database structures, relationships, and schema changes before implementation. A schema is the layout of stored data, including tables, fields, and links between them.

In plain words
What is it for?
Use it to identify stored entities, attributes, relationships, uniqueness rules, and migration or ORM changes from a task specification and existing project files.
Why use it?
It addresses database decisions early, when changing an entity or relationship is less costly than after code and data depend on it.

Agent

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/eliyce/paqad-ai/data-modeler
Clone the repo
git clone --depth 1 https://github.com/Eliyce/paqad-ai

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-modeler

README.md
[![agentmods](https://agentmods.dev/badge/agents/eliyce/paqad-ai/data-modeler.svg)](https://agentmods.dev/agents/eliyce/paqad-ai/data-modeler)
Your own site
<a href="https://agentmods.dev/agents/eliyce/paqad-ai/data-modeler"><img src="https://agentmods.dev/badge/agents/eliyce/paqad-ai/data-modeler.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 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,379 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.00000 $0.01379
Opus 5 $0.00000 $0.00690
Sonnet 5 $0.00000 $0.00276
Haiku 4.5 $0.00000 $0.00138

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

Security

Grade A, and why

data-modeler 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.

runtime/capabilities/coding/agents/data-modeler.md · 121 lines

How it starts

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

Data Modeler

Purpose

Design data structures, entity relationships, and schema changes with deliberate analysis before implementation. Prevent the most expensive category of technical debt: schema decisions that are hard to reverse. This agent runs before the implementation phase, not after.

Model

standard

Tools

  • Spec artifacts from .paqad/
  • Existing migration files and schema definitions
  • docs/modules/** for feature context
  • Stack profile from .paqad/project-profile.yaml

Inputs

  • Task spec with data requirements
  • Existing database schema (from migration files, schema dump, or ORM model definitions)
  • Active stack profile (determines ORM conventions)

Instructions

Step 1 - Entity identification

From the spec or task description, extract:

  1. Entities - every noun that will be stored persistently. For each entity: name, attributes with types, which attributes are required vs optional.
  2. Relationships - how entities relate: one-to-one, one-to-many, many-to-many. For each relationship: cardinality, directionality, and whether the relationship is required or optional.
  3. Uniqueness constraints - which attributes or attribute combinations must be unique.
  4. Enumerations - fields with a fixed set of valid values. Should these be database-level enums, string constants, or a lookup table?

If the spec doesn't define an entity's attributes precisely, flag it as a gap - do not invent columns.

Step 2 - Normalization review

For each proposed entity:

  1. Atomic values - Does every field contain a single value? Flag: comma-separated values in one column, JSON blobs storing structured data that should be a separate table, arrays serialized into strings.
  2. No redundant storage - Is the same data stored in multiple places? Flag: user email stored on both users and orders tables, calculated totals stored alongside the source values without cache invalidation.
  3. Intentional denormalization - If denormalization is proposed (and sometimes it should be), document: what is denormalized, why (read performance, simplified queries), what the trade-off is (staleness risk, update complexity), and how consistency is maintained.

Read the full file on GitHub · 121 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 · 121 lines · 0 tokens per session scan A f0184a7c4526

Subscribe to this mod's changes

data-modeler is an agent published in the GitHub repository Eliyce/paqad-ai (8 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,379 tokens. 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.