model-power-bi

model-power-bi is a skill for Claude Code, Codex from rajdeepraoextras-dev/PBI-MCP-Server. It costs 100 tokens per session (1,143 once invoked), scanned A, original, MIT.

A skill for editing a Power BI semantic model—the data structure behind reports—using TMDL text files. It handles DAX calculations, columns, relationships, calculation groups, and dependency lineage.

In plain words
What is it for?
Use it to inspect a model, create or update single or multiple DAX measures, manage relationships, trace what depends on a measure, and safely preview or perform deletions.
Why use it?
It helps change the model without accidentally altering unrelated data partitions, annotations, or source queries. It also checks dependencies before measures are changed or removed.

Skill for Claude CodeCodex

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

Good fit Use it to inspect a model, create or update single or multiple DAX measures, manage relationships, trace what depends on a measure, and safely preview or perform deletions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rajdeepraoextras-dev/pbi-mcp-server/model-power-bi
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 rajdeepraoextras-dev/PBI-MCP-Server --skill model-power-bi
Clone the repo
git clone --depth 1 https://github.com/rajdeepraoextras-dev/PBI-MCP-Server

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 model-power-bi

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rajdeepraoextras-dev/pbi-mcp-server/model-power-bi"><img src="https://agentmods.dev/badge/skills/rajdeepraoextras-dev/pbi-mcp-server/model-power-bi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,143 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.00100 $0.01143
Opus 5.5 $0.00040 $0.00457
Sonnet 5.5 $0.00020 $0.00229
Haiku 4.5 $0.00010 $0.00114

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

Security

Grade A, and why

model-power-bi 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 2mo 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/model-power-bi/SKILL.md · 83 lines

How it starts

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

Work with the Power BI Model (TMDL)

The pbi-model server edits the semantic model in a .pbip as surgical, loss-free text edits — partitions, annotations, and M source are never touched. Call pbi_set_project(path) first.

Read before you write

  • pbi_get_model() — tables, columns, measures, relationships.
  • pbi_list_measures(table?) — measures with DAX + format.
  • pbi_model_lineage(measure?) — the dependency graph: what a measure depends on AND what depends on it (direct + transitive). Use this before any delete or refactor.

Measures

  • pbi_create_measure(table, name, dax, format?, display_folder?) — name must be unique model-wide (enforced).
  • pbi_update_measure(table, name, dax?, format?, display_folder?) — partial; omitted fields are preserved.
  • pbi_bulk_create_measures(measures[]) — create many at once; the whole batch is validated before any write. Use this when the user pastes a list of measures — one call, not N.
  • pbi_delete_measure(table, name, force?, dry_run?) — refuses if other measures OR report visuals/filters depend on it. Use dry_run=true to preview, force=true only when the user confirms.

Columns, relationships, calc groups

  • pbi_create_column(table, name, data_type, summarize_by?, source_column?, dax?) — pass dax for a calculated column.
  • pbi_create_relationship(from_table, from_column, to_table, to_column, ...) — both endpoint columns must exist; duplicates are rejected.
  • pbi_create_calc_group(name, precedence, items) — items are [{"name": "YTD", "dax": "..."}] using SELECTEDMEASURE(). Great for time-intelligence patterns applied across all measures.

Auditing

  • pbi_model_usage() (report server) classifies every field as direct / indirect / unused — the safe basis for cleanup.
  • pbi_profile_model() classifies fact/dimension/date tables and measure roles (ratio/currency/time-intelligence) — useful context before building.

Read the full file on GitHub · 83 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. 2mo ago First seen · 83 lines · 100 tokens per session scan A 6d928fdfbc00

Subscribe to this mod's changes

model-power-bi is a skill published in the GitHub repository rajdeepraoextras-dev/PBI-MCP-Server (0 stars, last pushed 1mo ago), licensed MIT. It adds 100 tokens to every session and 1,143 once invoked, about $0.0004 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-31.

Related

model-power-bi compared with skills from other repositories

model-power-bi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
model-power-birajdeepraoextras-dev/PBI-MCP-ServerSkill01mo agoMITA100Claude Code, Codex
opik-diagnosecomet-ml/opik-mcpSkill2259d agoApache-2.0A187Claude Code
cortex-explore-memorycdeust/CortexSkill76yesterdayMITA91Claude Code
qmclaw-workbenchxi-zhao/OpenQuantumSkill71yesterdayMITA124Codex
quantum-fermi-hubbard-vqexi-zhao/OpenQuantumSkill71yesterdayMITA67Claude Code, Codex
quantum-groverxi-zhao/OpenQuantumSkill71yesterdayMITA62Claude Code, Codex
guppy-programsxi-zhao/OpenQuantumSkill71yesterdayMITA48Claude Code, Codex