data-model-architect

data-model-architect is an agent for Claude Code from microsoft/power-platform-skills. It costs 67 tokens per session (10,620 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. Also seen: model in frontmatter.

Part of the mobile-app plugin — 23 skills, 5 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,015 stars · on GitHub · aka.ms

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 23 skills, 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-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 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 10,620 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.00067 $0.10620
Opus 5.5 $0.00027 $0.04248
Sonnet 5.5 $0.00013 $0.02124
Haiku 4.5 $0.00007 $0.01062

Measured 7d ago against content hash 28077ab618bd, 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 7d 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 · 729 lines

How it starts

The opening of the file, as written. The whole thing — 729 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, 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, /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 and must not dispatch this agent.
  • Approved native capabilities (create flow, when supplied) — the exact Gate 1-approved capability matrix, including capture/output and retention targets.
  • Approved connectors (create flow, when supplied) — the exact Gate 1-approved connector list 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.

Read the full file on GitHub · 729 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. 7d ago Changed 28077ab618bd
  2. 8d ago Changed · +36 lines f9fa418c0776
  3. 9d ago Changed b8fc5b6c1cbc
  4. 22d ago Changed · +24 lines 823f313f0664
  5. 29d ago Changed · +20 lines 8e1a4964b8f0
  6. 1mo 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,015 stars, last pushed today), licensed MIT. It adds 67 tokens to every session and 10,620 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

Other agents, from other repositories

ash-query-optimizer

Ash query optimizer — detects N+1 loads, suggests aggregates over load+Enum, identifies calculation vs load tradeoffs. Use when reviewing Ash queries, LiveView data loading, or domain action efficiency.

oliver-kriska/claude-elixir-phoenix · 45 tokens

ecto-schema-designer

Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.

oliver-kriska/claude-elixir-phoenix · 30 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

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

db-schema-reviewer

A database schema and migration reviewer examines changes to the structure of a database, such as tables, columns, indexes, and data updates. It reviews only the files provided and produces a report without changing code.

cubha/claude-workflow-plugins · 74 tokens