setup-datamodel

setup-datamodel is a skill for Claude Code from microsoft/power-platform-skills. It costs 64 tokens per session (5,275 once invoked), scanned A, original, MIT.

A workflow for designing or revising a Microsoft Dataverse data model and its connectors for an existing Power Apps mobile app. Dataverse is Microsoft's cloud data platform, and connectors link the app to data services.

In plain words
What is it for?
Importing an ER diagram, planning tables and connectors, getting approval, then applying the data model and connector setup.
Why use it?
It separates planning from applying database and connector changes, helping prevent an app's data structure from being changed without review.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool; mentions AGENTS.md.

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

Good fit Importing an ER diagram, planning tables and connectors, getting approval, then applying the data model and connector setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/power-platform-skills/setup-datamodel
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,211 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.

Any agent
npx skills add microsoft/power-platform-skills --skill setup-datamodel
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 setup-datamodel

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/setup-datamodel"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/setup-datamodel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,275 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 6
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium MCP Rug Pull · line 149
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Agent Snooping · line 188
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 188
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 221
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00064 $0.05275
Opus 5.5 $0.00026 $0.02110
Sonnet 5.5 $0.00013 $0.01055
Haiku 4.5 $0.00006 $0.00528

Measured 1mo ago against content hash fba98ef27a0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-datamodel 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 1mo 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/skills/setup-datamodel/SKILL.md · 467 lines

How it starts

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

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" - if it outputs a message, show it to the user before proceeding.

📋 Shared instructions: shared-instructions.md — read first.

Set Up Data Model + Connectors

Entry routing: use the shared App feature entry points preflight before the workflow below.

Invocation scope: follow Data-source invocation scope before any project read or the workflow below.

This standalone data-only workflow does not require a complete app plan. It proposes and approves only the current schema/connector delta; preserve existing app sections without invoking full-app planning or screen generation. When called by an owner, retain its explicit current request, absolute root, phase, and scope, and return proposals or verified results to that owner.

Combined orchestrator for standalone data source planning. Designs the Dataverse schema, plans connectors, gets approval on both, then delegates execution to /add-dataverse and /add-connector.

Use this skill when Use /add-dataverse directly when
Standalone schema + connector design (initialized app; data plan optional) The plan already exists and you just need to apply tables + generate services
You have an existing ER diagram (image / Mermaid / text) to import /create-mobile-app is invoking this as a sub-step with approved scoped context
Re-planning the schema or connectors mid-project You only need to add a single table or a single connector

Workflow

  1. Resolve project root & verify auth → 2. Design data model → 3. Plan connectors → 4. Combined approval → 5. Execute additions/refreshes → 6. Execute connectors → 6.25 Retire approved bindings → 6.5 Reconcile offline profile → 7. Reconcile inventory & summarize

Phase 1 — Verify Project & Auth

Read the full file on GitHub · 467 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. 1mo ago Changed · +3 lines fba98ef27a0f
  2. 1mo ago Changed · +239 lines 3430ac083ea5
  3. 1mo ago Changed aff35a845c03
  4. 2mo ago Changed · +2 lines 7b7399b44f9c
  5. 2mo ago Changed · +12 lines e8e493ea0766
  6. 3mo ago Changed 0098ae66fe4a
  7. 3mo ago First seen · 211 lines · 64 tokens per session scan A 9adc89edcb53

Subscribe to this mod's changes

setup-datamodel is a skill published in the GitHub repository microsoft/power-platform-skills (1,211 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 5,275 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

setup-datamodel compared with skills from other repositories

setup-datamodel next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-datamodelmicrosoft/power-platform-skillsSkill1.2ktodayMITA64Claude Code
canvas-apps-ui-genToluVictor/canvas-apps-toolsSkill1527mo agoMITA71Claude Code
ddia-systemswondelai/skillsSkill2.9k4d agoMITA138Claude Code
ios-hig-designwondelai/skillsSkill2.9k4d agoMITA145Claude Code
ecto-patternsoliver-kriska/claude-elixir-phoenixSkill580todayMITA51Claude Code
phoenix-contextsoliver-kriska/claude-elixir-phoenixSkill580todayMITA46Claude Code
ecto-n1-checkoliver-kriska/claude-elixir-phoenixSkill580todayMITA49Claude Code, Codex