Skills

Fabric CLI

Expert guidance for the Fabric CLI (`fab`) and the Fabric and Power BI REST APIs...

Install

npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -g -a claude-code -y
Category
DevOps
Updated
5d ago
License
GPL-3.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Expert guidance for the Fabric CLI (`fab`) and the Fabric and Power BI REST APIs: workspaces, items, lakehouses, notebooks, pipelines, semantic models, reports, capacities, OneLake, deployment and admin. Also estimates the capacity units (CU) an operation will consume and its impact on the capacity before running it. Automatically invoke whenever the user mentions Fabric, Power BI Service, a Fabric or Power BI workspace, a capacity or F SKU, OneLake, `fab`, or asks to create, run, refresh, schedule, deploy or delete anything in Fabric, including preview items such as Plan, Ontology, Graph or Copilot.

Fabric CLI

Guidance for using fab to programmatically manage Fabric & Power BI service

  • Install via uv tool install ms-fabric-cli (get uv via winget install uv or brew install uv)
  • Fabric CLI is for working with the Cloud environment and not local files; it works with Power BI Pro, PPU, or Fabric; you DO NOT need a Fabric SKU to use the Fabric CLI
  • Keep fab current: check the installed version against the latest ms-fabric-cli release and upgrade with uv tool upgrade ms-fabric-cli unless the user has pinned a specific version. Discover commands and flags with fab --help and fab <command> --help rather than hard-coding behavior; the CLI surface changes regularly

Record generic fab learnings (errors, user preferences) in .claude/rules/fabric-cli.md so later sessions start with them; item- or task-specific findings do not go there.

Critical general rules

Read the whole SKILL.md on GitHub

More in DevOps