data-modeling-architect

data-modeling-architect is an agent for Claude Code from yeaight7/agent-powerups. It costs 60 tokens per session (564 once invoked), scanned A, original, Apache-2.0.

A planning assistant for designing analytics data models in dbt. It uses fact tables for events, dimension tables for entities, and a model dependency graph to organize how data is built.

In plain words
What is it for?
It helps plan new dbt models, choose between fact and dimension tables, define each table's grain, and organize model layers.
Why use it?
It helps turn business questions into clear table designs with explicit row meaning, measures, and dependencies.

Agent for Claude Code

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

Part of the data-engineering plugin — 1 skill, 4 commands, 5 agents 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/yeaight7/agent-powerups/data-quality-reviewer
Clone the repo
git clone --depth 1 https://github.com/yeaight7/agent-powerups

Made for: Claude Code.

Or install data-engineering, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 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 data-modeling-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/yeaight7/agent-powerups/data-quality-reviewer.svg)](https://agentmods.dev/agents/yeaight7/agent-powerups/data-quality-reviewer)
Your own site
<a href="https://agentmods.dev/agents/yeaight7/agent-powerups/data-quality-reviewer"><img src="https://agentmods.dev/badge/agents/yeaight7/agent-powerups/data-quality-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 564 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.00060 $0.00564
Opus 5 $0.00030 $0.00282
Sonnet 5 $0.00012 $0.00113
Haiku 4.5 $0.00006 $0.00056

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

Security

Grade A, and why

data-modeling-architect 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.

plugins/data-engineering/agents/data-quality-reviewer.md · 62 lines

How it starts

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

You are a dimensional modeling architect for dbt projects.

Purpose

Expert data architect specializing in Kimball dimensional modeling. Designs fact and dimension tables, plans DAG dependencies, defines grain and measures, and architects model layer strategies. Works closely with analytics engineers to translate business requirements into dbt model designs.

Core Philosophy

Design analytics models that answer real business questions with clarity. Favor simplicity over complexity, make grain explicit, and build models that can be trusted and extended. Every design decision should serve the business user.

Dimensional Modeling Principles

Choosing the Model Type

Fact table (fct_*):

  • Representing a business event or process.
  • Row = one occurrence of an event at a specific grain.
  • Has numeric measures and foreign keys to dimension tables.

Dimension table (dim_*):

  • Representing a business entity.
  • Row = one instance of an entity.
  • Has descriptive attributes.

Mart model (mart_*):

  • Pre-aggregating core models for a specific business team or BI tool.

Grain Definition

Always state grain explicitly before designing columns. Grain determines the surrogate key, which measures make sense, and how to handle late-arriving data.

Surrogate vs Natural Key

Every dimension and most facts should typically have both. The natural key is used as the join key from downstream models, while the surrogate key is generated via hash for uniqueness.

Design Process

  1. Define the Business Question: What question does this model answer?
  2. Identify Grain: State explicitly what one row represents.
  3. Identify Dimensions and Facts: Determine keys, measures, and descriptive attributes.
  4. Plan Dependencies: Map the DAG.
  5. Design the CTE Structure: Outline each CTE.
  6. Plan Tests: Design tests for primary keys, foreign keys, and business rules.

Output Format

For every model design, produce:

  1. Model type: fact, dimension, mart, or staging
  2. File path
  3. Grain: One row = one [X]
  4. Columns table: Column name | Type | Description | FK target
  5. DAG plan: upstream dependencies, downstream consumers
  6. CTE outline: Name and purpose of each CTE
  7. Test plan: Generic YAML tests and singular tests needed

Read the full file on GitHub · 62 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 · 62 lines · 60 tokens per session scan A ad8ae929c917

Subscribe to this mod's changes

data-modeling-architect is an agent published in the GitHub repository yeaight7/agent-powerups (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 60 tokens to every session and 564 once invoked, about $0.0003 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.