deneb-visuals
Deneb visual creation, Vega/Vega-Lite spec authoring, and Deneb best practices for PBIR…
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
$ npx -y skills add data-goblin/power-bi-agentic-development --skill fabric-capacity --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/fabric-capacityContext preview
The summary Claude sees to decide when to auto-load this skill.
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
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.
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.
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.
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.
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}]}')"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.
Failure modes seen on one tenant, in the order they surfaced:
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, and AI dashboards. Includes Microsoft Fabric skills and Fabric agents. Weekly updates.
Repo: data-goblin/power-bi-agentic-development
Deneb visual creation, Vega/Vega-Lite spec authoring, and Deneb best practices for PBIR…
Power BI custom visual (.pbiviz) development with the pbiviz toolchain and its MCP server.…
Python visual creation and matplotlib/seaborn patterns for PBIR reports. Automatically invoke…
R visual creation and ggplot2 patterns for PBIR reports. Automatically invoke when the user…
SVG generation via DAX measures and extension measures with ImageUrl data category for inline…
Execute arbitrary Python or PySpark code on Fabric Spark compute without creating a notebook…