Skip to main content
skill CX Codex

pbir-cli — Claude Code skill: Power BI reports via CLI

pbir-cli — a skill for creating, editing, and publishing Power BI reports through command-line tools. Modify report structure, formatting, and data; take screenshots and verify results in Power BI Desktop or Fabric.

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

What pbir-cli does

pbir-cli provides a command-line interface to Power BI reports in PBIR, PBIP, and PBIX formats with PBIR metadata. Commands let you explore report structure, add pages and visuals, adjust their properties (size, color, fonts, titles), apply themes, and validate changes. The tool runs on Windows, macOS, and Linux.

When a report is open in Power BI Desktop, the skill can refresh the canvas with pbir desktop refresh and capture a screenshot to verify the result. On other systems, reports are published to a Fabric sandbox and reviewed in a browser. All edits go through the CLI—direct JSON file modification is not allowed.

Setup requires installing the CLI. On most machines, run uv tool install pbir-cli or pip install pbir-cli. If installation is not possible (no Python, no network access), a portable build is available via bin/fetch.sh, though it requires manual updates.

What it helps with

  • build and modify Power BI report structure programmatically
  • apply formatting rules to visuals across multiple reports
  • preview reports without opening Power BI Desktop
  • publish reports to Power BI Service and Fabric workspaces
  • query data from a report's semantic model

Example prompts for the agent

  • Add a card visual to the Dashboard page showing total sales for the month
  • Apply the company theme to the chart and take a screenshot
  • Publish the report to a workspace and verify how it renders in the browser

How to install pbir-cli

1Plugin marketplace

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

This installs the whole reports plugin with all its skills

2Skills CLI (Vercel)

npx skills add data-goblin/power-bi-agentic-development --skill pbir-cli -a claude-code

3Manually: put the files in place

~/.claude/skills/pbir-cli/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pbir-cli/

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

Questions about pbir-cli

How do I install pbir-cli in Claude Code?

Run /plugin marketplace add data-goblin/power-bi-agentic-development, then /plugin install reports@power-bi-agentic-development. Next, execute npx skills add data-goblin/power-bi-agentic-development --skill pbir-cli -a claude-code and open ~/.claude/skills/pbir-cli/SKILL.md.

What does pbir-cli do?

It is a CLI tool for Power BI reports. You can modify report content (pages, visuals, properties), apply formatting and themes, validate the structure, and publish to Power BI Service or Fabric.

Can I edit report JSON files directly?

No. All changes must go through pbir commands. Direct JSON editing is forbidden. You may only read JSON via pbir cat or pbir get for inspection.

Similar skills

All skills for Office documents →

From the same set59

The whole set →
audit-tenant-settings The audit-tenant-settings skill compares Fabric and Power BI tenant settings with a curated baseline, then surfaces drift and delegated overrides. Use it to examine governance changes and related security groups. CX Codex +1 ★ 1,104repo stars pbi-report-design pbi-report-design is a Claude Code skill that defines Power BI report design rules and is loaded by other skills before layout or theme decisions. CX Codex +1 ★ 1,104repo stars tmdl Guides direct TMDL file editing and BIM conversions for PBIP semantic models when Tabular Editor CLI or Power BI MCP are unavailable. CX Codex +1 ★ 1,104repo stars te-cli te-cli is a Claude Code skill for working with the Tabular Editor CLI and Power BI or Analysis Services semantic models. It activates when a request mentions the te command or uses it in a terminal. CX Codex +1 ★ 1,104repo stars fabric-cli Guides Fabric CLI interactions, controls Power BI workspaces, and calculates capacity unit usage before triggers run. CX Codex +1 ★ 1,104repo stars connect-pbid connect-pbid is a Claude Code skill that connects to a local Power BI Desktop model for DAX queries and metadata work while the model is open on the same machine. CX Codex +1 ★ 1,104repo stars dashboards Points Claude Dashboards at Fabric semantic models: measures come from the model, every KPI gets a target and a trend, and visuals crossfilter each other. ★ 1,104repo stars etl etl examines lakehouse storage, runs analytical queries, and manages dataset pipelines with DuckDB, Spark, and Livy. ★ 1,104repo stars

Project sponsors

Companies that keep this analytics open