figures

figures is a skill for Claude Code from synthetic-sciences/openscience. It costs 99 tokens per session (1,868 once invoked), scanned A, original, Apache-2.0.

A guide to making publication-ready charts from research data with Matplotlib or TikZ, tools for drawing scientific plots. It covers learning curves, comparisons, heatmaps, confusion matrices, and uncertainty shown at the final printed size.

In plain words
What is it for?
Use it to create plots for papers, reports, benchmarks, and experiments. It helps produce vector files, choose suitable layouts, and ensure labels and values remain readable in print.
Why use it?
It prevents misleading or unreadable figures caused by invented numbers, poor sizing, blurry output, or missing uncertainty. It keeps charts tied to actual experiment results.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to create plots for papers, reports, benchmarks, and experiments. It helps produce vector files, choose suitable layouts, and ensure labels and values remain readable in print.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synthetic-sciences/openscience/figures
About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 3,948 stars · on GitHub · openscience.sh

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 synthetic-sciences/openscience --skill figures
Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience

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 figures

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/figures"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/figures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,868 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.00099 $0.01868
Opus 5.5 $0.00040 $0.00747
Sonnet 5.5 $0.00020 $0.00374
Haiku 4.5 $0.00010 $0.00187

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

Security

Grade A, and why

figures 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 22d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/figstyle.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.

backend/cli/skills/core/figures/SKILL.md · 142 lines

How it starts

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

Figures

A figure in a paper is an argument, not a screenshot of an array. It makes one claim, and a reader who skips the prose should still get that claim right. Default plotting output does not clear that bar: it is sized for a screen, titled where a caption belongs, colored from a cycle that collapses in greyscale, and rasterized where the document wants vector.

Non-negotiables

  1. Build at the final printed size. Pick the width from the document (COLUMN 3.25 in, TEXT 5.5 in, WIDE 6.75 in in the style module) and include it with width=\linewidth. Never build big and rescale: a 15-inch canvas dropped into a 5.5-inch column turns 11 pt tick labels into 4 pt.
  2. Vector out. PDF for \includegraphics, SVG beside it for preview. A rasterized plot blurs under the zoom every reviewer uses. PNG is only for genuinely raster content: a photograph, a sample grid, an attention map at pixel resolution.
  3. Every number comes from a run. Read tracked metrics with the experiments tool (experiments series, experiments compare) or from the run's own output files. Never plot a remembered, rounded or plausible number, and never leave demo data in a script that ships.
  4. The caption is the title. No axes title on a paper figure; panel letters (a, b) name the parts of a multi-panel figure.
  5. Show the uncertainty, or say there is none. One seed is an anecdote. Plot the interval across seeds and state the seed count in the caption; with one run, write "single seed".
  6. Label axes with units. "Loss" is a label; "step" without saying whether it counts optimizer steps or tokens is not.
  7. Colorblind-safe, greyscale-safe. Use the module's Okabe-Ito palette. Never jet, rainbow or hsv; they invent structure the data does not have. Baselines and chance levels are grey: color belongs to the things being compared.
  8. One sans-serif face across every figure, diagrams included. use_style() sets it. Pass use_style(family="serif") only for a figure carrying heavy math on a serif page.

Read the full file on GitHub · 142 lines

Files

What ships with it

6 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. 22d ago Changed · +1 lines · -3 tokens per session 2d2b3294dd41
  2. 25d ago First seen · 141 lines · 102 tokens per session scan A 18e6dc78d70e

Subscribe to this mod's changes

figures is a skill published in the GitHub repository synthetic-sciences/openscience (3,948 stars, last pushed yesterday), licensed Apache-2.0. It adds 99 tokens to every session and 1,868 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-09-14.