Skip to main content
skill CX Codex

r-visuals — Claude Code skill for R visuals in Power BI

r-visuals is a Claude Code skill for creating R visuals, including ggplot2 statistical charts, in PBIR reports.

GPL-3.0 ★ 1,104 updated 2026-10-28

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install custom-visuals@power-bi-agentic-development
Open on GitHub

What r-visuals does

The skill guides the agent through adding a scriptVisual, writing an R script, and applying it to a report with pbir. Power BI supplies the data as a dataset data frame. A ggplot2 plot must be explicitly rendered with print(p), and the r-reviewer subagent checks the script before it is presented.

The result is a static PNG, not an interactive chart. Power BI Service runs R 4.3.3 and supports the packages listed in the instructions; packages that need network access are unsupported there. Desktop requires R to be installed separately. Report changes go through pbir; when the CLI lacks an operation, the skill says to stop rather than edit report JSON directly.

That static output cannot act as a cross-filter source. The documented row limit is 150,000, with a timeout of 5 minutes in Desktop and 1 minute in Service.

What it helps with

  • create an R visual for a Power BI report
  • add a ggplot2 chart to a report page
  • inject an R script into a PBIR visual
  • validate a visual script and bind it to report data

Example prompts for the agent

  • Create an R visual for revenue by date in my Power BI report.
  • Write a ggplot2 script for this report and add it with pbir.
  • Check the R visual script, then validate the report with pbir validate.

How to install r-visuals

1Plugin marketplace

/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install custom-visuals@power-bi-agentic-development

This installs the whole custom-visuals plugin with all its skills

2Skills CLI (Vercel)

npx skills add data-goblin/power-bi-agentic-development --skill r-visuals -a claude-code

3Manually: put the files in place

~/.claude/skills/r-visuals/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/r-visuals/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about r-visuals

How do I install r-visuals in Claude Code?

Run these commands in order: /plugin marketplace add data-goblin/power-bi-agentic-development, then /plugin install custom-visuals@power-bi-agentic-development.

What does r-visuals do?

It helps create R visuals for PBIR reports, including writing a script, applying it through pbir, and checking the result.

Are R visuals interactive in Power BI Service?

No. They render as static PNGs and cannot serve as cross-filter sources. Service also blocks packages that require network access.

Similar skills

All skills for Data and databases →
Horizun PBI MCP HorizunGroup Horizun PBI MCP connects coding agents to Power BI Desktop instances and PBIP repositories. Runs DAX queries, edits semantic models, and validates report structures. CX Codex +1 ★ 34repo stars power-bi-custom-visuals-development official github power-bi-custom-visuals-development — a GitHub Copilot rule with development patterns for custom Power BI visuals: React, D3.js, TypeScript, and testing. It activates when you edit .ts, .tsx, .js, .jsx, .json, .less, or .css files. CX Codex +1 ★ 41,430repo stars powerbi-modeling official github The powerbi-modeling skill helps build and review Power BI semantic models, write DAX, and configure relationships. Use it when the model includes RLS or complex calculations. CX Codex +1 9,934installs power-bi-build gasserane power-bi-build scaffolds IPPF-branded Power BI projects and writes DAX measures directly to .pbip models. Requires Power BI Desktop and the pbi CLI. CX Codex +1 688installs power-bi-salespulse-360-dashboard reason-machines power-bi-salespulse-360-dashboard is a Claude Code skill for configuring the SalesPulse 360 Power BI dashboard. It activates for retail sales and profit analysis, regional reporting, forecasting, and alert setup. CX Codex +1 661installs logifleet-pulse-supply-chain-analytics reason-machines logifleet-pulse-supply-chain-analytics is a Claude Code skill for planning logistics analytics with MS SQL Server and Power BI. It activates on requests about warehouse and fleet models, reports, or optimization. CX Codex +1 659installs

From the same set59

The whole set →
creating-good-dashboards creating-good-dashboards enforces visual clarity and comment protocols when building or styling Claude dashboards, applying principles from Edward Tufte, Stephen Few, and Ben Shneiderman. CX Codex +1 ★ 1,104repo stars te2-cli The te2-cli skill helps Claude Code work with Tabular Editor 2 from the command line, from running scripts to checking and deploying models. Use it when automating Power BI model tasks. CX Codex +1 ★ 1,104repo stars python-visuals This skill guides an agent through adding Python visuals to PBIR Power BI reports and writing the matplotlib or seaborn scripts behind them. CX Codex +1 ★ 1,104repo stars power-query Drafts, inspects, and verifies Power Query M expressions in semantic model partitions while protecting query folding. CX Codex +1 ★ 1,104repo stars help-me-get-started help-me-get-started walks Power BI people new to coding agents through setup, explaining terms in plain language along the way. CX Codex +1 ★ 1,104repo stars semantic-model semantic-model guides tabular data modeling for Power BI and Analysis Services from the terminal across design, refresh, and review tasks. CX Codex +1 ★ 1,104repo stars deneb-visuals deneb-visuals is a Claude Code skill for building Deneb visuals and writing Vega or Vega-Lite specs in Power BI reports. It activates on Deneb mentions and questions about specs, interactivity, or rendering issues. CX Codex +1 ★ 1,104repo stars pbip-validator pbip-validator — a subagent that diagnoses structural errors, JSON schema violations, and TMDL syntax issues in Power BI projects. Runs when you need to verify project integrity before opening in Desktop or after renaming tables. CX Codex +1 ★ 1,104repo stars

Project sponsors

Companies that keep this analytics open