Agent skill

Powerbi Custom Visuals

by data-goblin in data-goblin/power-bi-agentic-development

Power BI custom visual (.pbiviz) development with the pbiviz toolchain and its MCP server.

GPL-3.0Auto-check passedData & Analytics

Install Powerbi Custom Visuals

skills CLI
$ npx skills add data-goblin/power-bi-agentic-development --skill powerbi-custom-visuals -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install data-goblin/power-bi-agentic-development powerbi-custom-visuals --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/data-goblin/power-bi-agentic-development.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/custom-visuals/skills/powerbi-custom-visuals .claude/skills/powerbi-custom-visuals && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
powerbi-custom-visuals
GitHub stars
1k
Token cost
~1.5k tokens
SKILL.md length
499 words
Files
7 (incl. references)
Skills in repo
33
Repo updated
First seen
Licence
GPL-3.0

At a glance

Power BI custom visual (.pbiviz) development with the pbiviz toolchain and its MCP server.

  • Works in 6 steps: Scaffold: pbiviz new creates the project… → Implement the visual class in… → Declare data and formatting in… → …
  • Mentions custom visual
  • SKILL.md covers Pick the right tool first, Prerequisites, Core workflow and Use the bundled pbiviz MCP…, plus 3 more sections
  • Calls npx and npm

What it does

Powerbi Custom Visuals is an agent skill from data-goblin/power-bi-agentic-development. Power BI custom visual (.pbiviz) development with the pbiviz toolchain and its MCP server. Automatically invoke when the user mentions "custom visual", "pbiviz", "develop a Power BI visual", "powerbi-visuals-tools", "IVisual", "capabilities.json", "visual formatting model", "visual certification", "publish a visual to AppSource", or asks to scaffold, build, debug, package, certify, or publish a .pbiviz developer visual.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `examples/capabilities-objects.json`, `examples/vscode-mcp.json` and `references/certification-publishing.md`).

It sits in Data & Analytics. It works with Power BI and Model Context Protocol. The repository describes itself as: Power BI AI skills and Power BI agents for Claude Code and GitHub Copilot: a plugin marketplace of Power BI skills, subagents, and hooks for semantic models, DAX, TMDL, reports… The licence is GPL-3.0.

When your agent uses it

  • Mentions custom visual
  • Develop a Power BI visual
  • Powerbi-visuals-tools
  • Capabilities.json

Example prompts

  • “custom visual”
  • “pbiviz”
  • “develop a Power BI visual”
  • “/powerbi-custom-visuals”

