Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/twells89/sigma-migration-skillsnpx agentmods add skills/twells89/sigma-migration-skills/powerbi-to-sigmaWrote 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/twells89/sigma-migration-skills/powerbi-to-sigma)<a href="https://agentmods.dev/skills/twells89/sigma-migration-skills/powerbi-to-sigma"><img src="https://agentmods.dev/badge/skills/twells89/sigma-migration-skills/powerbi-to-sigma/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/twells89/sigma-migration-skills/powerbi-to-sigma"><img src="https://agentmods.dev/badge/skills/twells89/sigma-migration-skills/powerbi-to-sigma.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 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 36 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium Data Exfiltration · line 155 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Rogue Agent · line 206 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00123 | $0.15267 |
| Opus 5 | $0.00062 | $0.07634 |
| Sonnet 5 | $0.00025 | $0.03053 |
| Haiku 4.5 | $0.00012 | $0.01527 |
Grade A, and why
powerbi-to-sigma scanned grade A with 1 finding 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 today.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
> - **NEVER hand-author a workbook JSON and `curl`-POST it to `/v2/workbooks`, and How it starts
The opening of the file, as written. The whole thing — 503 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Verifying a change locally
Run both test directories — this plugin keeps suites in scripts/ AND tests/:
cd plugins/powerbi-to-sigma/skills/powerbi-to-sigma
for t in scripts/test-*.rb tests/*.rb; do ruby "$t" >/dev/null 2>&1 || echo "FAIL $t"; done
for t in scripts/test-*.py tests/test-*.py; do python3 "$t" >/dev/null 2>&1 || echo "FAIL $t"; done
Globbing only scripts/test-*.rb reports an accurate-looking count while skipping
tests/test-grounding.rb — that omission once merged a change that left main red on 7
assertions. scripts/test-suite-registration.rb enforces that every suite in both
directories is also registered in CI, so a new suite cannot be added and silently never run.
Power BI → Sigma
Windows / first run — run the environment doctor before anything else:
bash scripts/doctor.sh(macOS/Linux/Git Bash) orpowershell -ExecutionPolicy Bypass -File scripts\doctor.ps1(Windows). It checks Ruby/Python/Node/bash and flags the Python "Store stub" + CRLF with exact fixes. Details:refs/environment.md.
⛔ STEP 1 — THE ONE PATH (do not improvise a workbook)
This conversion runs through one orchestrator that builds every chart and verifies each one's data against Power BI before it's done:
ruby scripts/migrate-powerbi.rb --tmsl <model.bim> --pbir <report-bundle.json> --connection <id> --out <WORK>
- You need the model (TMSL) + report layout (PBIR) first. Get them by CONNECTING to Power BI — do NOT ask the user to hand them over and do NOT proceed without them. Run the device-code login (no Entra app):
It prints a device code +python scripts/fabric-extract.py --report "<report name>" [--workspace "<ws id|name>"] \ --out-dir <WORK> --report-out-dir <WORK> --report-bundle <WORK>/report-bundle.jsonhttps://microsoft.com/devicelogin— tell the user to open that URL and enter the code (one sign-in; token caches). Then run the orchestrator with the extracted--tmsl/--pbir. Full recipe:refs/connection.md.- COMPOSITE / live-connected reports → prefer the local
.pbix(the orchestrator PROMPTS for it). Many reports are Power BI composite models (local tables + a reference to a shared/remote dataset) or are thin reports live-connected to a shared dataset. For these,getDefinitionof the report's bound model is INCOMPLETE (it misses the report-local measures/calc tables, or isn't a resolvable standalone model), and Power BI blocks export-to-.pbixfor live-connected reports, so device-auth can't download it. The COMPLETE model is in the author's local.pbix. The orchestrator DETECTS this (Fabric-path TMSL shows DirectQuery/entity/remote-dataset references) and STOPS with an OPEN QUESTION (exit 10) asking for the local.pbix— do not silently build a DM from the incomplete model. Ask the user for the file and re-run with--pbix(offline tell in a.pbix: itsConnectionsmember'sRemoteArtifacts). Only pass--allow-incomplete-modelif the user knowingly accepts the partial model.- FULLY-LOCAL
.pbix(no Fabric / no tenant / not published). When the user has only a local.pbixon disk, skip the CONNECT/EXTRACT steps entirely — run the orchestrator with--pbixand it extracts BOTH halves locally (Phase 0):ruby scripts/migrate-powerbi.rb --pbix <file.pbix> --connection <id> --database <DB> --schema <SCHEMA> --out <WORK>
- Model:
scripts/extract-model-pbix.pyreads the.pbix's binary VertiPaqDataModelwith pbixray and emits a TMSLmodel.bim(same shape--tmsleats), including DAX calculated tables (pbixray.dax_tables) as calculated partitions rather than fake warehouse tables. pbixray must be installed — itsxpress9/xmhuffmandeps ship broken sdists and must be built from source; one-time setup inrefs/local-pbix.md. Without pbixray the model half exits with a clear install hint (the report half and the Fabric--tmslpath are unaffected).- Report:
scripts/extract-report-classic.py --pbix <file>unzips theReport/Layoutmember (a single UTF-16LE classicsections[]doc) — no Fabric. It also accepts--report-layout <file>for an already-extracted Layout.- Import-mode
.pbixwith no live warehouse to point at? Land the frozen data first (see the Import-mode → Snowflake data-landing skill), then pass that connection/db/schema here.- NEVER hand-author a workbook JSON and
curl-POST it to/v2/workbooks, and never lay out empty "placeholder" pages. That bypasses the DAX conversion, chart build, and parity gate and ships an EMPTY workbook (invented page names, no elements) — the #1 way this migration fails. If you cannot extract the model (no Fabric access / not published), STOP and tell the user you need to connect to Power BI (device-code) or that the report must be published — do not fall back to a hand-built shell.- "Done" is not "pages exist." The migration is complete only when
ruby scripts/verify-complete.rb --workdir <WORK>prints ✅ DONE — i.e. theassert-phase6-ranparity gate passed with real chart elements. An empty or placeholder workbook is never done, no matter how it looks.- Small/older models (e.g. running on Haiku): if the report is large or complex, say so and confirm scope with the user before building — don't silently degrade to a partial shell.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- converter/powerbi.mjs 134 KB runs code
- converter/PROVENANCE.json 2.3 KB
- fixtures/conditional_formats/matrix_databars_bcapps.visual.json 7.6 KB
- fixtures/conditional_formats/tableEx_gradient_databars.visual.json 10 KB
- fixtures/conditional_formats/tableEx_rules_thresholds.visual.json 10 KB
- fixtures/fixture_01_mechanical.bim 9.6 KB
- fixtures/fixture_02_time_intelligence.bim 8.4 KB
- fixtures/fixture_03_filter_context.bim 8.3 KB
- fixtures/fixture_04_iterators_rank_var.bim 6.7 KB
- fixtures/fixture_05_relationships_hard.bim 11 KB
- fixtures/fixture_06_kitchen_sink.bim 13 KB
- fixtures/fixture_07_comp_distribution.bim 11 KB
- fixtures/fixture_08_safety_absence_patterns.bim 12 KB
- fixtures/fixture_09_nonwarehouse_sources.bim 4.6 KB
- fixtures/fixture_10_retail_calendar.bim 5.6 KB
- fixtures/MANIFEST.md 21 KB
- fixtures/native_query_cor_pl/model.bim 2.6 KB
- fixtures/NEW_FIXTURES.md 19 KB
- fixtures/orders-overview/dm-spec.json 657 B
- fixtures/orders-overview/master-map.json 931 B
- fixtures/orders-overview/README.md 1.9 KB
- fixtures/orders-overview/signals.json 991 B
- fixtures/validate.py 3.1 KB runs code
- fixtures/viz-roles/master-map.json 837 B
- fixtures/viz-roles/signals.json 3.9 KB
- QUICKSTART.md 13 KB
- refs/app-recommendation-signals.md 3.1 KB
- refs/catalogs/aggregation.json 3.1 KB
- refs/catalogs/control.json 3.2 KB
- refs/catalogs/custom-visual.json 13 KB
- refs/catalogs/number-format.json 2.4 KB
- refs/catalogs/viz-kind.json 15 KB
- refs/connection.md 5.6 KB
- refs/control-parity.md 11 KB
- refs/dax-to-sigma-coverage.md 16 KB
- refs/environment.md 5.7 KB
- refs/layout-visual-qa.md 19 KB
- refs/local-pbix.md 5.8 KB
- refs/measure-patterns.md 24 KB
- refs/migration-report-format.md 5.9 KB
- refs/modeling-strategy.md 6.7 KB
- refs/operating-contract.md 2.9 KB
- refs/pbi-filter-spec.md 10 KB
- refs/pbi-model-gotchas.md 9.5 KB
- refs/pbi-modeling-mcp.md 4.7 KB
- refs/phase-e-enhance.md 12 KB
- refs/powerbi-coverage.md 21 KB
- refs/powerbi-visual-layout.md 22 KB
- refs/source-anchors.md 12 KB
- refs/spec-fixups.md 3.5 KB
- refs/style-fidelity.md 15 KB
- refs/visual-similarity.md 5.0 KB
- refs/workbook-code-release-gaps.md 2.7 KB
- refs/write-path.md 5.9 KB
- schemas/app-plan.schema.json 3.0 KB
- scripts/apply_sigma_rls.py 18 KB runs code
- scripts/assert-phase6-ran.rb 254 KB runs code
- scripts/assert-visual-compare.rb 3.3 KB runs code
- scripts/bootstrap.ps1 41 KB runs code
- scripts/bootstrap.sh 44 KB runs code
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.
- today Changed · +12 lines ed2abc860505
- 12d ago First seen · 491 lines · 123 tokens per session scan A 81de01e43859
powerbi-to-sigma is a skill published in the GitHub repository twells89/sigma-migration-skills (16 stars, last pushed yesterday), licensed MIT. It adds 123 tokens to every session and 15,267 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…