Automatically invoke this skill whenever the user asks why a Fabric capacity is busy, throttled, at 90 or 100 percent, or what is consuming CUs; asks for current capacity utilization, carry forward…

GPL-3.0Auto-check passed

Install Fabric Capacity

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

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install data-goblin/power-bi-agentic-development fabric-capacity --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/data-goblin/power-bi-agentic-development.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/fabric-admin/skills/fabric-capacity .claude/skills/fabric-capacity && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fabric-capacity
GitHub stars
1k
Token cost
~1.5k tokens
SKILL.md length
608 words
Files
1
Skills in repo
33
Repo updated
First seen
Licence
GPL-3.0

At a glance

Automatically invoke this skill whenever the user asks why a Fabric capacity is busy, throttled, at 90 or 100 percent, or what is consuming CUs; asks for current capacity utilization, carry forward…

  • SKILL.md covers Where the numbers live, Query with fab, Start and pause and Keeping the metrics app alive, plus 1 more section
  • Calls jq

What it does

Fabric Capacity is an agent skill from data-goblin/power-bi-agentic-development. Automatically invoke this skill whenever the user asks why a Fabric capacity is busy, throttled, at 90 or 100 percent, or what is consuming CUs; asks for current capacity utilization, carry forward or per-item CU usage; wants to query or repair the Microsoft Fabric Capacity Metrics app or its semantic model; or wants to start, pause or monitor a capacity from a script or status bar.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Power BI AI skills and Power BI agents for Claude Code and GitHub Copilot: a plugin marketplace of Power BI skills, subagents, and hooks for semantic models, DAX, TMDL, reports… The licence is GPL-3.0.

Example prompts

  • “/fabric-capacity”

What it can do on your machine

Read from SKILL.md and the folder at commit a301717. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fabric Capacity loads about 1.5k tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 608 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from data-goblin/power-bi-agentic-development at commit a301717, republished under its GPL-3.0 licence (© data-goblin). 608 words, ~1,500 tokens.

