# Fabric CLI

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

- Repository: https://github.com/data-goblin/power-bi-agentic-development (1079 stars)
- Category: DevOps
- License: GPL-3.0
- Last updated: 2026-10-30
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -g -a claude-code -y`
Codex: `npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -g -a codex -y`
Cursor: `npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -g -a cursor -y`
Gemini CLI: `npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add data-goblin/power-bi-agentic-development`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

The rest: https://github.com/data-goblin/power-bi-agentic-development/blob/HEAD/plugins/fabric-cli/skills/fabric-cli/SKILL.md
