# 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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1104 repo stars
- Author: Kurt Buhler
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/data-goblin/power-bi-agentic-development/tree/HEAD/plugins/pbi-desktop/skills/connect-pbid/SKILL.md
- Updated: 2026-10-28
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/connect-pbid

## What it 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.

## Requirements
- Works with: Power BI

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add data-goblin/power-bi-agentic-development
```
In the agent chat (not a shell):
```text
/plugin install pbi-desktop@power-bi-agentic-development
```
This installs the whole pbi-desktop plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill connect-pbid -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/connect-pbid/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/connect-pbid/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill connect-pbid -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/connect-pbid/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill connect-pbid -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/connect-pbid/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install data-goblin/power-bi-agentic-development plugins/pbi-desktop/skills/connect-pbid
```

2. **Manually: put the files in place**
- File: `.github/skills/connect-pbid/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill connect-pbid -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/pbi-desktop/skills/connect-pbid
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/connect-pbid/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/data-goblin/power-bi-agentic-development/tree/HEAD/plugins/pbi-desktop/skills/connect-pbid/SKILL.md

## When to use it
- 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
- 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.

## Similar
- [sql-jdbc-access-design](https://affpapa.org/en/nevibecode/skills/sql-jdbc-access-design.md) — skill · 10100 installs
- [powerbi-modeling](https://affpapa.org/en/nevibecode/skills/powerbi-modeling.md) — skill · 9934 installs
- [power-bi-report-design-consultation](https://affpapa.org/en/nevibecode/skills/power-bi-report-design-consultation.md) — skill · 9390 installs
- [logifleet-pulse-supply-chain-analytics](https://affpapa.org/en/nevibecode/skills/logifleet-pulse-supply-chain-analytics.md) — skill · 659 installs
- [power-bi-retail-analytics-salespulse360](https://affpapa.org/en/nevibecode/skills/power-bi-retail-analytics-salespulse360.md) — skill · 659 installs
- [powerbi-expert](https://affpapa.org/en/nevibecode/skills/powerbi-expert.md) — skill · 383 installs

From the same set: [data-goblin/power-bi-agentic-development](https://affpapa.org/en/nevibecode/by/data-goblin/power-bi-agentic-development.md) — 59 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
