Skip to main content
skill CX Codex

lineage-analysis — Claude Code skill: what it does, how to install

lineage-analysis finds every Power BI report tied to a semantic model across Fabric workspaces, without needing admin rights.

GPL-3.0 ★ 1,104 updated 2026-10-28

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install semantic-models@power-bi-agentic-development
Open on GitHub

What lineage-analysis does

The skill runs scripts/get-downstream-reports.py, which walks the workspaces a user can reach and checks each report's datasetId, using 8 parallel workers. You can target it by workspace and model name or by a dataset GUID directly, with plain or JSON output. It needs the azure-identity and requests packages, and authenticates through DefaultAzureCredential, so az login, a managed identity, or env variables all work.

Workspace contributor rights are enough, but then only workspaces you can access show up in results. Covering the whole tenant means passing --dataset-id with an admin token against the admin/reports endpoint instead.

The scan only catches Power BI reports. Excel workbooks with live connections, composite models, explorations, Fabric notebooks, data agents, paginated .rdl reports, dataflows, and third-party XMLA clients fall outside its reach, so a full dependency picture requires Fabric's own lineage endpoints via fab api or checking connections directly inside the Power BI service. It also isn't built for scanning dozens of models in a row: each run re-scans every reachable workspace, and looping it risks hitting API throttling.

What it helps with

  • check which reports break if a model changes
  • spot reports sitting in unexpected workspaces, copies or forks
  • map dependencies between a model and its reports before deleting it
  • tell PBIR reports apart from legacy ones that need converting

Example prompts for the agent

  • Find every report that depends on Model Name in Workspace Name
  • Show downstream dependencies for the dataset with GUID <guid>
  • Output the model's lineage as JSON for further processing

How to install lineage-analysis

1Plugin marketplace

/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install semantic-models@power-bi-agentic-development

This installs the whole semantic-models plugin with all its skills

2Skills CLI (Vercel)

npx skills add data-goblin/power-bi-agentic-development --skill lineage-analysis -a claude-code

3Manually: put the files in place

~/.claude/skills/lineage-analysis/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/lineage-analysis/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about lineage-analysis

How do I install lineage-analysis in Claude Code?

Run /plugin marketplace add data-goblin/power-bi-agentic-development, then /plugin install semantic-models@power-bi-agentic-development.

What does lineage-analysis do?

It scans Fabric workspaces for Power BI reports bound to a given semantic model, checking each report's datasetId to build a dependency list.

What dependencies does the skill miss?

It only picks up Power BI reports. Excel live-connection workbooks, composite models, explorations, Fabric notebooks, data agents, paginated reports, and dataflows aren't covered.

Similar skills

All skills for Data and databases →
azure-mgmt-fabric-py Microsoft azure-mgmt-fabric-py — a skill for Claude Code and GitHub Copilot that brings the Azure Fabric Management SDK for Python into your project. The agent writes code to manage Microsoft Fabric capacities: create, update, suspend, delete. CX Codex +1 ★ 3,232repo stars microsoft-fabric-unified-analytics reason-machines microsoft-fabric-unified-analytics walks you through a Fabric analytics stack: OneLake layers, a Dataflow Gen2 cleaning step, PySpark gold tables and Power BI on top. CX Codex +1 282installs power-bi-devops-alm-best-practices official github power-bi-devops-alm-best-practices — a GitHub Copilot rule that steers the agent through Power BI version control, CI/CD pipelines and multi-stage deployment. CX Codex +1 ★ 41,430repo stars powerbi-modeling official github The powerbi-modeling skill helps build and review Power BI semantic models, write DAX, and configure relationships. Use it when the model includes RLS or complex calculations. CX Codex +1 9,934installs power-bi-build gasserane power-bi-build scaffolds IPPF-branded Power BI projects and writes DAX measures directly to .pbip models. Requires Power BI Desktop and the pbi CLI. CX Codex +1 688installs power-bi-salespulse-360-dashboard reason-machines power-bi-salespulse-360-dashboard is a Claude Code skill for configuring the SalesPulse 360 Power BI dashboard. It activates for retail sales and profit analysis, regional reporting, forecasting, and alert setup. CX Codex +1 661installs

From the same set59

The whole set →
migrating-fabric-trial-capacities migrating-fabric-trial-capacities is a Claude Code command that moves Microsoft Fabric workspaces from trial to production capacity through fab CLI, logging each step. CX Codex +1 ★ 1,104repo stars dax A skill for diagnosing and speeding up DAX queries in Power BI semantic models, working through slow measures tier by tier. CX Codex +1 ★ 1,104repo stars bpa-expression-helper bpa-expression-helper — a subagent for debugging, fixing, and explaining Best Practice Analyzer rule expressions with Dynamic LINQ and TOM properties in Power BI. CX Codex +1 ★ 1,104repo stars query-listener query-listener — a Claude Code subagent that hooks into the local Analysis Services instance and grabs the DAX a Power BI Desktop visual sends. Fire it off when you need to see the query behind a click. CX Codex +1 ★ 1,104repo stars using-duckdb Query Delta tables and raw files in Fabric OneLake using DuckDB either on your machine or inside a Fabric notebook. CX Codex +1 ★ 1,104repo stars powerbi-custom-visuals powerbi-custom-visuals is a Claude Code skill for building interactive Power BI visuals with the pbiviz toolchain, from project setup through packaging and certification prep. It supports visuals reused across reports. CX Codex +1 ★ 1,104repo stars fabric-capacity fabric-capacity — a skill that tracks utilization of Microsoft Fabric capacities in real time, identifies which workloads consume CU, and manages capacity state through the API. CX Codex +1 ★ 1,104repo stars te-docs te-docs enables documentation searches for Tabular Editor and guides configuration of TE3 settings files. CX Codex +1 ★ 1,104repo stars

Project sponsors

Companies that keep this analytics open