powerbi-import-to-snowflake

powerbi-import-to-snowflake is a skill for Claude Code from twells89/sigma-migration-skills. It costs 111 tokens per session (1,407 once invoked), scanned A, original, MIT.

A data-migration helper that moves source data from an Import-mode Power BI model into Snowflake, a cloud data warehouse. It prepares the data for use by Sigma, a warehouse-based analytics tool.

In plain words
What is it for?
Use it when a .pbix or semantic model imports data from Excel, Power Query, or flat files and must be moved to Snowflake before rebuilding the report in Sigma. It is not needed for DirectQuery models that already query a warehouse.
Why use it?
Import-mode Power BI stores copied data inside the report instead of in a warehouse. This provides Snowflake tables for Sigma to query.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the powerbi-to-sigma plugin — 3 skills shipped together

Good fit Use it when a .pbix or semantic model imports data from Excel, Power Query, or flat files and must be moved to Snowflake before rebuilding the report in Sigma. It is not needed for DirectQuery models that already query a warehouse.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/twells89/sigma-migration-skills/powerbi-import-to-snowflake
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 twells89/sigma-migration-skills --skill powerbi-import-to-snowflake
Clone the repo
git clone --depth 1 https://github.com/twells89/sigma-migration-skills

Made for: Claude Code.

Or install powerbi-to-sigma, the plugin that ships this one along with the rest of its 3 skills.

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-import-to-snowflake

README.md
[![agentmods](https://agentmods.dev/badge/skills/twells89/sigma-migration-skills/powerbi-import-to-snowflake/github.svg)](https://agentmods.dev/skills/twells89/sigma-migration-skills/powerbi-import-to-snowflake)
Your own site
<a href="https://agentmods.dev/skills/twells89/sigma-migration-skills/powerbi-import-to-snowflake"><img src="https://agentmods.dev/badge/skills/twells89/sigma-migration-skills/powerbi-import-to-snowflake/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-import-to-snowflake

Your own site · 80×15
<a href="https://agentmods.dev/skills/twells89/sigma-migration-skills/powerbi-import-to-snowflake"><img src="https://agentmods.dev/badge/skills/twells89/sigma-migration-skills/powerbi-import-to-snowflake.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,407 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00111 $0.01407
Opus 5 $0.00056 $0.00704
Sonnet 5 $0.00022 $0.00281
Haiku 4.5 $0.00011 $0.00141

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

Security

Grade A, and why

powerbi-import-to-snowflake 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/pbi_import_to_snowflake.py, scripts/run_converter.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/powerbi-to-sigma/skills/powerbi-import-to-snowflake/SKILL.md · 98 lines

How it starts

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

Power BI (Import mode) → Snowflake

Sigma is warehouse-native: it has no in-memory import engine, so every table, column, and metric resolves as live SQL against a connected warehouse. When a .pbix imports its data from Excel / Power Query / flat files, that data lives only in Power BI's VertiPaq store — there is no warehouse table for Sigma to point at. This skill extracts that data and lands it in Snowflake, then hands off to powerbi-to-sigma for the model logic.

Two tracks, one migration (this skill is track 1):

1. DATA   (this skill)      Import-mode .pbix  → Snowflake tables + manifest
2. LOGIC  (powerbi-to-sigma) model.bim (DAX/relationships) → Sigma data model
3. REPOINT                  DM sources → the landed Snowflake tables  → live parity

Track 3 is automatic when column names line up — this skill's landed column names byte-match what powerbi-to-sigma's converter emits (see refs/naming-alignment.md), so no remapping is needed.

Skip this skill for DirectQuery models — they already query a warehouse. Only Import-mode (or mixed, for the Import tables) needs data landing.

Also the designated remediation for non-warehouse sources. When powerbi-to-sigma's converter flags a table sourced from a Fabric Dataflow / Lakehouse / OneLake / Dataverse / file (stats.nonWarehouseSourcedTables + warnings), this skill is the fix: it enumerates tables via TMSL and extracts rows via executeQueries, so it lands the already-materialized data regardless of the upstream connector (a dataflow-fed Import model works unchanged). Then repoint with convert-model.rb --table-map manifest.json.

What it does

scripts/pbi_import_to_snowflake.py (generic — no hardcoded schemas):

  1. Auth — silent MSAL (Power BI + Fabric scopes), cached, device-code fallback.
  2. Resolve — workspace + dataset by name/id; or --pbix uploads the file first via the Power BI REST /imports endpoint.
  3. Enumerate — model tables/columns/dataType via TMSL getDefinition (version-independent; INFO.TABLES() fails on old compat levels). Skips auto date tables and calculated/binary columns (see refs/what-gets-landed.md).
  4. Extract — rows via /executeQueries (DAX SELECTCOLUMNS), with automatic integer-key band pagination (executeQueries silently truncates ~48k rows).
  5. Load — typed DDL + PUT/COPY via snow sql, with GRANTs.
  6. Sync--sigma-connection <id> registers the new tables with Sigma (POST /v2/connections/<id>/sync) so the DM POST resolves them immediately.
  7. Manifestout/<dataset>/manifest.json: pbi_table.col → sf_table.COLUMN.

Read the full file on GitHub · 98 lines

Files

What ships with it

10 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.

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. 12d ago First seen · 98 lines · 111 tokens per session scan A b88db04f7bef

Subscribe to this mod's changes

powerbi-import-to-snowflake is a skill published in the GitHub repository twells89/sigma-migration-skills (16 stars, last pushed yesterday), licensed MIT. It adds 111 tokens to every session and 1,407 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

create-pr

Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.

prisma/orm · 48 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

nornicdb-cypher-queries

Pick fast, predictable Cypher query shapes in NornicDB — point lookups, batch retrieval, pagination, search, traversal, batched UNWIND/MERGE writes, cleanup, multi-tenant isolation. Use when writing or reviewing Cypher whose latency or throughput matters; maps user intent to the executor's hot-path query templates.

orneryd/NornicDB · 79 tokens

supabase

Supabase / PostgREST Row-Level-Security playbook — pull the anon (or leaked servicerole) key out of the frontend JS, map tables from the auto-generated OpenAPI spec, test anonymous RLS READ disclosures (PII/secret leaks), and anonymous RLS WRITE abuse (insert/update/delete — e.g. forging…

PentesterFlow/agent · 120 tokens

volcengine-rds-postgresql

A tool for operating PostgreSQL databases hosted by Volcano Engine's managed database service. PostgreSQL is a relational database used to store structured application data.

bytedance/agentkit-samples · 63 tokens