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.
npx skills add MinaSaad1/pbi-cli --skill power-bi-visualsgit clone --depth 1 https://github.com/MinaSaad1/pbi-cliWrote 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.
[](https://agentmods.dev/skills/minasaad1/pbi-cli/power-bi-visuals)<a href="https://agentmods.dev/skills/minasaad1/pbi-cli/power-bi-visuals"><img src="https://agentmods.dev/badge/skills/minasaad1/pbi-cli/power-bi-visuals/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.
<a href="https://agentmods.dev/skills/minasaad1/pbi-cli/power-bi-visuals"><img src="https://agentmods.dev/badge/skills/minasaad1/pbi-cli/power-bi-visuals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00148 | $0.02645 |
| Opus 5 | $0.00074 | $0.01323 |
| Sonnet 5 | $0.00030 | $0.00529 |
| Haiku 4.5 | $0.00015 | $0.00265 |
Grade A, and why
Power BI Visuals 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 9d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- power-bi-visuals — 91% identical, 40 lines differ
How it starts
The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Power BI Visuals Skill
Create and manage visuals on PBIR report pages. No Power BI Desktop connection is needed -- these commands operate directly on JSON files.
Adding Visuals
# Add by alias (pbi-cli resolves to the PBIR type)
pbi visual add --page page_abc123 --type bar
pbi visual add --page page_abc123 --type card --name "Revenue Card"
# Custom position and size (pixels)
pbi visual add --page page_abc123 --type scatter \
--x 50 --y 400 --width 600 --height 350
# Named visual for easy reference
pbi visual add --page page_abc123 --type combo --name sales_combo
Each visual is created as a folder with a visual.json file inside the page's
visuals/ directory. The template includes the correct schema URL and queryState
roles for the chosen type.
Prerequisite: Measures Must Exist in the Semantic Model
visual bind writes field references into the visual JSON. It does not
create measures — it only records that a measure should exist. If the measure
is missing from the TMDL, every visual bound to it will show an error in Desktop.
Before binding any visual to a measure, verify the measure exists:
# Option A: create it via pbi-cli (requires pbi connect)
pbi connect
pbi measure create "Total Revenue" -e "SUM(Fact_Sales[Total_Revenue])" -t Fact_Sales
# Option B: check existing measures in the TMDL file directly
# Look for `measure '...' =` lines in SemanticModel/definition/tables/*.tmdl
After adding measures directly to a TMDL file (without pbi connect):
close and reopen the .pbip file in Power BI Desktop. Desktop only reads TMDL
on file open — it does not hot-reload TMDL changes made on disk.
Checklist before opening Desktop:
- Every
--field,--value,--indicatorreference points to a real measure or column in the TMDL - Table names match exactly (case-sensitive in PBIR):
"Fact_Sales"≠"fact_sales" - Measure names match exactly:
"Total Revenue"≠"Total_Revenue"
Binding Data
Visuals start empty. Use visual bind with Table[Column] notation to connect
them to your semantic model. The bind options vary by visual type -- see the
type table below.
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.
- 9d ago First seen · 269 lines · 148 tokens per session scan A b215a7571f5b
Power BI Visuals is a skill published in the GitHub repository MinaSaad1/pbi-cli (452 stars, last pushed today), licensed MIT. It adds 148 tokens to every session and 2,645 once invoked, about $0.0007 per session on Opus 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.
Other skills, from other repositories
powerbi-expert
Expert-level Power BI, DAX, M language, data modeling, Power Query, report design, and paginated reports. Use when the user mentions DAX, Power Query, BI, Microsoft platforms, analytics, or data modeling, or when the task involves DAX Fundamentals, Advanced DAX, Row-Level Security, or Report Design.
powerbi-modeling
Power BI semantic models - DAX measures, star schemas, relationships, RLS, and performance tuning via MCP. Use when creating data models, writing DAX, or configuring table relationships in Power BI.
pbi-check-loop
Closes the verify loop for Power BI Desktop development: reloads a .pbip so Desktop re-reads TMDL/PBIR changed on disk, and captures the window so a model can see what rendered. Power BI has no reload command of its own. Use whenever working on a .pbip project - editing measures, TMDL, relationships, M, visual.json…
mcp-engine-dax-performance
Use when a DAX query, measure, or visual is slow, when interpreting analyze timings, Storage Engine / Formula Engine splits, or query plans, when VertiPaq storage size or cardinality drives cost, or when the user wants a tuning pass or before/after benchmark. For wrong values, use mcp-engine-dax-debugging; for writing…
mcp-engine-onboarding
Use when a user types onboarding, asks to set up SemanticOps MCP, wants help choosing Free vs Pro, or wants licensing, modes, masking, guardrails, preferences, model safety, tests, reporting, diagnostics, RLS testing, or Enterprise posture tailored to their workflow. For changing security, policy, or masking on an…
mcp-engine-bootstrap
Use when starting a SemanticOps MCP session, connecting to a Power BI model, checking the current connection, applying saved preferences, composing bulk or write payloads, or recovering from empty results, stale metadata, or argument validation errors. For task work after the session is healthy, use the matching…