plot

plot is a skill for Claude Code from wenhaochai/claude-plugins. It costs 103 tokens per session (6,449 once invoked), scanned A, original, MIT.

A collection of Matplotlib templates for making figures for research papers, blog posts, and reports. Matplotlib is a Python library for creating charts and other plots.

In plain words
What is it for?
Use it as a starting point for writing one Python file per figure, then replace the example data and save the result yourself.
Why use it?
It gives figures a consistent visual style, reducing the repeated work of setting fonts, colors, titles, legends, and chart borders.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the writing plugin — 5 skills shipped together

Good fit Use it as a starting point for writing one Python file per figure, then replace the example data and save the result yourself.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wenhaochai/claude-plugins/plot
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 wenhaochai/claude-plugins --skill plot
Clone the repo
git clone --depth 1 https://github.com/wenhaochai/claude-plugins

Made for: Claude Code.

Or install writing, the plugin that ships this one along with the rest of its 5 skills.

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 plot

README.md
[![agentmods](https://agentmods.dev/badge/skills/wenhaochai/claude-plugins/plot/github.svg)](https://agentmods.dev/skills/wenhaochai/claude-plugins/plot)
Your own site
<a href="https://agentmods.dev/skills/wenhaochai/claude-plugins/plot"><img src="https://agentmods.dev/badge/skills/wenhaochai/claude-plugins/plot/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 plot

Your own site · 80×15
<a href="https://agentmods.dev/skills/wenhaochai/claude-plugins/plot"><img src="https://agentmods.dev/badge/skills/wenhaochai/claude-plugins/plot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,449 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00103 $0.06449
Opus 5.5 $0.00041 $0.02580
Sonnet 5.5 $0.00021 $0.01290
Haiku 4.5 $0.00010 $0.00645

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

Security

Grade A, and why

plot 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 25d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (example_card.py, example.py, style.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.

writing/skills/plot/SKILL.md · 287 lines

How it starts

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

Plot

style.py (with fonts/) and two examples: example.py, a 2x2 grid of best-so-far step charts, and example_card.py, Epoch's 4:5 social card (a log-log line with a scenario band, labelled points and ranges). Copy style.py, fonts/ and the closer example next to your script, and start from the example.

from style import *
apply_style()
fig, axes = canvas(rows, cols, width=WIDTH_TEXT, panel_height=1.35, title=None,
                   legend=[('Model A', BLUE), ('Model B', LIGHT)], quantity='Throughput (MB/s)')
ax.plot(...)                      # or ax.step / ax.bar
nice_y(ax, lo, hi)                # the y range, round steps, the values on their grid lines
room(ax)                          # then x room: past the y values, and past the last grid line
panel_label(ax, 'Setting A')      # the panel's name inside it, on a white ground
save(fig, HERE / 'name')          # name.pdf + name.png, fitted, raises on text off the canvas

Epoch's other forms are options of the same calls; their docstrings give the details.

Form How
Subtitle, footnote canvas(subtitle=..., note=..., note_style='italic')
Legend placement legend_loc='row', 'right', 'inline' (on the quantity's row) or 'column' (with legend_title)
Legend swatches (name, colour, kind), kind 'line', 'dash', 'dot', 'ring', 'box' or 'ci'
Export ticks canvas(ticks='left'), then y_values(ax, ticks, fmt): values left of the panel on tick marks
Scatter points dots(ax, x, y, colour): a translucent fill in a solid edge
Annotation callout(ax, text_xy, target_xy, lines): a note with a curved arrow
Direct labels end_labels(ax, [(y_end, name, colour), ...]): line names at their ends, spread apart
Web-canvas charts title_pt, tick_pt, note_pt, side=0.10 (see rule 5)
16:9 cover canvas(width=WIDTH_WIDE, aspect=ASPECT_WIDE, ...): panels fill what the header leaves, a 1600 x 900 PNG; covers and artistic images only (see rule 9)
Logo markers logo(ax, x, y, path): an organisation's logo on a white disc at the point (see rule 10)
4:5 card canvas(card=True, ...): 3.8 in at 4:5 on grey, a 1600 x 2000 PNG; one chart for a social post (see rule 9)
Point labels callout(ax, (dx, dy), target, [name, value], arrow=False, points=True, relpos=...): the label offset in points, a bare curved leader from where relpos says on its box to 4 pt short of the point; offsets clear any band
Log axes ax.set_xscale('log'), ticks at 1, 3, 10, then y_values(ax, ticks, fmt) and room(ax), which widens in log space

Read the full file on GitHub · 287 lines

Files

What ships with it

8 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. 25d ago Changed · +11 lines 3bbc7857f47d
  2. 26d ago Changed · +3 lines b3c0b4ef1fed
  3. 1mo ago Changed · +21 lines 2dc539eef75e
  4. 1mo ago Changed · +12 lines aeedb0861174
  5. 1mo ago Changed · +2 lines d0a20b593460
  6. 1mo ago Changed · +34 lines ba28f84d8e16
  7. 1mo ago Changed · +7 lines ae54ac4db3f8
  8. 1mo ago Changed · +5 lines 7fa12e77c8ff
  9. 1mo ago Changed · +14 lines 2df45df9e04e
  10. 2mo ago First seen · 178 lines · 103 tokens per session scan A 3cecf12979e2

Subscribe to this mod's changes

plot is a skill published in the GitHub repository wenhaochai/claude-plugins (21 stars, last pushed 26d ago), licensed MIT. It adds 103 tokens to every session and 6,449 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-08-30.

Related

plot compared with skills from other repositories

plot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plotwenhaochai/claude-pluginsSkill2126d agoMITA103Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37ktodayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k2d agoApache-2.0A205Claude Code