# fabric-cli

Guides Fabric CLI interactions, controls Power BI workspaces, and calculates capacity unit usage before triggers run.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1104 repo stars
- Author: Kurt Buhler
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/data-goblin/power-bi-agentic-development/tree/HEAD/plugins/fabric-cli/skills/fabric-cli/SKILL.md
- Updated: 2026-10-28
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/fabric-cli

## What it 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`.

## Requirements
- Works with: Power BI

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add data-goblin/power-bi-agentic-development
```
In the agent chat (not a shell):
```text
/plugin install fabric-cli@power-bi-agentic-development
```
This installs the whole fabric-cli plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/fabric-cli/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/fabric-cli/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/fabric-cli/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/fabric-cli/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install data-goblin/power-bi-agentic-development plugins/fabric-cli/skills/fabric-cli
```

2. **Manually: put the files in place**
- File: `.github/skills/fabric-cli/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill fabric-cli -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/fabric-cli/skills/fabric-cli
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/fabric-cli/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/data-goblin/power-bi-agentic-development/tree/HEAD/plugins/fabric-cli/skills/fabric-cli/SKILL.md

## When to use it
- 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
- Check authentication state using `fab auth status`
- Locate any report named sales across all available workspaces
- Inspect the table schema for `gold/orders` inside the lakehouse

## Similar
- [microsoft-fabric-unified-analytics](https://affpapa.org/en/nevibecode/skills/microsoft-fabric-unified-analytics.md) — skill · 282 installs
- [azure-mgmt-fabric-py](https://affpapa.org/en/nevibecode/skills/azure-mgmt-fabric-py.md) — skill · ★ 3232 repo stars
- [fabric-lakehouse](https://affpapa.org/en/nevibecode/skills/fabric-lakehouse.md) — skill · 8800 installs
- [fabric](https://affpapa.org/en/nevibecode/skills/fabric.md) — skill · 344 installs
- [power-bi-devops-alm-best-practices](https://affpapa.org/en/nevibecode/rules/power-bi-devops-alm-best-practices.md) — rule · ★ 41430 repo stars
- [logifleet-pulse-supply-chain-analytics](https://affpapa.org/en/nevibecode/skills/logifleet-pulse-supply-chain-analytics.md) — skill · 659 installs

From the same set: [data-goblin/power-bi-agentic-development](https://affpapa.org/en/nevibecode/by/data-goblin/power-bi-agentic-development.md) — 59 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
