Connect powerbi-agent to a running Power BI Desktop instance. Invoke when the user wants to connect to Power BI Desktop, mentions "connect", "pbi connect", "local instance", sees "no connection" errors, or cannot run DAX/model commands against their model. Use when the user mentions: Activate when the user wants to connect to Power BI Desktop, mentions "connect", "pbi connect", "local instance", "no connection", or cannot run DAX/model commands..
3 stars
0 votes
0 copies
0 views
Added October 6, 2026
datapython
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Are you the author of Powerbi Connect?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/santoshkanthety-powerbi-connect)
---
name: powerbi-connect
description: Connect powerbi-agent to a running Power BI Desktop instance. Invoke when the user wants to connect to Power BI Desktop, mentions "connect", "pbi connect", "local instance", sees "no connection" errors, or cannot run DAX/model commands against their model. Use when the user mentions: Activate when the user wants to connect to Power BI Desktop, mentions "connect", "pbi connect", "local instance", "no connection", or cannot run DAX/model commands..
license: MIT
---
# Skill: Connect to Power BI Desktop
## Trigger
Activate when the user wants to connect to Power BI Desktop, mentions "connect", "pbi connect", "local instance", "no connection", or cannot run DAX/model commands.
## Steps
1. Make sure Power BI Desktop is open with a .pbix file
2. Run: `pbi-agent connect --list` to see open instances
3. Run: `pbi-agent connect` to connect to the first detected instance
4. Run: `pbi-agent doctor` to diagnose if connection fails
## Common Issues
- **No instances found**: Power BI Desktop not open, or open without a file loaded
- **pythonnet error**: Run `pip install powerbi-agent[desktop]`
- **Port in use**: Use `pbi-agent connect --port <port>` to specify manually