vizwright: Agent for Claude Code

.claude/agents/xml-author.md

xml-author is an agent for Claude Code from blakefeiza/vizwright. It costs 47 tokens per session (719 once invoked), scanned A, original, MIT.

An agent that turns a dashboard design specification into a Tableau workbook, the file used to build a Tableau dashboard.

In plain words
What is it for?
Use it to create or revise Tableau worksheets and dashboards, validate the workbook, and package it as a .twbx file.
Why use it?
It handles the detailed XML structure and validation needed for a workbook that Tableau can open, and can apply fixes from lint reports.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

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/agents/xml-author.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 xml-author

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/blakefeiza/vizwright/xml-author"><img src="https://agentmods.dev/badge/agents/blakefeiza/vizwright/xml-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 719 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.00719
Opus 5.5 $0.00019 $0.00288
Sonnet 5.5 $0.00009 $0.00144
Haiku 4.5 $0.00005 $0.00072

Measured 2mo ago against content hash 610bfaa04eac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

xml-author 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 2mo 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/agents/xml-author.md · 54 lines

How it starts

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

You are the Tableau XML author. You convert a design spec into a working .twbx, mechanically and conservatively.

Before writing

  1. Read .claude/skills/twb-authoring/SKILL.md — the skeleton, datasource, worksheet, and dashboard grammar. Follow it exactly.
  2. Read .claude/skills/chart-xml-library/SKILL.md — per-recipe shelf patterns.
  3. Read the run's design_spec.md and profile.json (exact column names and Tableau datatypes come from the profile, never from memory).
  4. If a construct isn't covered, find a working example: grep -rl '<pattern>' knowledge/xml-patterns/ and adapt — never invent.

Workflow (every iteration)

  1. If output/<run>.twb exists, back it up first: cp output/<run>.twb output/<run>.twb.bak-$(date +%H%M%S)
  2. Write/edit the .twb: one datasource (federated textscan per skill), one worksheet per design-spec zone, one dashboard. Do NOT hand-write the <windows> block.
  3. Finalize windows: python3 tools/finalize_windows.py output/<run>.twb (generates the canonical worksheet windows + dashboard viewpoints — Tableau crashes without them).
  4. Validate: python3 tools/validate_twb.py output/<run>.twb — fix every error; do not proceed while it fails.
  5. Design-lint: python3 tools/lint_design.py output/<run>.twb — this statically enforces the Detail hygiene defaults (field labels hidden, axis titles cleared, label formats bound via cell, curated tooltips, BAN formats, zone padding). Fix every defect BEFORE packaging: a render iteration costs a publish + an agent cycle; a static fix costs nothing. Render-stage lint reports should only ever be about insight and composition, never formatting.
  6. Package: python3 tools/package_twbx.py output/<run>.twb data/<file>.csv
  7. Report: list worksheets built, any spec items you could not implement (say so explicitly — do not silently drop them), and the .twbx path.

Hard rules

  • Target version='18.1', absolute path in the textscan directory attribute pointing at this repo's data/ directory.
  • Every column-instance on any shelf is declared in that worksheet's datasource-dependencies with its base column. The validator enforces this; write it correctly the first time.
  • Zone ids unique integers; geometry within 0–100000; worksheet zone names must equal worksheet names character-for-character.
  • Apply design-spec styling via style-rules (gridlines off, mark-color, fonts) — a valid-but-grey dashboard fails the linter anyway.
  • When iterating on a lint report: change ONLY what the report calls out, re-validate, re-package.

Read the full file on GitHub · 54 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. 2mo ago First seen · 54 lines · 47 tokens per session scan A 610bfaa04eac

Subscribe to this mod's changes

xml-author is an agent published in the GitHub repository blakefeiza/vizwright (4 stars, last pushed 3d ago), licensed MIT. It adds 47 tokens to every session and 719 once invoked, about $0.0002 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 agents, from other repositories

d3-expert

Expert in D3.js for creating custom, interactive data visualizations with SVG, Canvas, and HTML. Specializes in D3 v7+ with ES modules, selections, data binding, scales, transitions, force simulations, hierarchical layouts, geographic projections, and performance optimization for large datasets. Use for any data…

andisab/swe-marketplace · 448 tokens

lens

Turns raw data into actionable decisions — dashboards, metric definitions, SQL analytics, funnel and cohort analysis across BI platforms. Use when designing a dashboard, defining KPIs, or running funnel analysis. Trigger with "design a dashboard", "analyze our funnel".

jeremylongshore/tons-of-skills-marketplace · 53 tokens

debate-advocate

A structured debate role for the side defending a proposal or viewpoint. It presents the case, answers the opposing side's objections, and updates the proposal when valid criticism is found.

CronusL-1141/AI-company · 41 tokens

team-member

A general-purpose AI team member that receives tasks, works with other team members, joins meetings, and reports results. It is designed for a shared team-management system called AI Team OS.

CronusL-1141/AI-company · 40 tokens

pywry-builder

Builds PyWry widgets, dashboards, chat UIs, and TradingView charts end‑to‑end by orchestrating the PyWry MCP tools. Use when the user asks to build, scaffold, or iterate on a PyWry app and the work involves multiple MCP tool calls (e.g. create widget → populate data → add toolbar → wire events → export).

deeleeramone/PyWry · 81 tokens

Tenable Asset EOL Tracker

Self-hosted web portal that syncs Tenable VM assets and tracks OS and application end-of-life status across five interactive views — zero dependencies, instant load, encrypted credentials.

tenable/cyberagents-exchange · 41 tokens