Download SKILL.mdSave it as .claude/skills/fabric-capacity/SKILL.md (or your agent's skills folder).
name
fabric-capacity
description
Automatically invoke this skill whenever the user asks why a Fabric capacity is busy, throttled, at 90 or 100 percent, or what is consuming CUs; asks for current capacity utilization, carry forward or per-item CU usage; wants to query or repair the Microsoft Fabric Capacity Metrics app or its semantic model; or wants to start, pause or monitor a capacity from a script or status bar.

Fabric Capacity

Read capacity utilization and per-item CU from the Microsoft Fabric Capacity Metrics semantic model with fab, and start or pause a capacity. Invoke the fabric-cli skill alongside this one; its references/capacity-cost.md covers budget math, smoothing and throttling.

Where the numbers live

yaml
live (DirectQuery, CapacityMetricsCES connector):
  CU Detail:                 per 30 s timepoint; Interactive, Background, CU limit, SKU
  Timepoint CU Detail:       same, per timepoint detail page
  Metrics By Item [And Day|And Hour|And Operation]: CU (s), Duration (s), Operations, Users per item
  System Events:             pause, resume, state changes
import (fresh only after a model refresh; Pro workspace = 8 refreshes a day):
  Capacities, Items, Workspaces, Timepoints/Dates calendars
  Average utilization (last 1 hour | last 24 hours | last 7 days): measures on the Health page
not available:               Azure Monitor has no metrics namespace for Microsoft.Fabric/capacities

Anything that must be current (a status bar, "what is using the capacity now") needs the DirectQuery tables.

Query with fab

The model sits in a Pro workspace, so there is no XMLA endpoint and te cannot connect. Use executeQueries through fab. DirectQuery tables need the capacity passed as an M parameter inside a DEFINE block; without it the connector fails, and the error reads like a credential problem.

bash
fab api -A powerbi "groups/<metrics-ws-id>/datasets/<metrics-model-id>/executeQueries" -X post -i "$(jq -cn --arg q "$(cat <<'EOF'
DEFINE
  MPARAMETER 'CapacitiesList' = {"<CAPACITY-ID-UPPERCASE>"}
  VAR point = MINX(TOPN(2, 'CU Detail', 'CU Detail'[Window start time], DESC), 'CU Detail'[Window start time])
EVALUATE
ROW("pct", CALCULATE(
  DIVIDE(SUM('CU Detail'[Interactive]) + SUM('CU Detail'[Background]), MAX('CU Detail'[Base capacity units]) * 30),
  'CU Detail'[Window start time] = point) * 100)
EOF
)" '{queries: [{query: $q}]}')"
  • CU Detail values are CU-seconds per 30 s timepoint, already smoothed; utilization % = (Interactive + Background) / (Base capacity units * 30). CU limit is a ratio (1.0), not a denominator
  • The newest timepoint can hold a whole background operation charged at its start (thousands of percent); read the one before it
  • Capacity IDs: fab api -A powerbi capacities
  • Per item for a day: SUMMARIZECOLUMNS(Items[Workspace name], Items[Item kind], Items[Item name], TREATAS({DATE(y,m,d)}, 'Metrics By Item And Day'[Date]), "CUs", SUM('Metrics By Item And Day'[CU (s)]))
  • Schema: INFO.VIEW.TABLES(), INFO.VIEW.COLUMNS(), INFO.VIEW.MEASURES() work over executeQueries; INFO.TABLES() and measure expressions do not
  • fab paths break on names containing /; use IDs with fab api

Start and pause

bash
fab get ".capacities/<name>.Capacity" -q properties.state   # Active | Paused, ~10 s
fab start ".capacities/<name>.Capacity" -f
fab stop  ".capacities/<name>.Capacity" -f                  # bills the carry forward at once

fab get output ends in \r; strip it before comparing.

Keeping the metrics app alive

Failure modes seen on one tenant, in the order they surfaced:

  • The data source OAuth refresh token expires after 90 days without use (AADSTS700082); scheduled refresh stops and the model goes stale silently. Re-enter the credential in the model settings, then refresh
  • An old app version (47 from 2024) could not serve DirectQuery at all. Update from Apps, Get apps, Template apps, Microsoft Fabric Capacity Metrics, "Update the workspace and the app". It updates in place (same workspace and model IDs) but appends a date to the workspace name; rename it back or fab and te paths break on the /
  • After the credential had been re-entered several times, DirectQuery stayed broken (The credentials provided for the CapacityMetricsCES source are invalid, QueryUserError) even with a passing connection test and working refreshes. Only deleting the app workspace and installing the app fresh fixed it: Get it now, Connect, UTC_offset in standard time, OAuth2, pick the capacity admin in the account window. A fresh install gets new workspace and model IDs
  • Saving the credential dialog with "Skip test connection" ticked stores a credential that refreshes fine but fails every DirectQuery with The credentials provided for the CapacityMetricsCES source are invalid (QueryUserError). Save again with the box unticked; open the settings page with ?alwaysPromptForContentProviderCreds=true to force a fresh OAuth prompt and pick the capacity admin account explicitly when the browser holds several
  • Moving the workspace to Premium Per User to get XMLA did not help and broke nothing that was not already broken; keep it on shared capacity as Microsoft recommends
  • The account on the credential must be a capacity admin of every capacity queried
Show full SKILL.md (104 more words)Show less

What usually fills a small capacity

  • Preview Planning sessions: one Stakeholder session is 168 CU-h, billed at once (604,800 CU-s on an F2), drives the capacity into carry forward for days; see fabric-cli capacity-cost.md
  • SQL databases: one new rayfin app backend database took 3,584 CU-s in a single hour on an F2 (half the capacity) and held interactive utilization at 93 % for over an hour while its app was being tested. This includes the __fabric_plan_sys and <name>_plan databases Planning creates, and app backends' databases) consume CU continuously while awake
  • Background jobs are smoothed over 24 h, so a busy morning still counts at night

© data-goblin, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/fabric-admin/skills/fabric-capacity of data-goblin/power-bi-agentic-development.

Open the folder on GitHubat commit a301717

Compare with similar skills

Fabric Capacity next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fabric Capacity compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fabric Capacity this skilldata-goblin/power-bi-agentic-development1k—~1.5kAutomated safety check: PassGPL-3.0
Fabric Lakehousegithub/awesome-copilot40k1 repos~1.5kAutomated safety check: PassMIT
Capacity Planneralirezarezvani/claude-skills28k—~3kAutomated safety check: PassMIT
Capacity Workload Plannersickn33/agentic-awesome-skills47k1 repos~3.9kAutomated safety check: PassMIT
Fabricynulihao/AgentSkillOS6171 repos~3.4kAutomated safety check: PassNone
Channel Capacityparcadei/Continuous-Claude-v33.9k1 repos~579Automated safety check: NotesMIT

Similar skills

  • Fabric Lakehouse

    github/awesome-copilot

    Official

    A skill your agent uses to get context about Fabric Lakehouse and its features for software systems and AI-powered functions.

    40k GitHub starsUsed in 1 repo~1.5k tokens
    DatabasesAuto-check passed
  • Capacity Planner

    alirezarezvani/claude-skills

    A skill your agent uses when an ops leader (Director of CX, Head of Support, VP Ops, Head of BizOps, Head of IT ops, Head of Finance ops) is sizing ops capacity, building a headcount plan, modeling…

    28k GitHub stars~3k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Capacity Workload Planner

    sickn33/agentic-awesome-skills

    Weekly capacity and workload register: available and allocated hours, utilisation percentage, over-allocation check and leave days.

    47k GitHub starsUsed in 1 repo~3.9k tokens
    Documents & OfficeAuto-check passed
  • Fabric

    ynulihao/AgentSkillOS

    Intelligent pattern selection for Fabric CLI. An agent skill from ynulihao/AgentSkillOS.

    617 GitHub starsUsed in 1 repo~3.4k tokens
    SecurityAuto-check passed
  • Channel Capacity

    parcadei/Continuous-Claude-v3

    Problem-solving strategies for channel capacity in information theory

    3.9k GitHub starsUsed in 1 repo~579 tokens
    Auto-check: notes
  • Capacity

    VectorSpaceLab/AREX-Skill

    A skill your agent uses when updating installed capacity data, adding capacity parsers, or diagnosing Electricity Maps capacity configuration timelines.

    330 GitHub stars~860 tokensUpdated 1 mo ago
    Auto-check passed

More from data-goblin/power-bi-agentic-development

All 33 skills in this repo
  • Paginated Report

    data-goblin/power-bi-agentic-development

    Author, validate, publish, and test Power BI paginated reports in the RDL format.

    1k GitHub stars~3.5k tokensUpdated yesterday
    Auto-check passed
  • Audit Tenant Settings

    data-goblin/power-bi-agentic-development

    Automatically invoke this skill whenever the user asks about Fabric tenant settings or Power BI tenant settings or auditing tenant settings.

    1k GitHub stars~4.7k tokensUpdated yesterday
    Auto-check passed
  • Bpa Rules

    data-goblin/power-bi-agentic-development

    Interactive BPA rule generation for Power BI semantic models; guided discovery, model investigation, and expert rule authoring.

    1k GitHub stars~4.4k tokensUpdated yesterday
    Auto-check passed
  • Pbip

    data-goblin/power-bi-agentic-development

    Guidance for Power BI Project (PBIP) structure, thick and thin reports, project renames, forks, and validation.

    1k GitHub stars~3.8k tokensUpdated yesterday
    Auto-check passed
  • Review Report

    data-goblin/power-bi-agentic-development

    Actionable feedback on the quality, usage, and effectiveness of Power BI reports.

    1k GitHub stars~4.2k tokensUpdated yesterday
    Auto-check passed
  • Semantic Model

    data-goblin/power-bi-agentic-development

    This skill should be used whenever the user mentions a "semantic model", "data model", or "dataset", or asks to "build", "model", "design", "optimize", "review", or "audit" one, or to "add a…

    1k GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed

Questions about Fabric Capacity

What does Fabric Capacity do?

Automatically invoke this skill whenever the user asks why a Fabric capacity is busy, throttled, at 90 or 100 percent, or what is consuming CUs; asks for current capacity utilization, carry forward…. Fabric Capacity is an agent skill from data-goblin/power-bi-agentic-development. Automatically invoke this skill whenever the user asks why a Fabric capacity is busy, throttled, at 90 or 100 percent, or what is consuming CUs; asks for current capacity utilization, carry forward or per-item CU usage; wants to query or repair the Microsoft Fabric Capacity Metrics app or its semantic model; or wants to start, pause or monitor a capacity from a script or status bar.

How do I install Fabric Capacity in Claude Code?

Run `npx skills add data-goblin/power-bi-agentic-development --skill fabric-capacity -a claude-code`. Or copy the skill folder (plugins/fabric-admin/skills/fabric-capacity in data-goblin/power-bi-agentic-development) into .claude/skills/fabric-capacity in your project. Claude Code loads it when a task matches its description.

How do I install Fabric Capacity in Codex?

Run `npx skills add data-goblin/power-bi-agentic-development --skill fabric-capacity -a codex`. Or copy the skill folder (plugins/fabric-admin/skills/fabric-capacity in data-goblin/power-bi-agentic-development) into .agents/skills/fabric-capacity in your project. Codex loads it when a task matches its description.

Can I use Fabric Capacity in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add data-goblin/power-bi-agentic-development --skill fabric-capacity -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fabric-capacity, .gemini/skills/fabric-capacity, .github/skills/fabric-capacity and .opencode/skills/fabric-capacity in your project.

What does Fabric Capacity need to run?

Going by SKILL.md and its folder, Fabric Capacity needs the command-line tools its instructions call (jq).

Does Fabric Capacity access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Fabric Capacity safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fabric Capacity use?

Fabric Capacity is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fabric Capacity use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fabric Capacity?

Skills that share tags, products or a category with Fabric Capacity: Fabric Lakehouse (github/awesome-copilot, 40k stars), Capacity Planner (alirezarezvani/claude-skills, 28k stars), Capacity Workload Planner (sickn33/agentic-awesome-skills, 47k stars) and Fabric (ynulihao/AgentSkillOS, 617 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fabric Capacity?

data-goblin (a GitHub user) maintains it in data-goblin/power-bi-agentic-development, which has 1,034 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on October 7, 2026.

Source: data-goblin/power-bi-agentic-development on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.