powerbi-doctor

powerbi-doctor is a skill for Claude Code, Codex from santoshkanthety/powerbi-agent. It costs 99 tokens per session (493 once invoked), scanned A, original, MIT.

A troubleshooting guide for the Power BI Agent environment, including Python, Power BI Desktop, local connections, and Fabric sign-in.

In plain words
What is it for?
Use it to run diagnostics and resolve installation, Python integration, Power BI Desktop connection, port, or Fabric login problems.
Why use it?
It helps find the cause of setup errors, missing commands, connection failures, unavailable Desktop sessions, and expired authentication.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run diagnostics and resolve installation, Python integration, Power BI Desktop connection, port, or Fabric login problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/santoshkanthety/powerbi-agent/powerbi-doctor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add santoshkanthety/powerbi-agent --skill powerbi-doctor
Clone the repo
git clone --depth 1 https://github.com/santoshkanthety/powerbi-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for powerbi-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-doctor/github.svg)](https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-doctor)
Your own site
<a href="https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-doctor"><img src="https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-doctor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for powerbi-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-doctor"><img src="https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.00493
Opus 5 $0.00049 $0.00246
Sonnet 5 $0.00020 $0.00099
Haiku 4.5 $0.00010 $0.00049

Measured 12d ago against content hash 01a829add48d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

powerbi-doctor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/powerbi-doctor/SKILL.md · 45 lines

What it actually says

Skill: Diagnose Environment Issues

Trigger

Activate when the user reports connection problems, setup issues, import errors (pythonnet, clr, pyadomd), "command not found", or generally asks why powerbi-agent isn't working.

Commands

# Run the full diagnostic
pbi-agent doctor

What doctor Checks

  • Python version and interpreter path
  • pythonnet / clr availability (required for Desktop connection)
  • Power BI Desktop installation and process detection
  • SSAS port accessibility for detected instances
  • Fabric auth state (cached token presence / validity)

Recovery Playbook by Symptom

Symptom Fix
pbi-agent: command not found Reinstall: pipx install powerbi-agent or pip install powerbi-agent
ImportError: clr / pythonnet pip install powerbi-agent[desktop] (installs pythonnet)
No Power BI Desktop instances found Open Power BI Desktop with a .pbix file loaded, then retry
Port X in use / connection refused Close other AS clients; use pbi-agent connect --port <port> to target a specific instance
Not authenticated (Fabric commands) Run pbi-agent fabric login
Token expired Re-run pbi-agent fabric login

When to Escalate

If pbi-agent doctor passes but commands still fail, collect:

  1. Output of pbi-agent doctor
  2. Output of pbi-agent --version
  3. The full failing command and its error
  4. OS version and Power BI Desktop version

Then file an issue at https://github.com/santoshkanthety/powerbi-agent/issues.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 45 lines · 0 tokens per session scan A 01a829add48d

Subscribe to this mod's changes

powerbi-doctor is a skill published in the GitHub repository santoshkanthety/powerbi-agent (2 stars, last pushed 13d ago), licensed MIT. It adds 99 tokens to every session and 493 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

spark-engineer

Use when writing Spark jobs, debugging performance issues, or configuring cluster settings for Apache Spark applications, distributed data processing pipelines, or big data workloads. Invoke to write DataFrame transformations, optimize Spark SQL queries, implement RDD pipelines, tune shuffle operations, configure…

Jeffallan/claude-skills · 75 tokens

debugging-wizard

Parses error messages, traces execution flow through stack traces, correlates log entries to identify failure points, and applies systematic hypothesis-driven methodology to isolate and resolve bugs. Use when investigating errors, analyzing stack traces, finding root causes of unexpected behavior, troubleshooting…

Jeffallan/claude-skills · 70 tokens

Reverse Engineering & Binary Analysis

Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.

Masriyan/Claude-Code-CyberSecurity-Skill · 26 tokens

perf-profiler

A performance investigation guide that uses repeatable measurements and profiling evidence to find where software spends time or resources. Profiling records runtime activity such as CPU use, memory use, database work, or network delays.

laolaoshiren/claude-code-skills-zh · 78 tokens

log-analyzer

A log-analysis helper that reads application and system logs to find unusual patterns and likely causes. Logs are records of events such as errors, requests, warnings, and service activity.

laolaoshiren/claude-code-skills-zh · 24 tokens

tidewave-integration

Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.

oliver-kriska/claude-elixir-phoenix · 38 tokens