tufte-chart

tufte-chart is a skill for Claude Code, Codex from sjarmak/coding-agent-workflows. It costs 105 tokens per session (2,276 once invoked), scanned A, original, MIT.

A chart-building workflow based on Edward Tufte's principles for clear data graphics. It creates an SVG or HTML chart with direct labels, honest proportions, and limited decoration.

In plain words
What is it for?
Use it to build or rebuild charts and graphs, including bar charts and charts with several series. It also helps apply specific fixes after a chart critique.
Why use it?
It helps avoid misleading scales, unnecessary visual decoration, and legends that make charts harder to read. It turns chart requirements into a finished graphic rather than only design advice.

Skill for Claude CodeCodex

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

Good fit Use it to build or rebuild charts and graphs, including bar charts and charts with several series. It also helps apply specific fixes after a chart critique.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sjarmak/coding-agent-workflows/tufte-chart
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 sjarmak/coding-agent-workflows --skill tufte-chart
Clone the repo
git clone --depth 1 https://github.com/sjarmak/coding-agent-workflows

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 tufte-chart

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sjarmak/coding-agent-workflows/tufte-chart"><img src="https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/tufte-chart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,276 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.00105 $0.02276
Opus 5.5 $0.00042 $0.00910
Sonnet 5.5 $0.00021 $0.00455
Haiku 4.5 $0.00011 $0.00228

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

Security

Grade A, and why

tufte-chart 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 1mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/_svg_text.py, scripts/deflate.py, scripts/quartile_plot.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

source/skills/tufte-chart/SKILL.md · 181 lines

How it starts

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

Tufte Chart

Render an actual chart file. "Design / build / produce a chart" requests land here; to fix a cluttered or misleading chart, run tufte-critique first and rebuild here honoring its remedy tags (B1–B7).

Build checklist (apply every time)

These bake in the principles from references/tufte-principles.md so the chart never needs cleanup afterwards. Read that file for the full reasoning.

  • Honest proportions (B1). Bars/columns start at a zero baseline. Encode a 1-D quantity with length or position, never with 2-D area or 3-D volume.
  • Range-frame axes (B2). Axis lines span exactly the data range, ends labelled; no outward padding. Exception: keep zero baseline for bar value axes.
  • Direct labels (B4). Label lines at their endpoints and bars beside the bars; do not emit a separate legend.
  • Minimal ink (B5). White background, no gridlines (or faint hairlines at major ticks only), no border box, no 3-D, no shadows, no gradients.
  • One encoding per datum (B6). Don't restate a value with fill + border + label; keep the strongest channel.
  • Many series → small multiples (B3). Repeat one shrunken design with shared scales rather than overplotting; order frames meaningfully.
  • Money over time (B7). If the series is currency across years, convert to real terms first (use scripts/deflate.py with retrieved CPI) and label the axis "real ".
  • Wider than tall. Unless the data dictates otherwise, "move toward horizontal graphics about 50 percent wider than tall" (VDQI p.190). The bundled scripts default to this; hold hand-built SVGs to it too.
  • Friendly type and color (Part H). Serif upper-and-lower-case type, words left-to-right, colors legible to color-deficient viewers — never red vs green for an essential contrast.
  • Inert SVG. No <script>, no event-handler attributes (onload= etc.), no javascript: URLs, no <foreignObject>, no SMIL <animate>/<set>. The four scripts below never emit these; if you hand-build SVG for one of the "other genres", keep it inert too — wrap_html.py refuses to wrap anything carrying active content.

Read the full file on GitHub · 181 lines

Files

What ships with it

32 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 181 lines · 105 tokens per session scan A 5b2cce79693c

Subscribe to this mod's changes

tufte-chart is a skill published in the GitHub repository sjarmak/coding-agent-workflows (7 stars, last pushed 2d ago), licensed MIT. It adds 105 tokens to every session and 2,276 once invoked, about $0.0004 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-10-02.

Related

tufte-chart compared with skills from other repositories

tufte-chart next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tufte-chartsjarmak/coding-agent-workflowsSkill72d agoMITA105Claude Code, Codex
unslopmxyhi/ok-skillsSkill5189d agoApache-2.0A152Codex
huashu-designmxyhi/ok-skillsSkill5189d agoApache-2.0A123Claude Code, Codex
better-iconsmxyhi/ok-skillsSkill5189d agoApache-2.0A63Claude Code, Codex
imagegen-frontend-webmxyhi/ok-skillsSkill5189d agoApache-2.0A126Claude Code, Codex
prototypemxyhi/ok-skillsSkill5189d agoApache-2.0A39Codex
frontend-designanthropics/claude-plugins-officialSkill49kyesterdayApache-2.0A40Claude Code