vizwright: Skill for Claude Code

.claude/skills/chart-xml-library/SKILL.md

chart-xml-library is a skill for Claude Code from blakefeiza/vizwright. It costs 66 tokens per session (7,865 once invoked), scanned A, original, MIT.

A recipe library showing the Tableau XML patterns for common charts, including bars, lines, maps, heatmaps, and scatter plots.

In plain words
What is it for?
Use it to choose a chart for a question such as ranking or change over time, then find the corresponding XML pattern for the workbook.
Why use it?
It gives dashboard builders known chart structures and field-encoding patterns to adapt when creating Tableau workbook XML.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

This is blakefeiza/vizwright's own configuration. It tells Claude Code how to work on vizwright itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vizwright configures →

Reuse

Borrowing it

Nothing to install: this file belongs to blakefeiza/vizwright. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/blakefeiza/vizwright/main/.claude/skills/chart-xml-library/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/blakefeiza/vizwright

Made for: Claude Code.

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 chart-xml-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/blakefeiza/vizwright/chart-xml-library/github.svg)](https://agentmods.dev/skills/blakefeiza/vizwright/chart-xml-library)
Your own site
<a href="https://agentmods.dev/skills/blakefeiza/vizwright/chart-xml-library"><img src="https://agentmods.dev/badge/skills/blakefeiza/vizwright/chart-xml-library/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 chart-xml-library

Your own site · 80×15
<a href="https://agentmods.dev/skills/blakefeiza/vizwright/chart-xml-library"><img src="https://agentmods.dev/badge/skills/blakefeiza/vizwright/chart-xml-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,865 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.00066 $0.07865
Opus 5.5 $0.00026 $0.03146
Sonnet 5.5 $0.00013 $0.01573
Haiku 4.5 $0.00007 $0.00787

Measured 4d ago against content hash 3d7a7e3e586d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chart-xml-library 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 4d 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.

.claude/skills/chart-xml-library/SKILL.md · 587 lines

How it starts

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

Chart XML Library (mined from VOTD winners)

Each recipe gives the <mark>, <rows>, <cols>, and <encodings> deltas. Boilerplate (datasource-dependencies, style, panes wrapper) is in the twb-authoring skill. [ds] = your datasource name, e.g. [federated.superstore]. Raw examples: knowledge/xml-patterns/<chart-type>/*.xml.

Chart selection guide, organized by question intent (FT Visual Vocabulary). Every recipe below is RENDER-VERIFIED via the specimen book (tools/build_specimen.py → output/chart-specimen.twbx — regenerate and publish it after changing any recipe).

Intent Question shape Chart Recipe
Magnitude "How much overall?" BAN / KPI card 1
Ranking "Compare categories" Horizontal bar, sorted 2
Ranking "Compare, minimal ink" Lollipop / dot plot 9
Change over time "Trend?" Line (month-truncated) 3
Change over time "Trend + magnitude" Area 4
Change over time "Trend in a card" Sparkline 14
Change over time "Then vs now (2 periods)" Slope 16
Deviation "Before vs after / A vs B" Dumbbell 10
Deviation "Actual vs target" Bullet 11
Correlation "Two measures related?" Scatter 5
Spatial "Where geographically?" Filled map 6
Magnitude "Two dims × measure" Heatmap / highlight table 7
Part-to-whole "Composition (per category)" Stacked bar 15
Ranking "Compare within groups" Grouped bar (nested dims) 15
Part-to-whole "Share of total, 2-3 parts ONLY" Pie 13
Part-to-whole "Many parts, hierarchy" Treemap 18
Flow "Stage drop-off" Funnel 12
Distribution "Value spread" Histogram (calc bins) 17
— "Exact values / detail" Text table (sparingly) 8

Not yet in the library (need table-calc grammar; do not improvise): waterfall, box plot, 100%-stacked via percent-of-total. (Bump chart is recipe 16b — precompute rank in the data, no table calc needed.)

1. BAN / KPI card

Text mark, measure on Text shelf, empty rows/cols. One BAN per sheet.

<panes><pane>
  <view><breakdown value='auto' /></view>
  <mark class='Text' />
  <encodings><text column='[ds].[sum:Sales:qk]' /></encodings>
</pane></panes>
<rows></rows>
<cols></cols>

Format the number big via pane style:

<style-rule element='mark'>
  <format attr='font-size' value='28' />
  <format attr='font-weight' value='bold' />
  <format attr='color' value='#333333' />
</style-rule>

VOTD pattern: BAN row = 3–4 cards across the top, each with a small caption (worksheet title, 9–10pt grey) above the number.

Read the full file on GitHub · 587 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. 4d ago Changed · +16 lines 3d7a7e3e586d
  2. 2mo ago First seen · 571 lines · 66 tokens per session scan A b12db098c2d3

Subscribe to this mod's changes

chart-xml-library is a skill published in the GitHub repository blakefeiza/vizwright (4 stars, last pushed 3d ago), licensed MIT. It adds 66 tokens to every session and 7,865 once invoked, about $0.0003 per session on Opus 5.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-design

Use this skill first when the user wants to design or plan a dashboard, especially Vizro dashboards. Enforces a 3-step workflow (requirements, layout, visualization) before implementation. Activate when the user asks to create, design, or plan a dashboard. For implementation, use the dashboard-build skill after…

mckinsey/vizro · 71 tokens

wiring-vizro-actions

Use this skill when adding cross-filter, cross-highlight, drill-through, or data export interactions to a Vizro dashboard — both for choosing the right interaction pattern during design and for implementing actions in code. Activate when the user wants clicks on a chart or table to filter or highlight other charts…

mckinsey/vizro · 86 tokens

writing-vizro-yaml

Use this skill when writing or debugging Vizro YAML dashboard configurations — component syntax, datamanager registration, custom function wiring, filter/parameter setup, or AG Grid tables. Activate when the user is building a Vizro app, encountering YAML or runtime errors, or asking about Vizro component patterns.

mckinsey/vizro · 66 tokens

selecting-vizro-charts

Use this skill when choosing chart types, applying Plotly Express conventions, configuring colors, building KPI cards, or adding tables (AG Grid) to Vizro dashboards. Activate when the user asks which chart fits their data, needs custom chart functions, wants to set colors or palettes, is creating KPI metric cards, or…

mckinsey/vizro · 78 tokens

designing-vizro-layouts

Use this skill when designing or building Vizro dashboard layouts — grid configuration, component sizing, filter/parameter placement, selector types, or container patterns. Activate when the user is creating wireframes, defining page structure, placing controls, or sizing charts.

mckinsey/vizro · 58 tokens

dashboard-build

Use this skill to build, implement, and test Vizro dashboards (Phase 2). Activate when the user wants to create a working app, says "just build it", or has data ready for implementation. Requires spec files from the dashboard-design skill (Phase 1), or user confirmation to skip design.

mckinsey/vizro · 65 tokens