python-visuals — Claude Code skill for Power BI matplotlib charts
This skill guides an agent through adding Python visuals to PBIR Power BI reports and writing the matplotlib or seaborn scripts behind them.
GPL-3.0 ★ 1,104 updated 2026-10-28
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install custom-visuals@power-bi-agentic-developmentWhat python-visuals does
The skill covers the full build cycle for a Python visual: the agent adds it to a report page with pbir add visual pythonVisual, writes a matplotlib or seaborn script, injects it with pbir visuals python --script-file, and checks the binding through pbir validate. Editing the report JSON by hand is off limits; every change goes through the pbir CLI.
A Python visual renders as a static PNG with no interactivity, and the script must end with plt.show() or nothing appears. Data arrives pre-loaded in a dataset variable that the script should not recreate. Power BI Service only runs a fixed set of packages — matplotlib, seaborn, numpy, pandas, scipy, scikit-learn, statsmodels, pillow — and blocks plotly, bokeh and altair because outbound networking is disabled there; Desktop has no such package restriction.
Before handing a finished script back to the user, the skill dispatches a separate python-reviewer subagent to check it. It also spells out when a Python visual is the wrong tool: Deneb covers cross-filtering and interactive charts, while small inline marks are better served by SVG measures that skip the row cap and timeout entirely.
What it helps with
- add a Python visual to a PBIR report page
- write a matplotlib or seaborn script for Power BI
- review a Python visual script before it goes into a report
- decide between a Python visual, Deneb, or an SVG measure
- inject a finished script into a visual through pbir
Example prompts for the agent
- Add a Python visual showing sales by date as a bar chart
- Write a seaborn script for the PythonChart visual and inject it with pbir
- Check whether this Python visual script will fit the Power BI Service timeout
How to install python-visuals
1Plugin marketplace
/plugin marketplace add data-goblin/power-bi-agentic-development/plugin install custom-visuals@power-bi-agentic-developmentThis installs the whole custom-visuals plugin with all its skills
2Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill python-visuals -a claude-code3Manually: put the files in place
~/.claude/skills/python-visuals/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/python-visuals/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill python-visuals -a codex2Manually: put the files in place
.agents/skills/python-visuals/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill python-visuals -a cursor2Manually: put the files in place
.cursor/skills/python-visuals/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install data-goblin/power-bi-agentic-development plugins/custom-visuals/skills/python-visuals2Manually: put the files in place
.github/skills/python-visuals/SKILL.md1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill python-visuals -a gemini-cli2Platform CLI
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/custom-visuals/skills/python-visualsManually: put the files in place
.devin/skills/python-visuals/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 python-visuals
How do I install python-visuals in Claude Code?
Run /plugin marketplace add data-goblin/power-bi-agentic-development, then /plugin install custom-visuals@power-bi-agentic-development.
What does the python-visuals skill do?
It walks an agent through building Python visuals in PBIR reports: adding the visual through pbir, writing a matplotlib or seaborn script, injecting it, and validating the binding.
Which libraries work in Power BI Service Python visuals?
Service supports matplotlib, seaborn, numpy, pandas, scipy, scikit-learn, statsmodels and pillow, but blocks plotly, bokeh and altair since networking is disabled there.