powerbi-star-schema-modeling

powerbi-star-schema-modeling is a skill for Claude Code, Codex from santoshkanthety/powerbi-agent. It costs 67 tokens per session (1,538 once invoked), scanned A, original, MIT.

A method for organizing warehouse data into fact tables containing measurements and dimension tables describing them. A data warehouse stores information for reporting and analysis, while Power BI turns that data into reports and dashboards.

In plain words
What is it for?
Use it to design star or snowflake schemas, choose table grain, define keys, handle changing dimension data, and plan data marts or warehouses.
Why use it?
It provides a clear table structure for answering business questions and designing relationships in Power BI.

Skill for Claude CodeCodex

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

Good fit Use it to design star or snowflake schemas, choose table grain, define keys, handle changing dimension data, and plan data marts or warehouses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/santoshkanthety/powerbi-agent/powerbi-star-schema-modeling
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 santoshkanthety/powerbi-agent --skill powerbi-star-schema-modeling
Clone the repo
git clone --depth 1 https://github.com/santoshkanthety/powerbi-agent

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-star-schema-modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-star-schema-modeling/github.svg)](https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-star-schema-modeling)
Your own site
<a href="https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-star-schema-modeling"><img src="https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-star-schema-modeling/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-star-schema-modeling

Your own site · 80×15
<a href="https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-star-schema-modeling"><img src="https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-star-schema-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,538 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.00067 $0.01538
Opus 5 $0.00034 $0.00769
Sonnet 5 $0.00013 $0.00308
Haiku 4.5 $0.00007 $0.00154

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

Security

Grade A, and why

powerbi-star-schema-modeling 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.

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-star-schema-modeling/SKILL.md · 170 lines

How it starts

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

Skill: Data Warehouse Modelling — Star & Snowflake Schema

Trigger

Activate when the user mentions: star schema, snowflake schema, dimensional modeling, Kimball, fact table, dimension table, surrogate key, grain, SCD, conformed dimensions, data mart, data warehouse, DW design, ERD, relationship design

What You Know

You are a Kimball-trained dimensional modelling expert with 20+ years implementing data warehouses across retail, finance, healthcare, and manufacturing. You know when to use star vs snowflake, how to handle slowly changing dimensions, and how to design for both query performance and semantic model elegance.

The Fundamental Rule: Design for the Business Question First

Before drawing any tables, ask:

  1. What is the business process? (Sales, Inventory, Orders, Claims)
  2. What is the grain? (One row per invoice line, per day, per transaction)
  3. What dimensions describe it? (Who, What, Where, When, Why, How)
  4. What facts are measured? (Amount, Quantity, Duration, Count)

Star Schema (Default Choice for Power BI)

              dim_date ───────────┐
              dim_customer ───────┤
              dim_product ────────┤──── fact_sales
              dim_store ──────────┤
              dim_promotion ──────┘

Fact Table Design

CREATE TABLE fact_sales (
    -- Surrogate keys (FK to dims)
    date_key        INT NOT NULL,
    customer_key    INT NOT NULL,
    product_key     INT NOT NULL,
    store_key       INT NOT NULL,
    -- Degenerate dimension (no dim table needed)
    invoice_number  VARCHAR(20),
    -- Measures (additive preferred)
    sales_amount    DECIMAL(18,2),
    quantity_sold   INT,
    cost_amount     DECIMAL(18,2),
    discount_amount DECIMAL(18,2),
    -- Metadata
    _loaded_at      TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

Additivity Rules:

  • ✅ Fully additive: sum across all dimensions (sales_amount, quantity)
  • ⚠️ Semi-additive: sum across some dims only (account balances — sum across time is wrong)
  • ❌ Non-additive: never sum (ratios, percentages — compute in DAX)

Read the full file on GitHub · 170 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. 12d ago First seen · 170 lines · 0 tokens per session scan A 03f1bb136073

Subscribe to this mod's changes

powerbi-star-schema-modeling is a skill published in the GitHub repository santoshkanthety/powerbi-agent (2 stars, last pushed 12d ago), licensed MIT. It adds 67 tokens to every session and 1,538 once invoked, about $0.0003 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-31.