Requirements

  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Scaffold: pbiviz new creates the project (src/visual.ts,
  2. Implement the visual class in src/visual.ts. Implement the IVisual interface;
  3. Declare data and formatting in capabilities.json: dataRoles (the field wells),
  4. Build the formatting model with powerbi-visuals-utils-formattingmodel
  5. Live-preview: pbiviz start, then add the developer visual to a report and iterate
  6. Package: pbiviz package produces the .pbiviz under dist/; import it into a report

What it can do on your machine

Read from SKILL.md and the folder at commit a301717. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Powerbi Custom Visuals loads about 1.5k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 112 tokens; SKILL.md has 499 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~112
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from data-goblin/power-bi-agentic-development at commit a301717, republished under its GPL-3.0 licence (© data-goblin). 499 words, ~1,476 tokens.

Download SKILL.mdSave it as .claude/skills/powerbi-custom-visuals/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
powerbi-custom-visuals
description
Power BI custom visual (.pbiviz) development with the pbiviz toolchain and its MCP server. Automatically invoke when the user mentions "custom visual", "pbiviz", "develop a Power BI visual", "powerbi-visuals-tools", "IVisual", "capabilities.json", "visual formatting model", "visual certification", "publish a visual to AppSource", or asks to scaffold, build, debug, package, certify, or publish a .pbiviz developer visual.

Power BI Custom Visuals (pbiviz)

Build distributable Power BI developer visuals: TypeScript/D3 visuals packaged as a .pbiviz file, written against the powerbi-visuals-api and built with the pbiviz CLI (powerbi-visuals-tools). This skill covers the full loop: scaffold, develop, live-preview, package, certify, and publish.

Pick the right tool first

This plugin holds five visual approaches. Choose before building:

yaml
deneb-visuals:    no-code Vega / Vega-Lite specs inside a report; no packaging, no TypeScript
python-visuals:   matplotlib / seaborn script visuals (static image, computes at render)
r-visuals:        ggplot2 script visuals (static image); R's stats ecosystem
svg-visuals:      SVG drawn by a DAX measure (ImageUrl); inline in tables/cards, no visual sandbox
powerbi-custom-visuals (this skill): a real .pbiviz developer visual, reusable across
                  reports and shareable on AppSource; full interactivity, formatting pane, certification

Reach for this skill when the need is a reusable, interactive, distributable visual with its own formatting pane. For a one-off chart in a single report, a sibling skill is usually faster and lighter.

Prerequisites

  • Node.js 20.19 or later (the powerbi-visuals-tools engine minimum)
  • pbiviz CLI: run via npx -y powerbi-visuals-tools <command>, or install it globally
  • Developer mode for live preview: enable the developer visual in Power BI Desktop, or turn on developer mode in the Power BI service

Core workflow

  1. Scaffold: pbiviz new <VisualName> creates the project (src/visual.ts, capabilities.json, pbiviz.json, tsconfig.json, package.json, style/, assets/)
  2. Implement the visual class in src/visual.ts. Implement the IVisual interface; the class name must equal visualClassName in pbiviz.json. Core methods: constructor (set up DOM and services), update (render on data/size/settings change), getFormattingModel (populate the format pane), destroy (cleanup)
  3. Declare data and formatting in capabilities.json: dataRoles (the field wells), dataViewMappings (how roles map to the dataView), and objects (format-pane properties)
  4. Build the formatting model with powerbi-visuals-utils-formattingmodel (FormattingSettingsService, cards, slices). A card name matches a capabilities.json object; a slice name matches a property
  5. Live-preview: pbiviz start, then add the developer visual to a report and iterate against real data
  6. Package: pbiviz package produces the .pbiviz under dist/; import it into a report

Full command flags, the project layout, the IVisual lifecycle, and formatting-model patterns are in references/pbiviz-toolchain.md.

Show full SKILL.md (218 more words)Show less

Use the bundled pbiviz MCP server

This plugin ships a .mcp.json that starts the pbiviz MCP server (npx -y powerbi-visuals-tools mcp). It grounds development in current, correct API usage instead of guessed code. Prefer its tools while building:

yaml
get_available_apis:    look up data, formatting, interaction, and utility APIs with examples
get_best_practices:    API-version management, performance, security, accessibility, testing
add_feature:           list features available to add (bookmarks, tooltips, drill-down, selection, localization)
implement_feature:     step-by-step instructions, code templates, and config changes for a feature
list_visual_info:      extract a project's GUID, version, author, data roles, dependencies
check_vulnerabilities: scan dependencies and source for risky patterns (eval, innerHTML)
prepare_certification: verify required files, configuration, capabilities, and assets pre-submission

Setup, client config, and per-tool detail are in references/mcp-server.md.

Certify and publish

Certification unlocks export to PowerPoint and email subscriptions, and signals a reviewed visual. Key gates: a lowercase certification branch matching the package, eslint-plugin-powerbi-visuals passing, no eval/fetch/XMLHttpRequest, a clean npm audit, and the latest API. Audit with pbiviz package --certification-audit. Publishing goes through Partner Center to AppSource. R-based visuals cannot be certified.

Requirements and the submission flow are in references/certification-publishing.md.

Learn from shipped visuals

Microsoft publishes the full source of official and certified visuals. Start from the tutorials (circlecard, sampleBarChart) and read a production visual close to the target (gantt, sankey, sunburst, timeline, ChicletSlicer) for real patterns. A curated list with what each one teaches is in references/community-examples.md.

Additional resources

Reference files
  • references/pbiviz-toolchain.md ... CLI commands, project structure, IVisual lifecycle, capabilities.json, formatting model, key npm packages
  • references/mcp-server.md ... the bundled pbiviz MCP: setup and its tools
  • references/certification-publishing.md ... certification requirements and AppSource publishing
  • references/community-examples.md ... official and certified example visuals worth reading
Examples
  • examples/vscode-mcp.json ... standalone .vscode/mcp.json for a visual project outside this plugin
  • examples/capabilities-objects.json ... a capabilities.json objects block wired to a formatting card

© data-goblin, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in plugins/custom-visuals/skills/powerbi-custom-visuals of data-goblin/power-bi-agentic-development.

  • SKILL.md
  • examples/capabilities-objects.json
  • examples/vscode-mcp.json
  • references/certification-publishing.md
  • references/community-examples.md
  • references/mcp-server.md
  • references/pbiviz-toolchain.md

Open the folder on GitHubat commit a301717

Compare with similar skills

Powerbi Custom Visuals next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Powerbi Custom Visuals compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Powerbi Custom Visuals this skilldata-goblin/power-bi-agentic-development1k—~1.5kAutomated safety check: PassGPL-3.0
Powerbi Modelinggithub/awesome-copilot40k1 repos~1.5kAutomated safety check: PassMIT
Powerbi MCPKilo-Org/kilo-marketplace190—~1.7kAutomated safety check: PassMIT
Querying Indonesian Gov Datasuryast/indonesia-gov-apis172—~997Automated safety check: PassMIT
Openbb Data Fetchermonarchjuno/vibe-investing299—~2.9kAutomated safety check: NotesMIT
Diagnosekbanc85/claudia296—~1.8kAutomated safety check: PassCustom licence

Similar skills

  • Powerbi Modeling

    github/awesome-copilot

    Official

    Power BI semantic modeling assistant for building optimized data models.

    40k GitHub starsUsed in 1 repo~1.5k tokens
    Data & AnalyticsAuto-check passed
  • Powerbi MCP

    Kilo-Org/kilo-marketplace

    Safety and governance protocol for Power BI semantic model sessions via MCP.

    190 GitHub stars~1.7k tokensUpdated 10 days ago
    Data & AnalyticsAuto-check passed
  • Querying Indonesian Gov Data

    suryast/indonesia-gov-apis

    Query 57 Indonesian government APIs and data sources — BPJPH halal certification, BPOM food safety, OJK financial legality, BPS statistics, BMKG weather/earthquakes, Bank Indonesia exchange rates…

    172 GitHub stars~997 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Openbb Data Fetcher

    monarchjuno/vibe-investing

    Fetch financial, market, economic, fundamental, news, options, crypto, ETF, index, and macro data through the OpenBB Python interface instead of the OpenBB MCP server.

    299 GitHub stars~2.9k tokensUpdated 5 mo ago
    Data & AnalyticsAuto-check: notes
  • Diagnose

    kbanc85/claudia

    Check memory system health and troubleshoot connectivity issues.

    296 GitHub stars~1.8k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Posthog Product Health Audit

    boardsesh/boardsesh

    Mine Boardsesh's PostHog telemetry (error tracking, session recordings, product analytics) with a multi-agent workflow, then file verified, deduplicated, severity-labelled GitHub issues.

    163 GitHub stars~2.1k tokensUpdated today
    Data & AnalyticsAuto-check passed

More from data-goblin/power-bi-agentic-development

All 33 skills in this repo
  • Paginated Report

    data-goblin/power-bi-agentic-development

    Author, validate, publish, and test Power BI paginated reports in the RDL format.

    1k GitHub stars~3.5k tokensUpdated yesterday
    Auto-check passed
  • Audit Tenant Settings

    data-goblin/power-bi-agentic-development

    Automatically invoke this skill whenever the user asks about Fabric tenant settings or Power BI tenant settings or auditing tenant settings.

    1k GitHub stars~4.7k tokensUpdated yesterday
    Auto-check passed
  • Bpa Rules

    data-goblin/power-bi-agentic-development

    Interactive BPA rule generation for Power BI semantic models; guided discovery, model investigation, and expert rule authoring.

    1k GitHub stars~4.4k tokensUpdated yesterday
    Auto-check passed
  • Pbip

    data-goblin/power-bi-agentic-development

    Guidance for Power BI Project (PBIP) structure, thick and thin reports, project renames, forks, and validation.

    1k GitHub stars~3.8k tokensUpdated yesterday
    Auto-check passed
  • Review Report

    data-goblin/power-bi-agentic-development

    Actionable feedback on the quality, usage, and effectiveness of Power BI reports.

    1k GitHub stars~4.2k tokensUpdated yesterday
    Auto-check passed
  • Semantic Model

    data-goblin/power-bi-agentic-development

    This skill should be used whenever the user mentions a "semantic model", "data model", or "dataset", or asks to "build", "model", "design", "optimize", "review", or "audit" one, or to "add a…

    1k GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed

Questions about Powerbi Custom Visuals

What does Powerbi Custom Visuals do?

Power BI custom visual (.pbiviz) development with the pbiviz toolchain and its MCP server. Powerbi Custom Visuals is an agent skill from data-goblin/power-bi-agentic-development.pbiviz) development with the pbiviz toolchain and its MCP server.

