Skip to main content
skill CX Codex

fabric-capacity — Claude Code skill: Microsoft Fabric capacity monitoring

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.

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 fabric-admin@power-bi-agentic-development
Open on GitHub

What fabric-capacity does

The skill queries the Fabric Capacity Metrics semantic model via DirectQuery tables to answer questions about utilization, throttling, per-item CU consumption, and what is currently running. It can start or pause a capacity through the fab CLI and report its state from scripts or status bars.

Internally, it runs DAX queries against DirectQuery tables like CU Detail and Metrics By Item, and invokes fab commands for capacity management. The account must have capacity admin privileges for every capacity queried. DirectQuery tables require an M parameter with the capacity ID in uppercase, passed inside a DEFINE block; omitting it causes the connector to fail. The Metrics app lives in a Pro workspace (XMLA is unavailable), and its OAuth token expires after 90 days of disuse, requiring credential re-entry.

What it helps with

  • check current capacity utilization percentage
  • find which items and operations are consuming CU
  • diagnose throttling and carry-forward issues
  • start or stop a capacity from code
  • monitor Fabric capacity state continuously

Example prompts for the agent

  • What's the current utilization on the F2 capacity?
  • Show me CU usage by Planning session for the last hour
  • Start the my-capacity capacity and report its state

How to install fabric-capacity

1Plugin marketplace

/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install fabric-admin@power-bi-agentic-development

This installs the whole fabric-admin plugin with all its skills

2Skills CLI (Vercel)

npx skills add data-goblin/power-bi-agentic-development --skill fabric-capacity -a claude-code

3Manually: put the files in place

~/.claude/skills/fabric-capacity/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/fabric-capacity/

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

Questions about fabric-capacity

How do I install fabric-capacity in Claude Code?

Run these in order: /plugin marketplace add data-goblin/power-bi-agentic-development, then /plugin install fabric-admin@power-bi-agentic-development, then npx skills add data-goblin/power-bi-agentic-development --skill fabric-capacity -a claude-code, and open ~/.claude/skills/fabric-capacity/SKILL.md.

What does fabric-capacity do?

It queries the Capacity Metrics semantic model to show real-time capacity utilization, breaks down CU consumption by workload and operation, and lets you start or pause capacities via the fab API.

Why does my DirectQuery fail with a credential error?

The account must be a capacity admin for every capacity you query. DirectQuery tables require an M parameter containing the capacity ID in uppercase, passed inside a DEFINE block; the connector cannot work without it.

Similar skills

All skills for Cloud: AWS, Azure, GCP →
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 compute-spot-capacity-advice official google The compute-spot-capacity-advice Claude Code skill assesses Google Compute Engine Spot VM capacity and placement. It runs during batch planning, when comparing machine families or regions. CX Codex +1 ★ 24,522repo stars power-platform-architect official Tim Hanewich power-platform-architect — a GitHub Copilot plugin that turns business requirements into Microsoft Power Platform solution architectures. ★ 41,430repo stars 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 logifleet-pulse-supply-chain-analytics reason-machines logifleet-pulse-supply-chain-analytics is a Claude Code skill for planning logistics analytics with MS SQL Server and Power BI. It activates on requests about warehouse and fleet models, reports, or optimization. CX Codex +1 659installs

From the same set59

The whole set →
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 lineage-analysis lineage-analysis finds every Power BI report tied to a semantic model across Fabric workspaces, without needing admin rights. 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 te-docs te-docs enables documentation searches for Tabular Editor and guides configuration of TE3 settings files. CX Codex +1 ★ 1,104repo stars executing-spark executing-spark is a Claude Code skill that runs Python or PySpark on Fabric Spark through Livy without creating a notebook. It supports temporary transformations and lakehouse table queries. CX Codex +1 ★ 1,104repo stars modifying-theme-json modifying-theme-json manages Power BI report themes via the pbir CLI: creates themes, changes palette and fonts, promotes visual formatting into the theme, clears local overrides. CX Codex +1 ★ 1,104repo stars creating-good-dashboards creating-good-dashboards enforces visual clarity and comment protocols when building or styling Claude dashboards, applying principles from Edward Tufte, Stephen Few, and Ben Shneiderman. CX Codex +1 ★ 1,104repo stars

Project sponsors

Companies that keep this analytics open