vizwright: Skill for Claude Code

.claude/skills/twb-authoring/SKILL.md

twb-authoring is a skill for Claude Code from blakefeiza/vizwright. It costs 47 tokens per session (3,337 once invoked), scanned A, original, MIT.

A guide to writing and packaging Tableau workbook files, which are XML documents that define Tableau data connections, charts, and dashboards.

In plain words
What is it for?
Use it to create or edit .twb files, validate their XML, and package them with data into .twbx files.
Why use it?
It provides the required structure and validation steps so the workbook is less likely to fail when opened or packaged.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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 →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 tools/finalize_windows.py output/<name>.twb.

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/twb-authoring/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 twb-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/blakefeiza/vizwright/twb-authoring.svg)](https://agentmods.dev/skills/blakefeiza/vizwright/twb-authoring)
Your own site
<a href="https://agentmods.dev/skills/blakefeiza/vizwright/twb-authoring"><img src="https://agentmods.dev/badge/skills/blakefeiza/vizwright/twb-authoring.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,337 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.00047 $0.03337
Opus 5 $0.00023 $0.01669
Sonnet 5 $0.00009 $0.00667
Haiku 4.5 $0.00005 $0.00334

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

Security

Grade A, and why

twb-authoring 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 6d 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/twb-authoring/SKILL.md · 303 lines

How it starts

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

Tableau Workbook (.twb) XML Authoring

A .twb is UTF-8 XML. A .twbx is a zip containing the .twb plus a Data/ folder with data files. Target version='18.1' — every current Tableau Public VOTD workbook we mined uses it, and Desktop 2024.1–2026.1 opens it.

Ground rules (learned from mining 20 VOTD winners):

  1. NEVER invent XML. Adapt patterns from knowledge/xml-patterns/ or the snippets in the chart-xml-library skill.
  2. Back up the current .twb before every edit (cp file.twb file.twb.bak-N).
  3. After every edit: run python3 tools/validate_twb.py <file> and fix errors before packaging with python3 tools/package_twbx.py.
  4. Field references must match the datasource column names EXACTLY, including bracket syntax: [Sales], [Order Date].

Workbook skeleton (element order matters)

<?xml version='1.0' encoding='utf-8' ?>
<workbook original-version='18.1' source-build='2026.1.0 (20261.26.0410.0924)'
          source-platform='mac' version='18.1'
          xmlns:user='http://www.tableausoftware.com/xml/user'>
  <preferences />
  <datasources> ... </datasources>
  <worksheets> ... </worksheets>
  <dashboards> ... </dashboards>
  <windows> ... generate with tools/finalize_windows.py, see below ... </windows>
</workbook>

Three hard requirements confirmed by live Tableau load errors (2026-07-09):

  • source-build on <workbook> is REQUIRED — omitting it fails the load with "Error(2,125): missing required attribute 'source-build'".
  • A dashboard <window> must NOT be self-closing: its content model requires <viewpoints> + <active id='-1' /> children.
  • The dashboard window's <viewpoints> must contain one <viewpoint name='<worksheet>'><zoom type='entire-view' /></viewpoint> per worksheet used in the dashboard, AND every worksheet needs its own <window class='worksheet'> with a standard <cards> block. Missing viewpoints crash the loader with generic Internal Error 2805CF18 (assert HasVisualDoc in DashboardController).

Read the full file on GitHub · 303 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. 6d ago First seen · 303 lines · 47 tokens per session scan A dea3003b2b7d

Subscribe to this mod's changes

twb-authoring is a skill published in the GitHub repository blakefeiza/vizwright (3 stars, last pushed 1mo ago), licensed MIT. It adds 47 tokens to every session and 3,337 once invoked, about $0.0002 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-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