You know the ones. A model launch post drops, and the benchmark charts are so clean: one confident blue bar, polite grey competitors, numbers sitting on top, a calm little “Higher is better” under the title.
Then you open matplotlib and get… this:
default blue, default orange, a legend covering your data, ticks everywhere, and DejaVu Sans staring back at you.
clean-charts is an Agent Skill that teaches Claude Code, Codex, Cursor, Gemini CLI and friends to draw charts in that model-launch style with Python + matplotlib. Tell your agent what you want in plain English, or drop in a screenshot and say “make mine look like this”. It writes the script, renders the PNG, looks at it, and fixes its own overlaps before you see them.

Claude Code
/plugin install clean-charts --marketplace zamminhduy123/clean-charts
Any other agent (Codex, Cursor, Gemini CLI, OpenCode, Windsurf, …) via skills.sh:
npx skills add zamminhduy123/clean-charts
Old-school
git clone https://github.com/zamminhduy123/clean-charts
ln -s "$PWD/clean-charts/skills/clean-charts" ~/.claude/skills/clean-charts
Then, once:
pip install matplotlib fonttools
python3 ~/.claude/skills/clean-charts/scripts/install_font.py # optional, but it's where the magic is
| Â | Â |
|---|---|
Outlined bars: the classic |
Stacked pass@k: “1 try vs 10 tries” |
Cost vs. quality: for when you’re cheaper and better |
Multi-panel slide: four benchmarks, one glance |
Metric cards: keynote energy |
Scatter + Pareto: who’s on the frontier |
Pie: yes, even pie |
Doughnut: pie with a hole |
Area: numbers going up |
Radar: the spider web |
Every picture has its .py next to it in skills/clean-charts/examples/. Steal freely.
“Bar chart: SWE-bench Verified, Model A 78.2%, Model B 80.1%, Model C 76.4%. A is ours.”
“Recreate this chart.” (paste screenshot)
“Slide with a headline and two cards: quality 61 / 59 / 57, cost $1.20 / $4.10 / $2.30.”
“Radar chart of three models on coding, math, science, agents, vision and long context.”
What makes it look “Google-clean”, baked into the skill:
Metric • Setting • Higher is better.Does it make up numbers? No. It uses only the numbers you give it or the ones printed on your screenshot. If it has to estimate one from a bar height, it says so.
Can I skip the agent and use the helpers myself? Yes:
import sys; sys.path.insert(0, "skills/clean-charts/scripts")
from gstyle import *
setup()
You get the palette, style_axes, header, footer, value_labels, a pixel-coordinate canvas, rounded bar / hbar, and pill.
Why does the font installer exist?
matplotlib can’t pick weights from variable fonts, so install_font.py downloads Google Sans from google/fonts (OFL) and writes static Regular, Medium and Bold files.
.claude-plugin/ plugin + marketplace manifests
skills/clean-charts/
SKILL.md the style rules and workflow the agent follows
scripts/gstyle.py matplotlib helpers
scripts/install_font.py
examples/ one script + PNG per chart type
llms.txt the short version, for LLMs
AGENTS.md notes for agents hacking on this repo
This project is not affiliated with or endorsed by Google. It borrows a general visual vibe and ships no Google logos or font files.
The bar, line and slide examples recreate charts Google published in Introducing Gemini 4 Neon, the Multimodal Knowledge Agents benchmark post and the Gemini 3 Deep Think announcement. A few unlabeled segments were estimated from pixel heights. The pie, doughnut, area, scatter and radar examples use made-up data.
MIT. Go make something pretty.