fabric-cli — Claude Code skill: what it does, how to install
Guides Fabric CLI interactions, controls Power BI workspaces, and calculates capacity unit usage before triggers run.
GPL-3.0 ★ 1,104 updated 2026-10-28
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install fabric-cli@power-bi-agentic-developmentWhat fabric-cli does
This skill equips Claude Code with operational guidelines for the ms-fabric-cli tool and cloud REST endpoints. The agent learns to inspect lakehouses, fetch table schemas, inspect TMDL definitions, and query reports across workspaces. You do not need a paid Fabric SKU to use it, because standard Power BI Pro and PPU accounts are fully supported.
The logic strictly enforces capacity budgeting. It estimates CU-hour consumption before running notebooks, refreshes, or previews. On small SKUs like F2, sudden bursts cause carry-forward throttling that can choke processing for days, so explicit cost confirmation is required before proceeding.
The underlying CLI must be present on the host via uv tool install ms-fabric-cli. Target export paths require preparation: calling fab export fails with [InvalidPath] unless parent folders are created beforehand with mkdir -p.
What it helps with
- search items and reports across visible tenant workspaces
- retrieve table schemas and file paths from lakehouses
- project capacity unit load prior to pipeline executions
- extract semantic model TMDL structures and AI metadata
Example prompts for the agent
- Check authentication state using
fab auth status - Locate any report named sales across all available workspaces
- Inspect the table schema for
gold/ordersinside the lakehouse
How to install fabric-cli
1Plugin marketplace
/plugin marketplace add data-goblin/power-bi-agentic-development/plugin install fabric-cli@power-bi-agentic-developmentThis installs the whole fabric-cli plugin with all its skills
2Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -a claude-code3Manually: put the files in place
~/.claude/skills/fabric-cli/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/fabric-cli/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -a codex2Manually: put the files in place
.agents/skills/fabric-cli/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -a cursor2Manually: put the files in place
.cursor/skills/fabric-cli/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install data-goblin/power-bi-agentic-development plugins/fabric-cli/skills/fabric-cli2Manually: put the files in place
.github/skills/fabric-cli/SKILL.md1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -a gemini-cli2Platform CLI
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/fabric-cli/skills/fabric-cliManually: put the files in place
.devin/skills/fabric-cli/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about fabric-cli
How to install fabric-cli in Claude Code?
Run both commands sequentially: /plugin marketplace add data-goblin/power-bi-agentic-development followed by /plugin install fabric-cli@power-bi-agentic-development.
What does fabric-cli do?
It guides Claude Code on issuing fab commands, managing cloud resources, and tracking capacity usage to avoid quota exhaustion.
Do I need a Fabric capacity to run the CLI?
No, the CLI works equally well against Power BI Pro and Premium Per User workspaces without requiring a dedicated Fabric F SKU.