nature-figure

nature-figure is a skill for Claude Code from YuanyuanMa03/academic-research-skills. It costs 149 tokens per session (2,579 once invoked), scanned A, original, MIT.

A workflow for creating or revising scientific figures in Python or R, including multi-part plots and publication files such as SVG, PDF, and TIFF. It is aimed at figures for research papers, including Nature-family journals.

In plain words
What is it for?
Use it to make, edit, audit, or polish manuscript figures, including multi-panel plots, heat maps, and other journal-ready graphics.
Why use it?
It helps turn data and a research claim into a figure while checking layout, visual consistency, and publication requirements. Scientific figures often need more than a default chart.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the nature-figure plugin — 1 skill shipped together

Good fit Use it to make, edit, audit, or polish manuscript figures, including multi-panel plots, heat maps, and other journal-ready graphics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yuanyuanma03/academic-research-skills/nature-figure
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 YuanyuanMa03/academic-research-skills --skill nature-figure
Clone the repo
git clone --depth 1 https://github.com/YuanyuanMa03/academic-research-skills

Made for: Claude Code.

Or install nature-figure, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yuanyuanma03/academic-research-skills/nature-figure/github.svg)](https://agentmods.dev/skills/yuanyuanma03/academic-research-skills/nature-figure)
Your own site
<a href="https://agentmods.dev/skills/yuanyuanma03/academic-research-skills/nature-figure"><img src="https://agentmods.dev/badge/skills/yuanyuanma03/academic-research-skills/nature-figure/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 nature-figure

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuanyuanma03/academic-research-skills/nature-figure"><img src="https://agentmods.dev/badge/skills/yuanyuanma03/academic-research-skills/nature-figure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,579 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.00149 $0.02579
Opus 5.5 $0.00060 $0.01032
Sonnet 5.5 $0.00030 $0.00516
Haiku 4.5 $0.00015 $0.00258

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

Security

Grade A, and why

nature-figure 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 today.

The scan reads SKILL.md. This mod also ships 18 executable files (assets/figures4papers/figure_brainteaser/plot_brute_force.py, assets/figures4papers/figure_brainteaser/plot_correctness_by_category.py, assets/figures4papers/figure_brainteaser/plot_correctness_by_subcategory.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

Copies of this mod

2 near-identical copies found in the catalogue:

plugins/nature-figure/skills/nature-figure/SKILL.md · 191 lines

How it starts

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

Nature Figure Making Skill

A guide for producing publication-quality scientific figures as a visual argument, not as isolated pretty plots. Every figure starts from a claim, an evidence hierarchy, and a review-risk check before code or aesthetics.

The older Python/matplotlib rules in this skill remain valid. The skill now also supports R, especially ggplot2 + patchwork + ComplexHeatmap + ggrepel + svglite/cairo_pdf + ragg. If the user provides a private plotting template collection, use it only as an internal adaptation source and do not reveal its path, filenames, or provenance in user-facing output.

Color policy: prefer unified method families across all panels over maximal hue separation. For dense Nature Machine Intelligence-style figure pages, use the low-saturation NMI pastel family described in references/api.md and reserve green/red mainly for gains, drops, and other directional cues.

First move: figure contract before plotting

Before generating or editing code, establish the contract below.

Backend selection is a blocking gate. If the user has not explicitly chosen Python or R in the current request or provided a clearly language-specific input file/workflow, ask one concise question: Python or R? Then stop and wait for the user's answer. Do not generate mock data, write scripts, create figures, or choose Python/R by default. This overrides general autonomy/default-execution behavior for figure tasks.

The selected backend is exclusive for all figure generation. Once Python or R is selected, every plotting script, preview image, SVG/PDF/TIFF/PNG export, QA render, and visual workaround must be produced by that same backend. Do not use Python to draw a preview for an R figure, and do not use R to draw a preview for a Python figure, even if the selected runtime or packages are missing locally. The non-selected language may only be used for non-visual file inspection or data conversion when it does not open a graphics device, import plotting libraries, create image/vector files, or change the final visual appearance.

Read the full file on GitHub · 191 lines

Files

What ships with it

60 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. today First seen · 191 lines · 149 tokens per session scan A e2ddb7af7818

Subscribe to this mod's changes

nature-figure is a skill published in the GitHub repository YuanyuanMa03/academic-research-skills (75 stars, last pushed today), licensed MIT. It adds 149 tokens to every session and 2,579 once invoked, about $0.0006 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-29.

Related

Other skills, from other repositories

figure-planner

Use when designing, restructuring, or auditing manuscript figures and you need to define one main claim per figure, assign panel roles, align legends with the text, or decide what belongs in main figures versus supplement.

Boom5426/Nature-Paper-Skills · 45 tokens

creating-figures

Creates publication-quality scientific figures for academic papers. Backend is chosen by host paper extension — .tex papers get TikZ figures, .typ papers get CeTZ figures; the two are never mixed. Use when creating block diagrams, system architectures, flowcharts, or technical illustrations for papers and theses.…

ai4paper/apaper-plugin · 86 tokens

latex-posters

Create professional research posters in LaTeX using beamerposter, tikzposter, or baposter. Support for conference presentations, academic posters, and scientific communication. Includes layout design, color schemes, multi-column formats, figure integration, and poster-specific best practices for visual communication.

LeonChaoX/qinyan-academic-skills · 60 tokens

paper2poster-poster

Use when the user wants to turn an academic paper into a conference poster, poster outline, poster copy deck, poster layout brief, poster.yaml style draft, or Paper2Poster-ready generation package. Trigger for paper-to-poster requests involving PDF papers, arXiv links, manuscripts, PPTX posters, conference…

Paper2Poster/Paper2Poster · 80 tokens

ccf-visual-composer

A visual design assistant for research papers, presentations, posters, and README graphics. It can lay out figures, tables, diagrams, icons, colors, and other visual elements, including editable SVG, PDF, and PPTX outputs.

mikubaka88/CCFA-Skills · 89 tokens

write-scientific-manuscript

Diagnose and repair the clarity and logic of manuscript prose, journal-agnostic. Use when a passage is technically correct but hard to follow: buried topic sentences, missing logical bridges, ambiguous referents, abstract noun chains, overloaded sentences, incomplete comparisons with no stated dataset or metric or…

Boom5426/Nature-Paper-Skills · 152 tokens