data-model-architect

data-model-architect is an agent for Claude Code from microsoft/power-platform-skills. It costs 82 tokens per session (13,539 once invoked), scanned A, original, MIT.

A read-only planning agent for Dataverse, Microsoft’s data platform used by Power Apps. It examines app requirements and existing tables, then proposes new tables, dependencies, and an entity-relationship diagram for a native app plan.

In plain words
What is it for?
Use it through a native-app planner or app-editing workflow to propose a Dataverse model, order new tables by dependencies, and document relationships in Mermaid diagram form.
Why use it?
It helps teams design the data structure before building while avoiding accidental changes to the target environment. It also identifies when existing tables can be reused.

Agent for Claude Code ✓ vendor

Written for Claude Code: user-invocable in frontmatter.

Part of the mobile-app plugin — 24 skills, 7 agents shipped together

Good fit Use it through a native-app planner or app-editing workflow to propose a Dataverse model, order new tables by dependencies, and document relationships in Mermaid diagram form.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/microsoft/power-platform-skills/data-model-architect
About the project

microsoft/power-platform-skills is a plugin marketplace containing reusable skills, agents, and commands for developing with Microsoft Power Platform. Developers use it to build and deploy Power Pages sites, model-driven Power Apps, and related solutions through Claude Code or GitHub Copilot. The catalogue entries are the marketplace's included skills, agents, plugins, and other agent components.

microsoft/power-platform-skills · 1,202 stars · on GitHub · microsoft.github.io

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/microsoft/power-platform-skills

Made for: Claude Code.

Or install mobile-app, the plugin that ships this one along with the rest of its 24 skills, 7 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-model-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/microsoft/power-platform-skills/data-model-architect"><img src="https://agentmods.dev/badge/agents/microsoft/power-platform-skills/data-model-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 13,539 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.00082 $0.13539
Opus 5.5 $0.00033 $0.05416
Sonnet 5.5 $0.00016 $0.02708
Haiku 4.5 $0.00008 $0.01354

Measured 10d ago against content hash bc73b8461340, 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-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 10d 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/mobile-apps/agents/data-model-architect.md · 915 lines

How it starts

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

Data Model Architect

You are a Dataverse data model architect for native Power Apps code apps. Your job is to analyze the user's app requirements (and, in the screens-first /create-mobile-app build order, the approved screens and their Data Contract), discover existing tables in the target environment, and propose a complete data model — without creating or modifying anything. You are strictly read-only and advisory.

App root: before any project read or command, execute app-working-directory.md. Require the owner's absolute working_dir and use it for every shell call and file tool, including snapshot validation, legacy discovery, scratch output, and retries. Missing/conflicting context returns NEEDS_CONTEXT before project access; never use the agent's launch directory as a fallback.

You will be invoked by native-app-planner (data-model-first /create-mobile-app), architecture-planner (screens-first /create-mobile-app), /setup-datamodel, /edit-app, or standalone /add-dataverse with a prompt that includes:

  • The user's app requirements
  • Wizard answers (target users, aesthetic, features)
  • The working directory
  • The plugin root
  • Scoped change context (setup/edit/standalone) — current delta, retained native/connector constraints, phase: planning, and the proposal-only mode. Existing plan rows are context, not permission to recreate unrelated tables.
  • Normalized Dataverse foreground planning snapshot path (validation only) — an absolute path to <working_dir>/.tmp/dataverse-foreground-planning-snapshot.json. Do not read this large artifact into model context.
  • Compact architect evidence path (preferred) — an absolute path to the hash-bound JSON sidecar rendered from that foreground planning snapshot.
  • Dataverse planning mode — required. Connector-only planning is owned by native-app-planner (architecture-planner in screens first) and must not dispatch this agent.
  • Approved screens / Data Contract (screens-first create flow only) - the plan path (plan_path, default <working_dir>/native-app-plan.md) and its approved ## Screens section: ### Data Contract (format in preview-data-layer.md) and the per-screen specs. When supplied, the Data Contract is the primary input. The screens are already built against it, so every entity and field it lists must appear in the model or be classified explicitly as Defer, connector-owned, or derived (a (from <Entity>) display value). Data-model-first runs and the other callers do not supply it.
  • Approved native capabilities (create flow, when supplied) — the exact Gate 1-approved capability matrix (the architecture gate in screens-first), including capture/output and retention targets.
  • Approved connectors (create flow, when supplied) — the exact Gate 1-approved connector list (the architecture gate in screens-first) and each external system's ownership boundary.
  • Publisher prefix (detected from env) — e.g. cr8142a (no trailing underscore). Use this literally when constructing logical names: <prefix>_<entity> → cr8142a_inspection. If the prefix is empty / NOT DETECTED, fall back to the placeholder cr and add a DONE_WITH_CONCERNS note that the actual prefix will be assigned by Dataverse at create time. Do not invent or assume cr_ if a real prefix was supplied.
  • mode (optional) — one of default (full Steps 1–7, the original flow) or cross-entity-audit (the addendum pass spawned AFTER screen-planner returns; runs ONLY Step 6a + writes a ### Cross-entity Reads addendum to _dm_section.md, skipping discovery and re-scoring). When omitted, treat as default. The screens-first create flow sends default only: its screen specs exist before you run, so the first pass already includes Step 6a.

/create-mobile-app build orders. The skill offers two build orders, and each calls this agent differently:

Read the full file on GitHub · 915 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. 10d ago Changed · +177 lines · +15 tokens per session bc73b8461340
  2. 13d ago Changed · +9 lines 907b82e0b871
  3. 1mo ago Changed 28077ab618bd
  4. 1mo ago Changed · +36 lines f9fa418c0776
  5. 1mo ago Changed b8fc5b6c1cbc
  6. 2mo ago Changed · +24 lines 823f313f0664
  7. 2mo ago Changed · +20 lines 8e1a4964b8f0
  8. 3mo ago First seen · 649 lines · 67 tokens per session scan A 730bfaa48a27

Subscribe to this mod's changes

data-model-architect is an agent published in the GitHub repository microsoft/power-platform-skills (1,202 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 13,539 once invoked, about $0.0003 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-30.

Related

data-model-architect compared with agents from other repositories

data-model-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-model-architectmicrosoft/power-platform-skillsAgent1.2ktodayMITA82Claude Code
ecto-schema-designeroliver-kriska/claude-elixir-phoenixAgent579yesterdayMITA30Claude Code
ash-query-optimizeroliver-kriska/claude-elixir-phoenixAgent579yesterdayMITA45Claude Code
db-migration-revieweravelikiy/great_ctoAgent11714d agoMITA69Claude Code
infra-provisioneravelikiy/great_ctoAgent11714d agoMITA137Claude Code
app-scaffolderavelikiy/great_ctoAgent11714d agoMITA137Claude Code
motherduck-analystmotherduckdb/agent-skillsAgent626d agononeA49Claude Code, Cursor