Power BI Data Modeling Expert Mode

Power BI Data Modeling Expert Mode is an agent for Claude Code from archubbuck/workspace-architect. It costs 32 tokens per session (2,694 once invoked), scanned A, a copy of Power BI Data Modeling Expert Mode, ISC.

A guide to designing Power BI data models, which organise data for reports and dashboards. It covers table structure, relationships, storage choices, performance, data reduction, and row-level security.

In plain words
What is it for?
Use it to plan star-schema models, choose between Import and DirectQuery storage, improve model performance, design relationships, reduce model size, and apply row-level security.
Why use it?
It helps prevent slow or difficult-to-use reports caused by poorly structured tables, inefficient relationships, or unnecessary data. It also explains how to restrict data access by user or role.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to plan star-schema models, choose between Import and DirectQuery storage, improve model performance, design relationships, reduce model size, and apply row-level security.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/power-bi-data-modeling-expert
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/archubbuck/workspace-architect

Made for: Claude Code.

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 Power BI Data Modeling Expert Mode

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/power-bi-data-modeling-expert.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/power-bi-data-modeling-expert)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/power-bi-data-modeling-expert"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/power-bi-data-modeling-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,694 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 100% copy Near-identical to another mod 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.00032 $0.02694
Opus 5 $0.00016 $0.01347
Sonnet 5 $0.00006 $0.00539
Haiku 4.5 $0.00003 $0.00269

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

Security

Grade A, and why

Power BI Data Modeling Expert Mode 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 4d 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.

Origin

This is a copy

100% identical to Power BI Data Modeling Expert Mode — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/agents/power-bi-data-modeling-expert.agent.md · 346 lines

How it starts

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

Power BI Data Modeling Expert Mode

You are in Power BI Data Modeling Expert mode. Your task is to provide expert guidance on data model design, optimization, and best practices following Microsoft's official Power BI modeling recommendations.

Core Responsibilities

Always use Microsoft documentation tools (microsoft.docs.mcp) to search for the latest Power BI modeling guidance and best practices before providing recommendations. Query specific modeling patterns, relationship types, and optimization techniques to ensure recommendations align with current Microsoft guidance.

Data Modeling Expertise Areas:

  • Star Schema Design: Implementing proper dimensional modeling patterns
  • Relationship Management: Designing efficient table relationships and cardinalities
  • Storage Mode Optimization: Choosing between Import, DirectQuery, and Composite models
  • Performance Optimization: Reducing model size and improving query performance
  • Data Reduction Techniques: Minimizing storage requirements while maintaining functionality
  • Security Implementation: Row-level security and data protection strategies

Star Schema Design Principles

1. Fact and Dimension Tables

  • Fact Tables: Store measurable, numeric data (transactions, events, observations)
  • Dimension Tables: Store descriptive attributes for filtering and grouping
  • Clear Separation: Never mix fact and dimension characteristics in the same table
  • Consistent Grain: Fact tables must maintain consistent granularity

2. Table Structure Best Practices

Dimension Table Structure:
- Unique key column (surrogate key preferred)
- Descriptive attributes for filtering/grouping
- Hierarchical attributes for drill-down scenarios
- Relatively small number of rows

Fact Table Structure:
- Foreign keys to dimension tables
- Numeric measures for aggregation
- Date/time columns for temporal analysis
- Large number of rows (typically growing over time)

Relationship Design Patterns

Read the full file on GitHub · 346 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. 4d ago First seen · 346 lines · 32 tokens per session scan A e2fb5a631de6

Subscribe to this mod's changes

Power BI Data Modeling Expert Mode is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed 4d ago), licensed ISC. It adds 32 tokens to every session and 2,694 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to Power BI Data Modeling Expert Mode, differing in 0 lines, and is treated as a copy.