Nature Figure
Plans, codes and checks journal-ready scientific figures in Python or R, starting from the claim each figure must prove rather than from a template.
What it is
Nature Figure is for researchers preparing figures for a paper, especially for Nature-family and other high-impact journals. Give it raw data, an existing figure to redraw, a figure legend or the claim you want to show, and it writes a runnable Python or R plotting script and exports the figure as SVG, PDF, TIFF or PNG. It also plans multi-panel figures, draws editable vector diagrams of pipelines or mechanisms, and, when you ask, drafts graphical abstracts with an AI image model.
Before any code, it writes a short figure contract: the one-sentence conclusion, what role each panel plays in proving it, the figure type, and the journal's size, font and file rules. It keeps one restrained colour palette, favours one main panel over many equal ones, and uses all of your data unless an exclusion is justified and recorded. After exporting, it runs scripts that check panel alignment, flag text smaller than 5 points and detect overlapping labels in the final PDF, then inspects each panel by eye.
You get the plotting script, the exported figure files and QA notes covering data exclusions, alignment and overlap results. It knows the specific figure and legend rules for Nature and Nature Machine Intelligence, and keeps them separate from general style advice. AI-generated schematics are treated as drafts, never as data, and it reminds you to check your target journal's current AI policy. It does not do statistics, data cleaning or interactive dashboards.
What it can do
- Writes runnable plotting scripts in Python (matplotlib, seaborn) or R (ggplot2, patchwork, ComplexHeatmap), remembering which language you prefer.
- Plans multi-panel figures so each panel adds different evidence, such as the main result, a control or a validation.
- Redraws an existing figure into a cleaner, journal-sized version with editable vector output.
- Automatically checks panel alignment, text below the 5-point minimum and overlapping labels in the exported PDF.
- Applies Nature and Nature Machine Intelligence rules on figure counts, legend length, size and resolution.
- Draws editable SVG diagrams of model architectures, pipelines and mechanisms, then audits text size and layout.
- Drafts graphical abstracts or concept schematics with GPT Image 2 through OpenRouter, clearly labelled as drafts.
When to use it
- You have a CSV of results from five models and need a clean comparison figure sized for a double-column journal page.
- Your Figure 2 has six panels that all show the same thing in different ways, and you want it restructured around one clear claim.
- A reviewer said your labels are unreadable, so you need the figure re-exported with every font above the journal minimum and nothing overlapping.
- You need an editable vector diagram of your method's pipeline for Figure 1.
- You want a few draft ideas for a graphical abstract before sending the final version to a designer.
How it works
- 1It checks whether you want a data plot, an editable diagram or an AI-drafted schematic, and for plots asks once whether to use Python or R, saving that as your default.
- 2It writes the figure contract: the core conclusion, the role of each panel, the figure type and the target journal's size and export rules.
- 3It writes and runs the plotting script in the chosen language only, using built-in templates and style rules where they fit your data.
- 4It exports the figure and runs Python check scripts for panel alignment, tiny text and overlapping elements, fixing and re-exporting until they pass.
- 5It reviews every panel at final print size and hands over the script, figure files and a QA record.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/Yuan1z0825/nature-skills/tree/main/skills/nature-figure
pnpm dlx skills add https://github.com/Yuan1z0825/nature-skills/tree/main/skills/nature-figure
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the nature-figure folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/Yuan1z0825/nature-skills.git mkdir -p ~/.claude/skills cp -r nature-skills/skills/nature-figure ~/.claude/skills/nature-figure
Then just ask in plain language, for example: “Make a Nature-style multi-panel figure from this dataset in Python.”
More Research & Learning skills
Last30days
67kFinds out what people are really saying about any topic in the past 30 days across Reddit, X, YouTube, TikTok and more, with citations.
Academic Paper
55kPlans, drafts, cites, reviews and formats academic papers step by step, from first outline to a LaTeX, Word or PDF manuscript.
Deep Research
55kTurns a research topic into a cited, source-checked APA 7 report, with guided question-shaping, fact-checks and full systematic reviews.