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
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install reports@power-bi-agentic-developmentWhat 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-developmentThis 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-code3Manually: put the files in place
~/.claude/skills/pbir-cli/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/pbir-cli/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill pbir-cli -a codex2Manually: put the files in place
.agents/skills/pbir-cli/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill pbir-cli -a cursor2Manually: put the files in place
.cursor/skills/pbir-cli/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install data-goblin/power-bi-agentic-development plugins/reports/skills/pbir-cli2Manually: put the files in place
.github/skills/pbir-cli/SKILL.md1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill pbir-cli -a gemini-cli2Platform CLI
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/reports/skills/pbir-cliManually: put the files in place
.devin/skills/pbir-cli/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.