/reports:pbi-verify-loopfrom reports
Visually verify Power BI report edits against a running Power BI Desktop. Refreshes the canvas from disk, waits for stable rendering, screenshots the page, and optionally diffs against a mockup. Use after editing PBIR visual.json, pages, or theme files.
Ships in reports. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
One command replaces the pbir desktop refresh → Start-Sleep <guess> → pbir desktop screenshot cycle:
python "${CLAUDE_PLUGIN_ROOT}/skills/pbi-verify-loop/scripts/verify_page.py" \
"MyReport.Report/ReportSection1.Page" -o "<scratchpad>/page.png"
The script refreshes the report from disk, then captures repeatedly (every 3s, up to 45s) until two consecutive screenshots are byte-identical. That is the "settled" signal. It prints JSON (output, captures, stable, changed_from_baseline) and exits 0 when stable, 2 on timeout (the last capture is still written, so inspect it anyway).
changed_from_baseline compares the final capture against a screenshot taken before the refresh, so a two-identical-captures loop cannot settle on the pre-edit canvas. false means the refresh produced a pixel-identical page: the edit may not have reached disk, or Desktop did not pick it up, so check that before reporting the change as verified. It is null under --no-refresh, where there is no baseline to compare against.
| Flag | Use |
|---|---|
--model | Also re-apply the TMDL model (refresh -m); needed after model.tmdl/measure edits |
--no-refresh | Just settle+capture (e.g. after the user changed something in Desktop) |
--compare mockup.png | Diff final capture vs a reference; writes <out>-vs-ref.png side-by-side and reports diff_ratio + diff_bbox |
--region x,y,w,h | Crop both images to a region before comparing (verify one visual, ignore the rest) |
--scale 1-3 | Render scale (default 2) |
--timeout / --interval | Stability polling knobs (default 45s / 3s) |
pbip plugin's tmdl and pbir-format skills cover the hand-authoring rules and gotchas).pbir validate if visual.json was touched.--compare with the mockup and check diff_ratio, but always eyeball the side-by-side too; pixel diffs can't judge intent.pbir desktop list. If it errors or shows nothing, the setting may be off or disabled by policy, no report may be open, or the bridge may be faulted (pbi-desktop:connect-pbid references/desktop-bridge.md); pbir's warning may still name Preview features. Tell the user rather than retrying. Failing that, reports:desktop-screen-capture screenshots the Desktop window directly, and where Desktop is unavailable at all, render the published report server-side with ExportTo (fabric-cli:fabric-cli, references/reports.md).pbir desktop list first, always: if the instance shows Unsaved: yes, a refresh reloads from disk and can clobber the user's unsaved in-Desktop tweaks, so use --no-refresh or ask them to save first.Report.Report/PageName.Page (folder names from definition/pages/), not display names. Omit the page to capture the first page.pbir desktop: the pbir-cli skill's references/cli-reference.md (Desktop Operations section). Key gotchas: the screenshot output flag is -o/--output (there is no --out), and --settle applies only with --all.pbir desktop list for unsaved/busy state instead of raising the timeout blindly.Get-Process msedgewebview2 for a renderer of several GB. Two Desktop instances share one WebView2 browser process (the first one opened owns it), so a renderer's parent PID does not say which report it serves: close the instance you are working on and see which renderer goes. The cure is reopening that instance, never the user's other one; an import model then needs its one refresh again.
Retest: capture one page of 15 or more Deneb visuals five times with pbir desktop screenshot and read the largest msedgewebview2 working set after each.activePageName in pages.json captured it at once, and a second page after it rendered too (Verified 2026-11-04, Desktop 26.10). A TOM refresh also leaves the bridge HostNotReady for 30 to 60 seconds, so wait for pbir desktop list to report ready before the first capture.
Retest: open such a report, refresh its import model once, then capture a non-active page and read the PNG.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/create-pbi-reportStep-by-step workflow for creating complete Power BI reports from scratch using pbir CLI. Covers model discovery, report creation, page layout, theme setup, visual placement, field binding, filtering, formatting, validation, and publishing. Automatically invoke when the user asks to "create a new report", "build a report from scratch", "make a dashboard", "set up a report with KPIs", "create an executive dashboard", "add pages and visuals to a new report"./desktop-screen-captureScreenshot what is on this Windows screen, the whole desktop or one window found by title, and save a PNG the agent can Read. Use whenever you need to SEE a GUI such as Power BI Desktop, a dialog, a display symptom or a browser, especially when `pbir desktop screenshot` or the Desktop Bridge is unavailable. Triggers include "what's on screen", "screenshot Power BI", "look at my screen"./modifying-theme-jsonDesign, enforce, audit and validate Power BI report themes. Invoke when a report uses the default or a minimal theme or its visuals carry many local formatting overrides, or the user asks to create, copy, apply, audit, standardize or validate a theme, push formatting to it, clear visual overrides, or set theme colors, typography, text classes, visual-type overrides or style presets./pbi-planPlan a multi-session Power BI report or model build as a numbered ticket map with an HTML plan board. Use when the user asks to plan a build, map out a report, or resume a build that spans more than one session. User-invoked only, via /pbi-plan./pbir-cliThis skill should be used whenever the user mentions "pbir", "pbir-cli", "Power BI reports", or "PBI reports", works with .pbir, .pbip, or .pbix files, or wants to refresh, screenshot, or visually verify a report that is open in Power BI Desktop. Covers creating, exploring, formatting, validating, and publishing Power BI reports through the pbir CLI and object model, plus driving Power BI Desktop (canvas reload, page screenshots) and querying connected or local semantic models./pbi-report-designThe Power BI report design canon covering design identity, visual hierarchy and the 3-30-300 rule, page shapes, layout and alignment, chart selection, KPI and card design, tables and matrices, and how Power BI applies color and alt text. The shared reference home for report design judgment, routed to by the create-pbi-report, pbir-cli, review-report, modifying-theme-json, and custom-visual skills. Load when committing a design identity or making a layout, chart-selection, KPI or conditional-formatting decision for a report.npx claudepluginhub insightfulanalytics/pbi_agentic_dev --plugin reportsOther plugins' skills for the same job