figure-style

figure-style is a skill for Claude Code, Codex from poplarity/dsh-science-workbench. It costs 167 tokens per session (4,234 once invoked), scanned A, a copy of figure-style, MIT.

A checklist and helper code for making scientific charts accurate and readable. It covers how to test chart titles against the data, choose legible text sizes, format axes and legends, and save high-resolution figures.

In plain words
What is it for?
Preparing publication-quality bioinformatics figures, checking that charts support their titles, applying consistent formatting, labeling panels, and exporting 300-dpi images.
Why use it?
A chart can look polished while still making a false claim or hiding important details. These rules help catch data mismatches and improve readability without forcing one visual style.

Skill for Claude CodeCodex

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

Good fit Preparing publication-quality bioinformatics figures, checking that charts support their titles, applying consistent formatting, labeling panels, and exporting 300-dpi images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/poplarity/dsh-science-workbench/figure-style
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 poplarity/dsh-science-workbench --skill figure-style
Clone the repo
git clone --depth 1 https://github.com/poplarity/dsh-science-workbench

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 figure-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/poplarity/dsh-science-workbench/figure-style/github.svg)](https://agentmods.dev/skills/poplarity/dsh-science-workbench/figure-style)
Your own site
<a href="https://agentmods.dev/skills/poplarity/dsh-science-workbench/figure-style"><img src="https://agentmods.dev/badge/skills/poplarity/dsh-science-workbench/figure-style/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 figure-style

Your own site · 80×15
<a href="https://agentmods.dev/skills/poplarity/dsh-science-workbench/figure-style"><img src="https://agentmods.dev/badge/skills/poplarity/dsh-science-workbench/figure-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,234 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 86% copy Near-identical to another mod 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.00167 $0.04234
Opus 5.5 $0.00067 $0.01694
Sonnet 5.5 $0.00033 $0.00847
Haiku 4.5 $0.00017 $0.00423

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

Security

Grade A, and why

figure-style 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 3mo ago.

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

Origin

This is a copy

86% identical to figure-style — 192 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/figure-style/SKILL.md · 344 lines

How it starts

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

Bundled with dsh-science-workbench — adapted from Anthropic Claude Science's built-in skills (extracted via the AcademicForge project), Apache-2.0.

Integration in this workbench: apply these rules when writing bio_run_cell code. The helper kernel.py (with apply_figure_style, panel_letter, panel_crops, …) ships beside this SKILL.md — copy it into the project's code/ once if you want to call the helpers from cells: cp <this-skill-dir>/kernel.py <project>/code/figure-style-kernel.py, then in the cell exec(open("code/figure-style-kernel.py").read()). Or apply the rules inline without the kernel.

Publication-Grade Figure Rules

A checklist for correct, legible, internally-consistent scientific figures. This skill does not impose a visual house style — frame, font, and palette are parameters. Load it and call apply_figure_style() before any plot.

§0 Scope

§1–§3, §8, and §9 are correctness — they apply to every plot, in every context, and have no aesthetic content. §4–§7 are guidance — defaults that produce a clean result but that a deliberate alternative can override (individual rules inside §4–§7 that state a factual/perceptual invariant — e.g. §4.4 semantic-zero centring, §4.5 CVD, §6.9 leader anchoring — still bind). On its own, this skill is the inner tier (make one plot good); figure-composer and paper-narrative supply multi-panel and whole-paper context.


§1 Data fidelity & self-consistency

1.1 Excluded rows. A row marked excluded or flagged in the source data is either omitted entirely or drawn with a visually distinct open/hatched marker and named in the key. It never enters a summary statistic plotted alongside the included rows.

1.2 Comparable conditions only. Arms measured under non-comparable conditions (different N, epoch budget, initialisation, protocol) are not plotted as visual peers. Separate them with a facet break or a marker on the label, and state the difference once in the caption.

Read the full file on GitHub · 344 lines

Files

What ships with it

2 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. 3mo ago First seen · 344 lines · 167 tokens per session scan A f606bd6442c4

Subscribe to this mod's changes

figure-style is a skill published in the GitHub repository poplarity/dsh-science-workbench (11 stars, last pushed 1mo ago), licensed MIT. It adds 167 tokens to every session and 4,234 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to figure-style, differing in 192 lines, and is treated as a copy.

Related

figure-style compared with skills from other repositories

figure-style next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
figure-stylepoplarity/dsh-science-workbenchSkill111mo agoMITA167Claude Code, Codex
healthcare-eval-harnessgongyijie85/dsh-eccSkill1312d agoMITA68Claude Code, Codex
healthcare-emr-patternsgongyijie85/dsh-eccSkill1312d agoMITA63Claude Code, Codex
healthcare-cdss-patternsgongyijie85/dsh-eccSkill1312d agoMITA68Claude Code, Codex
biopythonsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A76Claude Code, Codex
scanpysynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A68Claude Code, Codex
structure-predictionsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A42Claude Code, Codex