powerbi-optimization

powerbi-optimization is a skill for Claude Code, Codex from PBI-Guy/Power-BI-Optimization-Skill. It costs 135 tokens per session (3,128 once invoked), scanned A, original, MIT.

A guide for improving Power BI reports and their underlying data models. Power BI is Microsoft's tool for building interactive reports from data, and DAX is its formula language.

In plain words
What is it for?
Use it to optimise DAX measures, data relationships, report layouts, data-loading queries, storage modes, and row-level security.
Why use it?
It helps diagnose slow reports, queries, refreshes, incorrect calculations, and design problems across formulas, relationships, and visuals.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to optimise DAX measures, data relationships, report layouts, data-loading queries, storage modes, and row-level security.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pbi-guy/power-bi-optimization-skill/powerbi-optimization
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 PBI-Guy/Power-BI-Optimization-Skill --skill powerbi-optimization
Clone the repo
git clone --depth 1 https://github.com/PBI-Guy/Power-BI-Optimization-Skill

Made for: Claude Code, Codex.

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 powerbi-optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/pbi-guy/power-bi-optimization-skill/powerbi-optimization/github.svg)](https://agentmods.dev/skills/pbi-guy/power-bi-optimization-skill/powerbi-optimization)
Your own site
<a href="https://agentmods.dev/skills/pbi-guy/power-bi-optimization-skill/powerbi-optimization"><img src="https://agentmods.dev/badge/skills/pbi-guy/power-bi-optimization-skill/powerbi-optimization/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 powerbi-optimization

Your own site · 80×15
<a href="https://agentmods.dev/skills/pbi-guy/power-bi-optimization-skill/powerbi-optimization"><img src="https://agentmods.dev/badge/skills/pbi-guy/power-bi-optimization-skill/powerbi-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,128 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.00135 $0.03128
Opus 5.5 $0.00054 $0.01251
Sonnet 5.5 $0.00027 $0.00626
Haiku 4.5 $0.00014 $0.00313

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

Security

Grade A, and why

powerbi-optimization 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.

skills/powerbi-optimization/SKILL.md · 345 lines

How it starts

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

Power BI Optimization Skill

Hub skill: Comprehensive Power BI analysis across DAX, model design, and report performance. Invokes specialist skills for deep-dive optimization.


When to Use This Skill

Use when:

  • Analyzing Power BI performance issues (slow reports, queries, refresh)
  • Optimizing DAX measures, semantic models, or report layouts
  • Need triage across multiple domains (DAX + Model + Report)
  • Reviewing Power BI solutions for best practices
  • Troubleshooting incorrect calculations or unexpected behavior

🎯 Quick Reference: When to Use Which Specialist

When you have... Use specialist... Examples
Slow measure/formula @dax-mastery Iterators, context transitions, calculation groups, time intelligence
Schema/relationship issue @model-design Star schema, many-to-many, storage modes, incremental refresh, unused objects
Slow visual/report @report-performance Too many visuals, UX design, accessibility, custom visuals
Slow refresh/load @powerquery-m Query folding, M optimization, connector issues, transformation performance
RLS issue @security-rls Row-level security, dynamic security, performance with RLS

Quick Start: 3-Step Workflow

1️⃣ Scope & Context

  • Identify what to analyze: DAX measure, model structure, report layout, or end-to-end
  • Gather context: data volume, user count, refresh frequency, current performance metrics
  • Check for specific goals: performance target, business requirements, constraints

2️⃣ Detect & Prioritize

Run quick checks across domains:

  • DAX: Iterators (SUMX, FILTER), context transitions, missing variables, time intelligence patterns
  • Model: Star schema validation, cardinality, bi-directional relationships, storage modes
  • Report: Visual count (>10 flag), expensive custom visuals, cross-highlighting, slicer design

Priority framework:

  • P0 - Incorrect results, severe performance (>30s queries)
  • P1 - Major performance issues (10-30s), important UX problems
  • P2 - Moderate impact (5-10s), minor UX issues
  • P3 - Optimization opportunities, cosmetic improvements

Read the full file on GitHub · 345 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 First seen · 345 lines · 135 tokens per session scan A b3261ecebc67

Subscribe to this mod's changes

powerbi-optimization is a skill published in the GitHub repository PBI-Guy/Power-BI-Optimization-Skill (29 stars, last pushed 4mo ago), licensed MIT. It adds 135 tokens to every session and 3,128 once invoked, about $0.0005 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 skills, from other repositories

dotnet-testing-advanced-tunit-advanced

A guide for advanced TUnit testing in .NET. TUnit is a testing framework; the guide covers tests driven by data, dependency injection, integration tests, retries, time limits, and filtering.

kevintsengtw/dotnet-testing-agent-skills · 156 tokens

dotnet-testing-autodata-xunit-integration

A guide for using AutoFixture, a .NET library that creates test data, with xUnit, a .NET testing framework. It explains attributes such as AutoData, InlineAutoData, and MemberAutoData for supplying values to parameterized tests.

kevintsengtw/dotnet-testing-agent-skills · 136 tokens

dotnet-testing-autofixture-nsubstitute-integration

A .NET testing guide for using AutoFixture and NSubstitute to automatically create test data and substitute versions of dependencies.

kevintsengtw/dotnet-testing-agent-skills · 169 tokens

dotnet-testing-bogus-fake-data

A guide to Bogus, a .NET library for generating realistic fake data such as names, addresses, phone numbers, emails, and product records. It shows how to define generation rules and create one or many records.

kevintsengtw/dotnet-testing-agent-skills · 131 tokens

dotnet-testing-advanced-aspire-testing

A guide to testing .NET Aspire distributed applications, which are programs made of several coordinated services. It covers tests that run the real service setup through an AppHost, the project that describes how those services are arranged.

kevintsengtw/dotnet-testing-agent-skills · 147 tokens

dotnet-testing-advanced

A guide that routes advanced .NET testing questions to the right specialist instructions. It covers API and integration tests, database and other container-based tests, microservices, .NET Aspire, and related testing tools.

kevintsengtw/dotnet-testing-agent-skills · 95 tokens