When should I use Powerbi Custom Visuals?

Powerbi Custom Visuals fits situations like: mentions custom visual; develop a Power BI visual; powerbi-visuals-tools; capabilities.json.

How do I install Powerbi Custom Visuals in Claude Code?

Run `npx skills add data-goblin/power-bi-agentic-development --skill powerbi-custom-visuals -a claude-code`. Or copy the skill folder (plugins/custom-visuals/skills/powerbi-custom-visuals in data-goblin/power-bi-agentic-development) into .claude/skills/powerbi-custom-visuals in your project. Claude Code loads it when a task matches its description.

How do I install Powerbi Custom Visuals in Codex?

Run `npx skills add data-goblin/power-bi-agentic-development --skill powerbi-custom-visuals -a codex`. Or copy the skill folder (plugins/custom-visuals/skills/powerbi-custom-visuals in data-goblin/power-bi-agentic-development) into .agents/skills/powerbi-custom-visuals in your project. Codex loads it when a task matches its description.

Can I use Powerbi Custom Visuals in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add data-goblin/power-bi-agentic-development --skill powerbi-custom-visuals -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/powerbi-custom-visuals, .gemini/skills/powerbi-custom-visuals, .github/skills/powerbi-custom-visuals and .opencode/skills/powerbi-custom-visuals in your project.

What does Powerbi Custom Visuals need to run?

Going by SKILL.md and its folder, Powerbi Custom Visuals needs the command-line tools its instructions call (npx and npm). Our summary lists: Node.js.

Does Powerbi Custom Visuals access the network?

SKILL.md contains no URLs. Its commands use npx and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Powerbi Custom Visuals safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Powerbi Custom Visuals use?

Powerbi Custom Visuals is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Powerbi Custom Visuals use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.

What are the alternatives to Powerbi Custom Visuals?

Skills that share tags, products or a category with Powerbi Custom Visuals: Powerbi Modeling (github/awesome-copilot, 40k stars), Powerbi MCP (Kilo-Org/kilo-marketplace, 190 stars), Querying Indonesian Gov Data (suryast/indonesia-gov-apis, 172 stars) and Openbb Data Fetcher (monarchjuno/vibe-investing, 299 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Powerbi Custom Visuals?

data-goblin (a GitHub user) maintains it in data-goblin/power-bi-agentic-development, which has 1,031 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on October 7, 2026.

Source: data-goblin/power-bi-agentic-development on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.