@luquimbo/bi-superpowers 4.1.1 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.claude-plugin/skill-manifest.json +1 -1
- package/.plugin/plugin.json +1 -1
- package/AGENTS.md +4 -5
- package/CHANGELOG.md +24 -0
- package/README.md +633 -93
- package/bin/cli.js +52 -54
- package/bin/commands/build-desktop.js +60 -6
- package/bin/commands/diff.js +86 -1
- package/bin/commands/watch.js +50 -5
- package/bin/lib/generators/claude-plugin.js +1 -1
- package/bin/postinstall.js +1 -1
- package/commands/bi-start.md +2 -2
- package/commands/pbi-connect.md +1 -1
- package/commands/project-kickoff.md +5 -5
- package/commands/report-design.md +8 -8
- package/desktop-extension/server.js +43 -10
- package/package.json +5 -5
- package/skills/bi-start/SKILL.md +3 -3
- package/skills/bi-start/scripts/update-check.js +1 -1
- package/skills/pbi-connect/SKILL.md +2 -2
- package/skills/pbi-connect/scripts/update-check.js +1 -1
- package/skills/project-kickoff/SKILL.md +6 -6
- package/skills/project-kickoff/scripts/update-check.js +1 -1
- package/skills/report-design/SKILL.md +9 -9
- package/skills/report-design/references/layouts/finance.md +2 -2
- package/skills/report-design/references/native-visuals.md +2 -2
- package/skills/report-design/references/slicer.md +1 -1
- package/skills/report-design/references/textbox.md +1 -1
- package/skills/report-design/scripts/create-visual.js +65 -1
- package/skills/report-design/scripts/update-check.js +1 -1
- package/skills/report-design/scripts/validate-pbir.js +29 -0
- package/src/content/skills/bi-start.md +2 -2
- package/src/content/skills/project-kickoff.md +4 -4
- package/src/content/skills/report-design/SKILL.md +7 -7
- package/src/content/skills/report-design/references/layouts/finance.md +2 -2
- package/src/content/skills/report-design/references/native-visuals.md +2 -2
- package/src/content/skills/report-design/references/slicer.md +1 -1
- package/src/content/skills/report-design/references/textbox.md +1 -1
- package/src/content/skills/report-design/scripts/create-visual.js +65 -1
- package/src/content/skills/report-design/scripts/validate-pbir.js +29 -0
package/README.md
CHANGED
|
@@ -5,187 +5,727 @@
|
|
|
5
5
|
[](https://nodejs.org)
|
|
6
6
|
[](https://powerbi.microsoft.com)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
**BI Agent Superpowers** is an open-source toolkit that gives AI coding agents practical Power BI Desktop capabilities.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
It installs reusable agent skills, configures Microsoft MCP servers, and provides a small CLI called `super` so Claude Code, GitHub Copilot, Codex, Gemini CLI, and Kilo Code can work with Power BI projects using the same operating contract.
|
|
11
|
+
|
|
12
|
+
This is not a loose prompt pack. It is a reproducible Power BI agent layer:
|
|
13
|
+
|
|
14
|
+
- **4 skills** for session startup, BI project analysis, Power BI Desktop connection, and PBIR report generation.
|
|
15
|
+
- **2 Microsoft MCP servers** for Power BI Desktop modeling and Microsoft Learn documentation.
|
|
16
|
+
- **1 CLI** (`super`) for install, updates, local plugin generation, checks, and regeneration.
|
|
17
|
+
- **Claude Code plugin artifacts** with slash commands, discoverable skills, and MCP configuration.
|
|
18
|
+
|
|
19
|
+
> Status: `v4.1.x` is the first stable release line. Treat it as the practical 1.0 of the project, even though the npm version remains 4.x for monotonic versioning.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Table of Contents
|
|
24
|
+
|
|
25
|
+
- [What It Does](#what-it-does)
|
|
26
|
+
- [Install From Terminal](#install-from-terminal)
|
|
27
|
+
- [Ask Your Agent To Install It](#ask-your-agent-to-install-it)
|
|
28
|
+
- [Skills Included](#skills-included)
|
|
29
|
+
- [Quick Demos](#quick-demos)
|
|
30
|
+
- [Supported Agents](#supported-agents)
|
|
31
|
+
- [MCP Servers](#mcp-servers)
|
|
32
|
+
- [CLI Reference](#cli-reference)
|
|
33
|
+
- [Plugin File Tree](#plugin-file-tree)
|
|
34
|
+
- [Requirements](#requirements)
|
|
35
|
+
- [Report Design Runtime](#report-design-runtime)
|
|
36
|
+
- [Updates](#updates)
|
|
37
|
+
- [What Ships To npm](#what-ships-to-npm)
|
|
38
|
+
- [Development](#development)
|
|
39
|
+
- [Troubleshooting](#troubleshooting)
|
|
40
|
+
- [FAQ](#faq)
|
|
13
41
|
|
|
14
42
|
---
|
|
15
43
|
|
|
16
|
-
##
|
|
44
|
+
## What It Does
|
|
45
|
+
|
|
46
|
+
Power BI work with AI agents usually breaks down in predictable places:
|
|
47
|
+
|
|
48
|
+
1. The agent does not understand the BI project structure.
|
|
49
|
+
2. The agent does not know how to connect to Power BI Desktop.
|
|
50
|
+
3. The agent invents DAX, PBIR, or setup steps without validating them against real tools.
|
|
51
|
+
4. Each agent has different skill and MCP configuration paths.
|
|
52
|
+
|
|
53
|
+
BI Agent Superpowers fixes that by giving each supported agent the same Power BI workflow:
|
|
54
|
+
|
|
55
|
+
- project context through reusable skills;
|
|
56
|
+
- Power BI Desktop access through the Microsoft Power BI Modeling MCP;
|
|
57
|
+
- current Microsoft documentation through the Microsoft Learn MCP;
|
|
58
|
+
- generated Claude Code plugin artifacts for local project work;
|
|
59
|
+
- update checks so old plugin bundles do not silently stay stale.
|
|
60
|
+
|
|
61
|
+
The goal is simple: open a Power BI project, ask your agent for help, and have the agent know what tools, files, prerequisites, and guardrails apply.
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Install From Terminal
|
|
66
|
+
|
|
67
|
+
### All Supported Agents
|
|
68
|
+
|
|
69
|
+
Use this when you want one command path for Claude Code, GitHub Copilot, Codex, Gemini CLI, and Kilo Code.
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npm install -g @luquimbo/bi-superpowers
|
|
73
|
+
super install --all --yes
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Restart your agent after installation so it reloads skills and MCP configuration.
|
|
77
|
+
|
|
78
|
+
### Interactive Install
|
|
79
|
+
|
|
80
|
+
Use this when you want the installer to detect agents and ask where to install.
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npm install -g @luquimbo/bi-superpowers
|
|
84
|
+
super install
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Install For One Agent Only
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# Claude Code user-level skills + MCP config
|
|
91
|
+
super install --agent claude-code --yes
|
|
17
92
|
|
|
18
|
-
|
|
93
|
+
# GitHub Copilot
|
|
94
|
+
super install --agent github-copilot --yes
|
|
19
95
|
|
|
20
|
-
|
|
96
|
+
# Codex
|
|
97
|
+
super install --agent codex --yes
|
|
21
98
|
|
|
22
|
-
|
|
99
|
+
# Gemini CLI
|
|
100
|
+
super install --agent gemini-cli --yes
|
|
23
101
|
|
|
102
|
+
# Kilo Code
|
|
103
|
+
super install --agent kilo --yes
|
|
24
104
|
```
|
|
105
|
+
|
|
106
|
+
### Claude Code Marketplace Install
|
|
107
|
+
|
|
108
|
+
If you only use Claude Code, the marketplace path is the cleanest install experience:
|
|
109
|
+
|
|
110
|
+
```text
|
|
25
111
|
/plugin marketplace add luquimbo/bi-superpowers
|
|
26
112
|
/plugin install bi-superpowers
|
|
27
113
|
```
|
|
28
114
|
|
|
29
|
-
|
|
115
|
+
After that, start a new session and run:
|
|
116
|
+
|
|
117
|
+
```text
|
|
118
|
+
/bi-start
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Optional Local Claude Code Plugin
|
|
122
|
+
|
|
123
|
+
Inside a Power BI project repo:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
super kickoff
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
This generates project-local Claude Code plugin files:
|
|
30
130
|
|
|
31
|
-
|
|
131
|
+
- `.claude-plugin/`
|
|
132
|
+
- `.plugin/`
|
|
133
|
+
- `.mcp.json`
|
|
134
|
+
- `commands/`
|
|
135
|
+
- `skills/`
|
|
136
|
+
- `config.json`
|
|
32
137
|
|
|
33
|
-
|
|
138
|
+
Regenerate them later with:
|
|
34
139
|
|
|
35
140
|
```bash
|
|
36
|
-
|
|
141
|
+
super recharge
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## Ask Your Agent To Install It
|
|
147
|
+
|
|
148
|
+
If your agent has terminal access, paste one of these prompts.
|
|
149
|
+
|
|
150
|
+
### Claude Code
|
|
151
|
+
|
|
152
|
+
Use the marketplace path first:
|
|
153
|
+
|
|
154
|
+
```text
|
|
155
|
+
Install BI Agent Superpowers from the Claude Code marketplace.
|
|
156
|
+
|
|
157
|
+
Run these Claude Code plugin commands:
|
|
158
|
+
|
|
159
|
+
/plugin marketplace add luquimbo/bi-superpowers
|
|
160
|
+
/plugin install bi-superpowers
|
|
161
|
+
|
|
162
|
+
After installation, start the plugin with /bi-start and tell me if any restart or reload is needed.
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
If you also want project-local plugin files in the current repo:
|
|
166
|
+
|
|
167
|
+
```text
|
|
168
|
+
Set up BI Agent Superpowers for this project as a local Claude Code plugin.
|
|
169
|
+
|
|
170
|
+
In the terminal, run:
|
|
171
|
+
|
|
37
172
|
npm install -g @luquimbo/bi-superpowers
|
|
173
|
+
super kickoff
|
|
38
174
|
|
|
39
|
-
|
|
40
|
-
super install
|
|
175
|
+
Then verify that .claude-plugin/, .plugin/, .mcp.json, commands/, skills/, and config.json were created in this repo. Do not modify unrelated files.
|
|
41
176
|
```
|
|
42
177
|
|
|
43
|
-
|
|
178
|
+
### GitHub Copilot
|
|
179
|
+
|
|
180
|
+
```text
|
|
181
|
+
Set up BI Agent Superpowers for GitHub Copilot on this machine.
|
|
44
182
|
|
|
45
|
-
|
|
46
|
-
2. Te deja elegir para cuáles instalar (o hace todos con `--all --yes`).
|
|
47
|
-
3. Copia los 4 skills en los directorios correctos de cada agente.
|
|
48
|
-
4. Escribe los 2 MCPs en el config file correcto de cada agente (con el formato/schema que cada uno espera).
|
|
183
|
+
In the terminal, run:
|
|
49
184
|
|
|
50
|
-
|
|
185
|
+
npm install -g @luquimbo/bi-superpowers
|
|
186
|
+
super install --agent github-copilot --yes
|
|
51
187
|
|
|
52
|
-
|
|
188
|
+
After it finishes, verify that the GitHub Copilot skills directory and MCP config were updated. Then remind me to restart VS Code or reload Copilot so it picks up the new skills and MCP servers.
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Codex
|
|
192
|
+
|
|
193
|
+
```text
|
|
194
|
+
Set up BI Agent Superpowers for Codex on this machine.
|
|
195
|
+
|
|
196
|
+
In the terminal, run:
|
|
197
|
+
|
|
198
|
+
npm install -g @luquimbo/bi-superpowers
|
|
199
|
+
super install --agent codex --yes
|
|
200
|
+
|
|
201
|
+
After it finishes, verify that the shared skills were installed under ~/.agents/skills and that the Codex MCP config was updated. Then summarize the installed skills and MCP servers.
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Gemini CLI
|
|
205
|
+
|
|
206
|
+
```text
|
|
207
|
+
Set up BI Agent Superpowers for Gemini CLI on this machine.
|
|
208
|
+
|
|
209
|
+
In the terminal, run:
|
|
210
|
+
|
|
211
|
+
npm install -g @luquimbo/bi-superpowers
|
|
212
|
+
super install --agent gemini-cli --yes
|
|
213
|
+
|
|
214
|
+
After it finishes, verify that ~/.gemini/skills and the Gemini MCP settings were updated. Then tell me to restart Gemini CLI before using the skills.
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Kilo Code
|
|
218
|
+
|
|
219
|
+
```text
|
|
220
|
+
Set up BI Agent Superpowers for Kilo Code on this machine.
|
|
221
|
+
|
|
222
|
+
In the terminal, run:
|
|
223
|
+
|
|
224
|
+
npm install -g @luquimbo/bi-superpowers
|
|
225
|
+
super install --agent kilo --yes
|
|
226
|
+
|
|
227
|
+
After it finishes, verify that ~/.kilo/skills and the Kilo MCP settings were updated. Then tell me to restart Kilo Code before using the skills.
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Multi-Agent Setup
|
|
231
|
+
|
|
232
|
+
```text
|
|
233
|
+
Set up BI Agent Superpowers for every supported agent installed on this machine.
|
|
234
|
+
|
|
235
|
+
In the terminal, run:
|
|
236
|
+
|
|
237
|
+
npm install -g @luquimbo/bi-superpowers
|
|
238
|
+
super install --all --yes
|
|
239
|
+
|
|
240
|
+
After it finishes, summarize which agents were configured, which MCP files were written, and whether any Windows symlink fallback copied files instead of creating symlinks.
|
|
241
|
+
```
|
|
53
242
|
|
|
54
243
|
---
|
|
55
244
|
|
|
56
|
-
##
|
|
245
|
+
## Skills Included
|
|
246
|
+
|
|
247
|
+
### `bi-start`
|
|
248
|
+
|
|
249
|
+
Session opener. It gives the user a clean starting point, checks whether a newer BI Agent Superpowers version exists, shows the skill menu, and routes the conversation to the right specialist skill.
|
|
250
|
+
|
|
251
|
+
Use it when:
|
|
252
|
+
|
|
253
|
+
- you are starting a new session;
|
|
254
|
+
- you do not know which skill to invoke;
|
|
255
|
+
- you want the agent to check update status before work begins.
|
|
256
|
+
|
|
257
|
+
### `project-kickoff`
|
|
258
|
+
|
|
259
|
+
Project analysis and planning skill. It inspects a BI project, explains what exists, identifies gaps, and creates a sensible plan for the next work cycle.
|
|
57
260
|
|
|
58
|
-
|
|
261
|
+
Use it when:
|
|
59
262
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
| `project-kickoff` | Analizá el estado de tu proyecto BI **nuevo** y armá `AGENTS.md` + modelo base |
|
|
64
|
-
| `pbi-connect` | Conectá tu agente AI a Power BI Desktop vía MCP |
|
|
65
|
-
| `report-design` | Generá páginas PBIR vía scripts Node propios (`create-visual.js`, `apply-theme.js`, `validate-pbir.js`), con allowlist de 28 visualTypes nativos |
|
|
263
|
+
- opening a Power BI repo for the first time;
|
|
264
|
+
- starting a new PBIP project;
|
|
265
|
+
- asking an agent to understand project structure before editing.
|
|
66
266
|
|
|
67
|
-
|
|
267
|
+
### `pbi-connect`
|
|
68
268
|
|
|
69
|
-
|
|
269
|
+
Power BI Desktop connection skill. It helps the agent connect to the open Power BI Desktop model through the Microsoft Power BI Modeling MCP.
|
|
70
270
|
|
|
71
|
-
|
|
271
|
+
Use it when:
|
|
72
272
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
273
|
+
- you need to list tables, columns, measures, or relationships;
|
|
274
|
+
- you want to execute DAX queries;
|
|
275
|
+
- you want the agent to inspect or modify the semantic model through Desktop.
|
|
276
|
+
|
|
277
|
+
### `report-design`
|
|
278
|
+
|
|
279
|
+
PBIR report generation skill. It turns a ready semantic model into Power BI report pages using bundled Node scripts, PBIR references, visual allowlists, layouts, themes, and validation.
|
|
280
|
+
|
|
281
|
+
Use it when:
|
|
282
|
+
|
|
283
|
+
- the model is ready and you want pages;
|
|
284
|
+
- you want native Power BI visuals generated as PBIR files;
|
|
285
|
+
- you want a report draft that can be opened and reviewed in Power BI Desktop.
|
|
286
|
+
|
|
287
|
+
Current runtime requirement: Windows + Power BI Desktop standalone + Python 3.10+ + `pipx` + `pbi-cli-tool`.
|
|
77
288
|
|
|
78
289
|
---
|
|
79
290
|
|
|
80
|
-
##
|
|
291
|
+
## Quick Demos
|
|
292
|
+
|
|
293
|
+
### Start A Session
|
|
294
|
+
|
|
295
|
+
```text
|
|
296
|
+
/bi-start
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
Expected result:
|
|
300
|
+
|
|
301
|
+
- update check;
|
|
302
|
+
- menu of 4 skills;
|
|
303
|
+
- environment hints;
|
|
304
|
+
- next-step recommendation.
|
|
305
|
+
|
|
306
|
+
### Analyze A Power BI Project
|
|
307
|
+
|
|
308
|
+
```text
|
|
309
|
+
/project-kickoff
|
|
310
|
+
Analyze this Power BI repo. Tell me what exists, what is missing, and what plan we should follow.
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
Expected result:
|
|
81
314
|
|
|
82
|
-
|
|
315
|
+
- project map;
|
|
316
|
+
- risks and missing context;
|
|
317
|
+
- recommended implementation path;
|
|
318
|
+
- handoff to `pbi-connect` or `report-design` when appropriate.
|
|
319
|
+
|
|
320
|
+
### Connect To Power BI Desktop
|
|
321
|
+
|
|
322
|
+
```text
|
|
323
|
+
/pbi-connect
|
|
324
|
+
Connect to the model currently open in Power BI Desktop and list tables, measures, columns, and relationships.
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
Expected result:
|
|
328
|
+
|
|
329
|
+
- MCP connection check;
|
|
330
|
+
- semantic model snapshot;
|
|
331
|
+
- actionable diagnostics if Desktop or MCP wiring is not ready.
|
|
332
|
+
|
|
333
|
+
### Generate A Report Page
|
|
334
|
+
|
|
335
|
+
```text
|
|
336
|
+
/report-design
|
|
337
|
+
Create an executive sales page with KPI cards, monthly trend, product ranking, and a slicer panel.
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
Expected result:
|
|
341
|
+
|
|
342
|
+
- prerequisite checks;
|
|
343
|
+
- page/layout plan;
|
|
344
|
+
- PBIR visual generation;
|
|
345
|
+
- validation against native visual types;
|
|
346
|
+
- instructions to open and verify in Power BI Desktop.
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
## Supported Agents
|
|
351
|
+
|
|
352
|
+
| Agent | Skill install path | MCP config path | Primary usage |
|
|
83
353
|
|---|---|---|---|
|
|
84
|
-
|
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
|
|
|
88
|
-
|
|
|
354
|
+
| Claude Code | `~/.claude/skills/` or marketplace plugin | `~/.claude.json` | Slash commands and natural language |
|
|
355
|
+
| GitHub Copilot | `~/.copilot/skills/` | `~/.copilot/mcp-config.json` | Natural language with skills and MCPs |
|
|
356
|
+
| Codex | `~/.agents/skills/` | `~/.codex/config.toml` | Natural language with skills and MCPs |
|
|
357
|
+
| Gemini CLI | `~/.gemini/skills/` | `~/.gemini/settings.json` | Natural language |
|
|
358
|
+
| Kilo Code | `~/.kilo/skills/` | `~/.kilo/mcp_settings.json` | Natural language |
|
|
89
359
|
|
|
90
|
-
|
|
360
|
+
The installer always writes the universal skill copy to `~/.agents/skills/`, then links or copies agent-specific skill directories as needed.
|
|
91
361
|
|
|
92
|
-
|
|
362
|
+
---
|
|
363
|
+
|
|
364
|
+
## MCP Servers
|
|
365
|
+
|
|
366
|
+
| MCP | Transport | Purpose |
|
|
367
|
+
|---|---|---|
|
|
368
|
+
| `powerbi-modeling-mcp` | local stdio | Connects to Power BI Desktop through XMLA for model inspection, DAX queries, and model operations. |
|
|
369
|
+
| `microsoft-learn` | HTTP | Gives the agent access to Microsoft Learn documentation in context. |
|
|
370
|
+
|
|
371
|
+
You can install these MCPs manually, but `super install` writes the expected MCP config for each selected agent automatically.
|
|
372
|
+
|
|
373
|
+
---
|
|
374
|
+
|
|
375
|
+
## CLI Reference
|
|
376
|
+
|
|
377
|
+
The package exposes both `super` and `bi-superpowers`:
|
|
93
378
|
|
|
94
379
|
```bash
|
|
95
|
-
|
|
96
|
-
|
|
380
|
+
super help
|
|
381
|
+
bi-superpowers help
|
|
382
|
+
```
|
|
97
383
|
|
|
98
|
-
|
|
99
|
-
super install --agent claude-code --agent github-copilot --yes
|
|
384
|
+
Common commands:
|
|
100
385
|
|
|
101
|
-
|
|
102
|
-
super install
|
|
386
|
+
```bash
|
|
387
|
+
super install # Install 4 skills + 2 MCPs for selected agents
|
|
388
|
+
super kickoff # Generate a local Claude Code plugin in the current repo
|
|
389
|
+
super recharge # Regenerate local plugin artifacts after source changes
|
|
390
|
+
super powers # List available skills
|
|
391
|
+
super scan # Compare source skills with generated artifacts
|
|
392
|
+
super checkup # Validate skill content
|
|
393
|
+
super build-desktop # Build the Claude Desktop .mcpb extension
|
|
394
|
+
super upgrade # Update the global CLI and print refresh steps
|
|
395
|
+
super help # Show full CLI help
|
|
103
396
|
```
|
|
104
397
|
|
|
105
398
|
---
|
|
106
399
|
|
|
107
|
-
##
|
|
400
|
+
## Plugin File Tree
|
|
401
|
+
|
|
402
|
+
### Local Claude Code Plugin
|
|
403
|
+
|
|
404
|
+
Generated by `super kickoff` or `super recharge`:
|
|
405
|
+
|
|
406
|
+
```text
|
|
407
|
+
project/
|
|
408
|
+
├─ .claude-plugin/
|
|
409
|
+
│ ├─ plugin.json
|
|
410
|
+
│ ├─ marketplace.json
|
|
411
|
+
│ └─ skill-manifest.json
|
|
412
|
+
├─ .plugin/
|
|
413
|
+
│ └─ plugin.json
|
|
414
|
+
├─ .mcp.json
|
|
415
|
+
├─ commands/
|
|
416
|
+
│ ├─ bi-start.md
|
|
417
|
+
│ ├─ project-kickoff.md
|
|
418
|
+
│ ├─ pbi-connect.md
|
|
419
|
+
│ └─ report-design.md
|
|
420
|
+
├─ skills/
|
|
421
|
+
│ ├─ bi-start/
|
|
422
|
+
│ │ ├─ SKILL.md
|
|
423
|
+
│ │ └─ scripts/update-check.js
|
|
424
|
+
│ ├─ project-kickoff/
|
|
425
|
+
│ │ ├─ SKILL.md
|
|
426
|
+
│ │ └─ scripts/update-check.js
|
|
427
|
+
│ ├─ pbi-connect/
|
|
428
|
+
│ │ ├─ SKILL.md
|
|
429
|
+
│ │ └─ scripts/update-check.js
|
|
430
|
+
│ └─ report-design/
|
|
431
|
+
│ ├─ SKILL.md
|
|
432
|
+
│ ├─ scripts/
|
|
433
|
+
│ │ ├─ apply-theme.js
|
|
434
|
+
│ │ ├─ create-visual.js
|
|
435
|
+
│ │ ├─ ensure-pbi-cli.sh
|
|
436
|
+
│ │ ├─ update-check.js
|
|
437
|
+
│ │ └─ validate-pbir.js
|
|
438
|
+
│ └─ references/
|
|
439
|
+
│ ├─ cli-commands.md
|
|
440
|
+
│ ├─ cli-setup.md
|
|
441
|
+
│ ├─ native-visuals.md
|
|
442
|
+
│ ├─ pbi-desktop-installation.md
|
|
443
|
+
│ ├─ troubleshooting.md
|
|
444
|
+
│ ├─ layouts/
|
|
445
|
+
│ └─ themes/
|
|
446
|
+
└─ config.json
|
|
447
|
+
```
|
|
108
448
|
|
|
109
|
-
|
|
449
|
+
### Build Pipeline
|
|
450
|
+
|
|
451
|
+
```mermaid
|
|
452
|
+
flowchart TD
|
|
453
|
+
A["src/content/"] --> B["npm run build:plugin"]
|
|
454
|
+
B --> C["commands/*.md"]
|
|
455
|
+
B --> D["skills/*/SKILL.md"]
|
|
456
|
+
B --> E[".claude-plugin/"]
|
|
457
|
+
B --> F[".plugin/"]
|
|
458
|
+
B --> G[".mcp.json"]
|
|
459
|
+
C --> H["Claude Code slash commands"]
|
|
460
|
+
D --> I["Agent skills"]
|
|
461
|
+
G --> J["Power BI Modeling MCP + Microsoft Learn MCP"]
|
|
462
|
+
```
|
|
110
463
|
|
|
111
|
-
|
|
464
|
+
---
|
|
112
465
|
|
|
113
|
-
|
|
466
|
+
## Requirements
|
|
114
467
|
|
|
115
|
-
|
|
468
|
+
### Base Requirements
|
|
469
|
+
|
|
470
|
+
- Node.js 18 or newer.
|
|
471
|
+
- At least one supported AI agent.
|
|
472
|
+
|
|
473
|
+
### For `pbi-connect`
|
|
474
|
+
|
|
475
|
+
- Windows.
|
|
476
|
+
- Power BI Desktop open.
|
|
477
|
+
- Power BI Modeling MCP available to the agent.
|
|
478
|
+
|
|
479
|
+
### For `report-design`
|
|
480
|
+
|
|
481
|
+
- Windows.
|
|
482
|
+
- Power BI Desktop standalone, not the Microsoft Store build.
|
|
483
|
+
- Python 3.10 or newer.
|
|
484
|
+
- `pipx`.
|
|
485
|
+
- `pbi-cli-tool`.
|
|
486
|
+
- PBIR/TMDL enabled when applicable.
|
|
487
|
+
|
|
488
|
+
---
|
|
489
|
+
|
|
490
|
+
## Report Design Runtime
|
|
491
|
+
|
|
492
|
+
`report-design` uses bundled Node scripts for PBIR visual and theme authoring:
|
|
493
|
+
|
|
494
|
+
- `create-visual.js`
|
|
495
|
+
- `apply-theme.js`
|
|
496
|
+
- `validate-pbir.js`
|
|
497
|
+
|
|
498
|
+
It still uses `pbi-cli-tool` for the current runtime flow:
|
|
499
|
+
|
|
500
|
+
- `pbi connect`
|
|
501
|
+
- `pbi measure list`
|
|
502
|
+
- `pbi table list`
|
|
503
|
+
- `pbi column list`
|
|
504
|
+
- `pbi report add-page`
|
|
505
|
+
- `pbi report list-pages`
|
|
506
|
+
- `pbi report validate`
|
|
507
|
+
|
|
508
|
+
This means `pbi-cli-tool` is not optional for `report-design` today.
|
|
509
|
+
|
|
510
|
+
---
|
|
511
|
+
|
|
512
|
+
## Updates
|
|
513
|
+
|
|
514
|
+
### Claude Code Marketplace
|
|
515
|
+
|
|
516
|
+
```text
|
|
116
517
|
/plugin update bi-superpowers
|
|
117
518
|
```
|
|
118
519
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
### npm (todos los otros agentes)
|
|
520
|
+
### npm / CLI Installs
|
|
122
521
|
|
|
123
522
|
```bash
|
|
124
|
-
# 1. Actualizá la CLI a la última versión
|
|
125
523
|
super upgrade
|
|
126
|
-
|
|
127
|
-
# 2. Refrescá skills + MCPs en tus agentes (no se hace automático, es un paso separado)
|
|
128
524
|
super install --yes
|
|
129
525
|
```
|
|
130
526
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
Equivalente manual si `super upgrade` falla:
|
|
527
|
+
If you created a project-local plugin:
|
|
134
528
|
|
|
135
529
|
```bash
|
|
136
|
-
|
|
137
|
-
super
|
|
530
|
+
cd your-power-bi-project
|
|
531
|
+
super recharge
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
`super upgrade` intentionally does not run `super install` or `super recharge` automatically. User-profile installs and project-local plugins are separate refresh targets.
|
|
535
|
+
|
|
536
|
+
---
|
|
537
|
+
|
|
538
|
+
## What Ships To npm
|
|
539
|
+
|
|
540
|
+
The npm package includes:
|
|
541
|
+
|
|
542
|
+
```text
|
|
543
|
+
bin/
|
|
544
|
+
.claude-plugin/
|
|
545
|
+
.plugin/
|
|
546
|
+
.mcp.json
|
|
547
|
+
commands/
|
|
548
|
+
skills/
|
|
549
|
+
src/content/
|
|
550
|
+
desktop-extension/
|
|
551
|
+
config.json
|
|
552
|
+
config.example.json
|
|
553
|
+
README.md
|
|
554
|
+
CHANGELOG.md
|
|
555
|
+
AGENTS.md
|
|
556
|
+
LICENSE
|
|
557
|
+
package.json
|
|
138
558
|
```
|
|
139
559
|
|
|
560
|
+
The npm package does not include:
|
|
561
|
+
|
|
562
|
+
```text
|
|
563
|
+
examples/smoke-test/
|
|
564
|
+
coordination/
|
|
565
|
+
node_modules/
|
|
566
|
+
*.test.js
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
`examples/smoke-test/` is intentionally repo-only. It is used for QA and manual validation, not for user installs.
|
|
570
|
+
|
|
140
571
|
---
|
|
141
572
|
|
|
142
|
-
##
|
|
573
|
+
## Development
|
|
143
574
|
|
|
144
|
-
|
|
575
|
+
Install dependencies:
|
|
145
576
|
|
|
146
|
-
|
|
577
|
+
```bash
|
|
578
|
+
npm install
|
|
579
|
+
```
|
|
147
580
|
|
|
148
|
-
|
|
149
|
-
- **Extensión de Cursor** — misma extensión, Cursor la detecta.
|
|
150
|
-
- **Manual** — descargá el binario `.exe` y configurá `BI_SUPERPOWERS_POWERBI_MODELING_MCP_PATH` apuntando al ejecutable.
|
|
581
|
+
Regenerate plugin artifacts:
|
|
151
582
|
|
|
152
|
-
|
|
583
|
+
```bash
|
|
584
|
+
npm run build:plugin
|
|
585
|
+
```
|
|
153
586
|
|
|
154
|
-
|
|
155
|
-
- **Agregarlo a mano** en el config file del agente con la URL `https://learn.microsoft.com/api/mcp`.
|
|
587
|
+
Validate locally:
|
|
156
588
|
|
|
157
|
-
|
|
589
|
+
```bash
|
|
590
|
+
npm test
|
|
591
|
+
npm run lint
|
|
592
|
+
npm run format:check
|
|
593
|
+
npm pack --dry-run --ignore-scripts
|
|
594
|
+
```
|
|
595
|
+
|
|
596
|
+
Source of truth:
|
|
597
|
+
|
|
598
|
+
```text
|
|
599
|
+
src/content/
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
Generated artifacts:
|
|
603
|
+
|
|
604
|
+
```text
|
|
605
|
+
commands/
|
|
606
|
+
skills/
|
|
607
|
+
.claude-plugin/
|
|
608
|
+
.plugin/
|
|
609
|
+
.mcp.json
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
Edit source files first, then regenerate generated outputs.
|
|
158
613
|
|
|
159
614
|
---
|
|
160
615
|
|
|
161
|
-
##
|
|
616
|
+
## Publishing
|
|
617
|
+
|
|
618
|
+
Publishing is handled by GitHub Actions. Do not run `npm publish` locally.
|
|
619
|
+
|
|
620
|
+
Expected release flow:
|
|
621
|
+
|
|
622
|
+
```bash
|
|
623
|
+
npm version patch --no-git-tag-version
|
|
624
|
+
npm run build:plugin
|
|
625
|
+
npm test
|
|
626
|
+
npm run lint
|
|
627
|
+
npm run format:check
|
|
628
|
+
git add package.json package-lock.json commands/ skills/ .claude-plugin/ .plugin/ .mcp.json
|
|
629
|
+
git commit -m "chore: release vX.Y.Z"
|
|
630
|
+
git tag -a vX.Y.Z -m "vX.Y.Z"
|
|
631
|
+
git push origin main --follow-tags
|
|
632
|
+
```
|
|
162
633
|
|
|
163
|
-
|
|
164
|
-
- **Power BI Desktop en Windows** (standalone, no Microsoft Store) para workflows locales contra Desktop (`powerbi-modeling-mcp` y `report-design`)
|
|
165
|
-
- **Python 3.10+**, **`pipx`** y **`pbi-cli-tool`** son **opcionales** — solo hacen falta para introspección del modelo via XMLA cuando el Microsoft Modeling MCP no está disponible. Para authoring de visuales, `report-design` usa scripts Node propios y no depende de esa cadena.
|
|
166
|
-
- Al menos uno de: Claude Code, GitHub Copilot, Codex, Gemini CLI, Kilo Code
|
|
634
|
+
The publish workflow runs on `v*` tag pushes. Manual dispatch is constrained to an already-tagged release commit on `main`.
|
|
167
635
|
|
|
168
636
|
---
|
|
169
637
|
|
|
170
|
-
##
|
|
638
|
+
## Troubleshooting
|
|
639
|
+
|
|
640
|
+
### `super` is not found after npm install
|
|
641
|
+
|
|
642
|
+
Check the global package:
|
|
171
643
|
|
|
172
644
|
```bash
|
|
173
|
-
|
|
174
|
-
super kickoff # Generá el plugin local de Claude Code con slash commands
|
|
175
|
-
super recharge # Regenerá el plugin tras editar skills fuente
|
|
176
|
-
super powers # Listá skills disponibles
|
|
177
|
-
super upgrade # Actualizá la CLI a la última versión + imprime recordatorio de `super install`
|
|
178
|
-
super help # Ayuda completa
|
|
645
|
+
npm list -g @luquimbo/bi-superpowers
|
|
179
646
|
```
|
|
180
647
|
|
|
648
|
+
Try the long binary name:
|
|
649
|
+
|
|
650
|
+
```bash
|
|
651
|
+
bi-superpowers help
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
If npm's global bin directory is not in `PATH`, fix `PATH` or use your package manager's global binary setup instructions.
|
|
655
|
+
|
|
656
|
+
### The Agent Does Not See The Skills
|
|
657
|
+
|
|
658
|
+
1. Restart the agent.
|
|
659
|
+
2. Run `super install --all --yes` again.
|
|
660
|
+
3. Check the relevant skill directory.
|
|
661
|
+
4. If using a local Claude Code plugin, run `super recharge` inside that repo.
|
|
662
|
+
|
|
663
|
+
### Power BI Desktop Does Not Connect
|
|
664
|
+
|
|
665
|
+
1. Open Power BI Desktop.
|
|
666
|
+
2. Open the target `.pbix` or PBIP project.
|
|
667
|
+
3. Confirm the Power BI Modeling MCP is installed.
|
|
668
|
+
4. Restart the agent after MCP installation.
|
|
669
|
+
|
|
670
|
+
### `report-design` Stops Because Power BI Desktop Is The Microsoft Store Build
|
|
671
|
+
|
|
672
|
+
Install the standalone Power BI Desktop build. The Store build can block flows required by CLI/MCP tooling.
|
|
673
|
+
|
|
674
|
+
### `pbi-cli-tool` Is Missing
|
|
675
|
+
|
|
676
|
+
Install Python, `pipx`, and `pbi-cli-tool`:
|
|
677
|
+
|
|
678
|
+
```bash
|
|
679
|
+
python --version
|
|
680
|
+
pipx --version
|
|
681
|
+
pipx install pbi-cli-tool
|
|
682
|
+
pbi --version
|
|
683
|
+
```
|
|
684
|
+
|
|
685
|
+
---
|
|
686
|
+
|
|
687
|
+
## FAQ
|
|
688
|
+
|
|
689
|
+
### Does This Replace Power BI Desktop?
|
|
690
|
+
|
|
691
|
+
No. Power BI Desktop remains the visual/runtime verification tool. The plugin helps agents work with project files, MCPs, PBIR, and semantic-model context more reliably.
|
|
692
|
+
|
|
693
|
+
### Does It Work Outside Windows?
|
|
694
|
+
|
|
695
|
+
The CLI and several skills can run outside Windows. Workflows that depend on Power BI Desktop, especially `pbi-connect` and `report-design`, are Windows-first.
|
|
696
|
+
|
|
697
|
+
### Do I Need Claude Code?
|
|
698
|
+
|
|
699
|
+
No. Claude Code has the richest plugin/slash-command experience, but the npm installer supports GitHub Copilot, Codex, Gemini CLI, and Kilo Code too.
|
|
700
|
+
|
|
701
|
+
### Do I Need `pbi-cli-tool`?
|
|
702
|
+
|
|
703
|
+
For `report-design`, yes. For `bi-start`, `project-kickoff`, and `pbi-connect`, not necessarily.
|
|
704
|
+
|
|
705
|
+
### Can I Use Only The MCP Servers?
|
|
706
|
+
|
|
707
|
+
Yes. You can install Microsoft Learn MCP and Power BI Modeling MCP manually. This repo packages them with skills and operational workflows so agents know when and how to use them.
|
|
708
|
+
|
|
709
|
+
### Does This Send Data To A SaaS Backend?
|
|
710
|
+
|
|
711
|
+
No. The package installs local files, writes local agent config, and uses MCP servers configured on your machine. There is no BI Agent Superpowers SaaS backend.
|
|
712
|
+
|
|
181
713
|
---
|
|
182
714
|
|
|
183
|
-
##
|
|
715
|
+
## Contributing
|
|
716
|
+
|
|
717
|
+
Issues and pull requests are welcome:
|
|
718
|
+
|
|
719
|
+
- GitHub: https://github.com/luquimbo/bi-superpowers
|
|
720
|
+
- Issues: https://github.com/luquimbo/bi-superpowers/issues
|
|
721
|
+
- npm: https://www.npmjs.com/package/@luquimbo/bi-superpowers
|
|
184
722
|
|
|
185
|
-
|
|
723
|
+
Before large changes, read:
|
|
186
724
|
|
|
187
|
-
-
|
|
188
|
-
-
|
|
725
|
+
- `AGENTS.md`
|
|
726
|
+
- `ARCHITECTURE.md`
|
|
727
|
+
- `src/content/`
|
|
728
|
+
- `bin/`
|
|
189
729
|
|
|
190
730
|
---
|
|
191
731
|
|