powerbi-svg-visuals

powerbi-svg-visuals is a skill for Claude Code, Codex from santoshkanthety/powerbi-agent. It costs 126 tokens per session (4,156 once invoked), scanned A, original, MIT.

A guide to creating small graphics inside Power BI reports using DAX, the formula language used by Power BI. It uses SVG, a text-based image format, in supported tables, cards, and other visuals.

In plain words
What is it for?
Use it to write DAX measures that display inline charts, icons, and other SVG graphics in PBIR reports.
Why use it?
It helps add visual details such as sparklines or indicators without building a separate custom visual.

Skill for Claude CodeCodex

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

Good fit Use it to write DAX measures that display inline charts, icons, and other SVG graphics in PBIR reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/santoshkanthety/powerbi-agent/powerbi-svg-visuals
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-svg-visuals
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-svg-visuals

README.md
[![agentmods](https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-svg-visuals/github.svg)](https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-svg-visuals)
Your own site
<a href="https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-svg-visuals"><img src="https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-svg-visuals/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-svg-visuals

Your own site · 80×15
<a href="https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-svg-visuals"><img src="https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-svg-visuals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,156 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.00126 $0.04156
Opus 5 $0.00063 $0.02078
Sonnet 5 $0.00025 $0.00831
Haiku 4.5 $0.00013 $0.00416

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

Security

Grade A, and why

powerbi-svg-visuals 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-svg-visuals/SKILL.md · 320 lines

How it starts

The opening of the file, as written. The whole thing — 320 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SVG Visuals via DAX Measures (PBIR)

Report modification requires tooling. Two paths exist:

  1. pbir CLI (preferred) -- use the pbir command and the pbir-cli skill. Install with uv tool install pbir-cli or pip install pbir-cli. Check availability with pbir --version.
  2. Direct JSON modification -- if pbir is not available, use the pbir-format skill (pbip plugin) for PBIR JSON structure and patterns. Validate every change with jq empty <file.json>.

If neither the pbir-cli skill nor the pbir-format skill is loaded, ask the user to install the appropriate plugin before proceeding with report modifications.

Generate inline SVG graphics using DAX measures that return SVG markup strings. These render as images in table, matrix, card, image, and slicer visuals. Store as extension measures in reportExtensions.json.

How It Works

  1. A DAX measure returns an SVG string prefixed with data:image/svg+xml;utf8,
  2. The measure's dataCategory is set to ImageUrl
  3. Power BI renders the SVG as an image in supported visuals

Supported Visuals

Visual visualType Binding Reference
Table tableEx grid.imageHeight / grid.imageWidth references/svg-table-matrix.md
Matrix pivotTable Same as table references/svg-table-matrix.md
Image image sourceType='imageData' + sourceField references/svg-image-visual.md
Card (New) cardVisual callout.imageFX references/svg-card-slicer.md
Slicer (New) advancedSlicerVisual Header images references/svg-card-slicer.md

Workflow: Creating an SVG Measure

Step 0: Design and Preview

Before writing DAX, design the SVG visually:

  1. Query the model first -- use DAX Studio or Tabular Editor CLI to get actual values with the intended filter context. Use real numbers, not placeholders.
  2. Write static SVG to a temp file -- save to /tmp/mockup.svg and open it in a browser to preview layout, colors, and proportions.
  3. Ask for feedback before converting to DAX -- iterating on static SVG is far easier than on DAX string concatenation.
  4. Colors must be hex codes with # -- e.g., fill='#2B7A78'. Never use %23 URL encoding or named colors. Always hex.

Read the full file on GitHub · 320 lines

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 · 320 lines · 126 tokens per session scan A 155084066a50

Subscribe to this mod's changes

powerbi-svg-visuals is a skill published in the GitHub repository santoshkanthety/powerbi-agent (2 stars, last pushed 13d ago), licensed MIT. It adds 126 tokens to every session and 4,156 once invoked, about $0.0006 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

dashboard_composer

Skill "dashboard_composer" from G-Schumacher44/strata-oss, covering skill: dashboardcomposer, trigger, inputs, allowed tools and forbidden.

G-Schumacher44/strata-oss · 0 tokens

baoyu-diagram

Create professional, dark-themed SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system…

JimLiu/baoyu-skills · 146 tokens

sxo

Search Experience Optimization (SXO) — the bridge between SEO and UX/CRO. Audits the full journey from the SERP click to the on-page goal: SERP click-through factors (title/meta/rich results that win the click), then post-click experience signals that keep users and drive conversions — above-the-fold relevance and…

nowork-studio/notfair-plugin · 235 tokens

create-chatgpt-mockup

Render pixel-accurate ChatGPT mobile (iOS) screen mockups in light mode from a thread JSON. Supports user text bubbles, user image attachments, assistant markdown prose, citation chips, the OpenAI spiral logo, the Apps-SDK GPT chip in the composer, and three header styles (model-tag, plain title, "Get Plus"). Fixed…

gooseworks-ai/goose-skills · 90 tokens

journey-mapping

Build customer journey maps and service blueprints that visualize the end-to-end user experience including touchpoints, emotions, friction, and underlying systems. Use this skill whenever the user wants to map a customer journey, build a service blueprint, identify friction across an experience, align teams on the…

rampstackco/claude-skills · 131 tokens

shiny-bslib

Build modern Shiny dashboards and applications using bslib (Bootstrap 5). Use when creating new Shiny apps, modernizing legacy apps (fluidPage, fluidRow/column, tabsetPanel, wellPanel, shinythemes), or working with bslib page layouts, grid systems, cards, value boxes, navigation, sidebars, filling layouts, theming…

posit-dev/skills · 107 tokens