Power BI Custom Visuals
Skill by MinaSaad1
Builds Power BI custom visuals from natural language using the powerbi-visuals-tools SDK. It is for developers who need a chart or visual that Power BI's built-in library cannot render.
Install Power BI Custom Visuals
Built from the published package, never by AI.
git clone --depth 1 https://github.com/MinaSaad1/pbi-cli /tmp/pbi-cli && mkdir -p ~/.claude/skills && cp -r /tmp/pbi-cli/src/pbi_cli/skills/power-bi-custom-visuals ~/.claude/skills/power-bi-custom-visualsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install Power BI Custom Visuals in Claude Code
git clone --depth 1 https://github.com/MinaSaad1/pbi-cli /tmp/pbi-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pbi-cli/src/pbi_cli/skills/power-bi-custom-visuals ~/.gemini/antigravity-cli/skills/power-bi-custom-visualsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install Power BI Custom Visuals in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill scaffolds a TypeScript Power BI custom visual project, edits src/visual.ts and capabilities.json, checks the code with the TypeScript compiler, packages it as a .pbiviz file, and imports it into a PBIR report with the pbi-cli tool. The project is created next to the .pbip folder, not inside it. Before generating code on a fresh scaffold, the skill outputs a short plan and waits for the user's approval.
The skill fits developers who want a custom-built visual that the built-in Power BI library cannot render. It uses an allowlist for npm dependencies, so packages outside the list need explicit user confirmation before installation. The source says it is not for changing themes, adding built-in visuals, or modifying the data model.
Written from the project's SKILL.md and checked against it.
What it can do
- Plan before codeOutputs a five-line plan covering data roles, render approach, formatting properties and dependencies, then waits for approval.
- Scaffold projectCreates a new visual project with npx powerbi-visuals-tools and removes the demo circle card code.
- Metadata fillFills required pbiviz.json fields such as description, support URL and author from git config.
- Type check loopRuns tsc --noEmit after edits and repeats fixes until the TypeScript errors are cleared.
- Package and importBumps the patch version, packages a .pbiviz file, and imports it with pbi visual import-custom.
- npm allowlistInstalls allowlisted packages such as d3 and lodash directly and asks the user before any other npm package.
- Failure capStops after five turns without progress or on repeated oscillating errors and shows the output to the user.
What you need
- Node.js on PATH
- powerbi-visuals-tools npm package, installed with user consent
- A PBIR report or .pbip project
- pbi-cli
Try asking
- Build a custom Power BI visual that renders a gauge chart from my data
- Scaffold a new custom visual project next to my .pbip folder
- Run the type check on my custom visual and fix any errors
Good to know
- Visual correctness is checked once with the user in Power BI Desktop, not by automated tests.
- Packages outside the npm allowlist need explicit user confirmation before install.
- Project names may contain only letters and digits.
- The skill does not run pbiviz start in this version.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/pbi_cli/skills/power-bi-custom-visuals/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Power BI Custom Visuals
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
Power BI Custom Visuals: common questions
When should I use this skill instead of built-in visuals?
The source says to use it when a custom-built visual is needed that the built-in Power BI library cannot render. Built-in bar, line, card and table visuals are handled by a different skill.
Does it install npm packages on its own?
Only packages on its allowlist, such as d3 and lodash, are installed without asking. Any other package requires explicit user confirmation first.
Where does the TypeScript project go?
The project is created next to the .pbip folder, never inside it. The source says this directly.
How do I install Power BI Custom Visuals?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is Power BI Custom Visuals free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Power BI Custom Visuals safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Power BI Custom Visuals?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
