connect-pbid — Claude Code skill for Power BI: setup and use
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.
GPL-3.0 ★ 1,104 updated 2026-10-28
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install pbi-desktop@power-bi-agentic-developmentWhat connect-pbid does
connect-pbid guides Claude Code through PowerShell, TOM, and ADOMD.NET to work with a local Power BI Desktop model. It can enumerate model objects, run DAX queries, and change metadata; call $model.SaveChanges() to persist edits. For report checks, it can also reload the canvas and capture a page through the Desktop Bridge.
Power BI Desktop must be open with a loaded model, and PowerShell must be available on that machine. Package installation uses the NuGet CLI, the TOM package Microsoft.AnalysisServices.retail.amd64, and the ADOMD.NET package Microsoft.AnalysisServices.AdomdClient.retail.amd64. The connection is local only: remote XMLA models and Direct Lake are outside its scope. Use pbir-cli for visuals and page edits; the Desktop Bridge handles reloads and screenshots, not authoring.
What it helps with
- connect to a local Power BI Desktop model
- run DAX against the open model
- edit and save model metadata
- reload the report canvas and capture a page
Example prompts for the agent
- Connect to the open Power BI Desktop model and list its tables.
- Run a DAX query against the local model and show the result.
- Reload the report canvas and capture a page with the Desktop Bridge.
How to install connect-pbid
1Plugin marketplace
/plugin marketplace add data-goblin/power-bi-agentic-development/plugin install pbi-desktop@power-bi-agentic-developmentThis installs the whole pbi-desktop plugin with all its skills
2Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill connect-pbid -a claude-code3Manually: put the files in place
~/.claude/skills/connect-pbid/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/connect-pbid/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill connect-pbid -a codex2Manually: put the files in place
.agents/skills/connect-pbid/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill connect-pbid -a cursor2Manually: put the files in place
.cursor/skills/connect-pbid/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install data-goblin/power-bi-agentic-development plugins/pbi-desktop/skills/connect-pbid2Manually: put the files in place
.github/skills/connect-pbid/SKILL.md1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill connect-pbid -a gemini-cli2Platform CLI
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/pbi-desktop/skills/connect-pbidManually: put the files in place
.devin/skills/connect-pbid/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 connect-pbid
How do I install connect-pbid in Claude Code?
Run /plugin marketplace add data-goblin/power-bi-agentic-development, then run /plugin install pbi-desktop@power-bi-agentic-development.
What does connect-pbid do?
It guides Claude Code in connecting to a local Power BI Desktop model with PowerShell, TOM, and ADOMD.NET. It supports DAX queries, metadata edits, and report-canvas checks.
Can connect-pbid connect to Direct Lake or remote models?
No. It connects to the local Analysis Services instance; Direct Lake and remote models over XMLA are not supported.