nature-figure
Skill18 starsChanged 2 months agoMITView on GitHub
Generate publication-quality figures for top-tier journals (Nature, Science, Cell, ACS, Wiley families) using Python (matplotlib) or R (ggplot2). Trigger when user wants to create, polish, or redesign scientific figures for high-impact journals. Handles multi-panel layouts, Nature color palettes, correct typography, and exports SVG/PDF/PNG.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- Boom5426/Nature-Paper-Skillstheir own version, first seen Oct 2, 2026
- szzjayson25-hub/nature-academic-skillstheir own version, first seen Sep 12, 2026
- Yuan1z0825/nature-skillstheir own version, first seen Aug 31, 2026
- zh123012/claude-skillstheir own version, first seen Jul 29, 2026
- Delagong950/nature-skillstheir own version, first seen Jul 6, 2026
- vcis-wangchenxu/agent_nature-skillstheir own version, first seen Jul 1, 2026
Used with
Projects with it also use nature-reviewer, nature-downloader and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
vcis-wangchenxuSkillnature-reviewer
Simulate a Nature-style reviewer assessment for RL, MARL, LLM, and LLM Agent manuscripts. Use for pre-submission review, novelty assessment, technical soundness, reproducibility, benchmark fairness, safety, and reviewer-style critique.
Also in 5 projects that use this
vcis-wangchenxuSkillnature-downloader
Help legally obtain, organize, and archive academic papers, PDFs, BibTeX, supplementary files, code links, and benchmark documents for RL, MARL, LLM, and LLM Agent research. Do not bypass paywalls or access controls.
Also in 4 projects that use this
Delagong950Skillnature-experiment-log
Standardized lab notebook with structured YAML-frontmatter experiment logs. Supports Obsidian vault integration, image/voice/text input, and batch/tracking systems.
Also in 4 projects that use this
Delagong950Skillnature-ref-verifier
Multi-source cross-validation of academic references. Verify authors, title, year, volume, issue, and pages against PubMed, CrossRef, and publisher pages. Detect fabricated citations.
Also in 3 projects that use this
Galaxy-DawnSkillnature-response
Draft, audit, or revise point-by-point reviewer response letters for Nature-family manuscript revisions. Use when the user provides reviewer comments, editor decision letters, revision notes, response drafts, or asks how to respond to major/minor revision requests, rebuttal letters, response to reviewers, peer-review reports, 审稿意见回复, 逐点回复, 修回信, 大修回复, 小修回复, or 如何回复 reviewer.
Also in 4 projects that use this
Galaxy-DawnSkillnature-writing
Draft, restructure, or plan Nature-style manuscript sections from author-provided claims, results, figures, notes, or Chinese drafts. Use when the user wants to write or rebuild an abstract, introduction, results narrative, discussion, conclusion, title, or full manuscript argument rather than only polish finished prose.
Also in 4 projects that use this
- +3 more from vcis-wangchenxu
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- Yuan1z0825/nature-skills★ 46ksame name
- Boom5426/Nature-Paper-Skills★ 546same name
- Chanw-research/claude-code-paper-writing★ 42same name
- Delagong950/nature-skills★ 4same name
- vcis-wangchenxu/agent_nature-skills★ 4same name
- szzjayson25-hub/nature-academic-skills★ 2same name
- zh123012/claude-skills★ 1same name
- Lling0000/nature-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- nature-citationSkill
- nature-integrity-checkSkill
- nature-paper2pptSkill
- nature-paper-hubSkill
- nature-readerSkill
- nature-reviewer-simSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 7 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
All text must be editable (not rasterized)
- Distinctive: line 58
Never use pure red + green together (colorblind conflict)
- Distinctive: line 59
Use filled symbols + different shapes for accessibility, not colour alone
- Distinctive: line 69
No chartjunk: remove top and right spines
- Distinctive: line 82
If user provides a CSV, Excel, or JSON data file:
- Distinctive: line 215
Use solid lines with markers.
- Very specific: line 218
Prefer horizontal bars for many categories.
- Very specific: line 219
Use plt.bar() with edgecolor='black', linewidth=0.5.
- Very specific: line 226
Use diverging colourmap (e.g., RdBu_r) for correlation.
- Distinctive: line 227
Always include colourbar with label and units.
- Very specific: line 230
Always overlay individual data points (stripplot or geom_jitter).
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
nature-figure
Purpose
Generate multi-panel scientific figures that meet Nature portfolio visual standards: correct typography, semantic colour palette, accessible design, and editable SVG output.
Trigger Conditions
Activate when user mentions:
- "画图" / "figure" / "plot" / "科研绘图"
- "Nature figure" / "publication figure" / "publication plot"
- "matplotlib" / "ggplot" / "seaborn"
- "配色" / "color palette" / "color scheme"
- Wants to improve or reformat an existing figure
Nature Figure Standards
Typography
- Font family: Arial or Helvetica (sans-serif, never Times New Roman in figures)
- Minimum font size in final print: 7 pt (axis labels, tick labels)
- Panel labels (a, b, c...): 8 pt bold, lowercase
- Figure title (if any): not embedded in figure — goes in legend
- All text must be editable (not rasterized)
Size & Resolution
| Format | Width | Resolution |
| Single column | 89 mm (3.5 in) | 300 DPI min |
| 1.5 column | 120 mm (4.7 in) | 300 DPI min |
| Double column | 183 mm (7.2 in) | 300 DPI min |
| Line art | any | 600 DPI |
| Final submission | PDF or TIFF | vector preferred |
Colour Palette (Nature-approved, colorblind-safe)
NATURE_COLORS = {
"blue": "#4878CF",
"red": "#D65F5F",
"green": "#6ACC65",
"orange": "#EE854A",
"purple": "#956CB4",
"teal": "#82C6E2",
"brown": "#D5BB67",
"gray": "#8C8C8C",
# Colorblind-safe primary pair:
"cb_blue": "#0072B2",
"cb_orange":"#E69F00",
}- Never use pure red + green together (colorblind conflict)
- Use filled symbols + different shapes for accessibility, not colour alone
- Grayscale must remain distinguishable
Panel Architecture
- Each panel makes one clear point
- Panel (a): overview / schematic / representative image
- Panels (b–d): quantitative evidence
- Final panel: comparison or generalizability
- Panels are labelled a, b, c (lowercase bold, top-left corner)
- White background; minimal gridlines (light gray, 0.5pt)
- No chartjunk: remove top and right spines
Statistical Annotations
- Error bars: always define in legend (mean ± s.d. or ± s.e.m.)
- Significance: *, **, ***, **** for p < 0.05, 0.01, 0.001, 0.0001; prefer exact p-values
- n must be stated (e.g., n = 5 independent experiments)
- Box plots: show median, IQR, whiskers to 1.5×IQR, individual points overlaid
Workflow
Step 0: Auto-figure from data file (fastest path)
If user provides a CSV, Excel, or JSON data file:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/auto_figure.py \
--input <data_file> \
--output ~/Downloads/figure_<date>.pdf \
--title "[figure title]" \
--xlabel "X axis label" \
--ylabel "Y axis label" \
--type [auto|line|bar|scatter|heatmap|box]The script auto-detects column types, chooses appropriate chart type, applies Nature style, and saves PDF + PNG.
Step 1: Gather requirements (if no data file yet)
Ask the user:
- What data do you have? (paste CSV, describe columns, or share values)
- How many panels? What does each panel show?
- Single/1.5/double column width?
- Python (matplotlib/seaborn) or R (ggplot2)?
- Any specific colour requirements or journal sub-style?
Step 2: Generate figure code
Python template (matplotlib):
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
import numpy as np
# --- Nature style settings ---
plt.rcParams.update({
'font.family': 'Arial',
'font.size': 8,
'axes.linewidth': 0.8,
'axes.spines.top': False,
'axes.spines.right': False,
'xtick.major.width': 0.8,
'ytick.major.width': 0.8,
'xtick.major.size': 3,
'ytick.major.size': 3,
'xtick.direction': 'out',
'ytick.direction': 'out',
'figure.dpi': 300,
'savefig.dpi': 300,
'savefig.bbox': 'tight',
'savefig.pad_inches': 0.05,
'pdf.fonttype': 42, # editable text in PDF
'ps.fonttype': 42,
})
COLORS = {
"blue": "#4878CF", "red": "#D65F5F", "green": "#6ACC65",
"orange": "#EE854A", "purple": "#956CB4", "teal": "#82C6E2",
"cb_blue": "#0072B2", "cb_orange": "#E69F00",
}
# --- Figure layout ---
fig = plt.figure(figsize=(7.2, 4.0)) # double column, adjust height
gs = gridspec.GridSpec(1, 3, figure=fig, wspace=0.4, hspace=0.4)
ax_a = fig.add_subplot(gs[0])
ax_b = fig.add_subplot(gs[1])
ax_c = fig.add_subplot(gs[2])
# --- Panel labels ---
for ax, label in zip([ax_a, ax_b, ax_c], ['a', 'b', 'c']):
ax.text(-0.15, 1.05, label, transform=ax.transAxes,
fontsize=8, fontweight='bold', va='top', ha='right')
# --- YOUR DATA GOES HERE ---
# ax_a: ...
# ax_b: ...
# ax_c: ...
plt.savefig('figure1.pdf', format='pdf')
plt.savefig('figure1.png', dpi=300)
print("Saved: figure1.pdf, figure1.png")R template (ggplot2):
library(ggplot2)
library(patchwork)
# Nature theme
theme_nature <- function() {
theme_classic(base_size = 8, base_family = "Arial") +
theme(
axis.line = element_line(linewidth = 0.5),
axis.ticks = element_line(linewidth = 0.5),
axis.ticks.length = unit(2, "pt"),
strip.background = element_blank(),
legend.key.size = unit(3, "mm"),
plot.margin = margin(2, 2, 2, 2, "mm")
)
}
nature_colors <- c(
blue = "#4878CF", red = "#D65F5F", green = "#6ACC65",
orange = "#EE854A", purple = "#956CB4", teal = "#82C6E2"
)
# --- YOUR PLOTS ---
# p1 <- ggplot(...) + theme_nature()
# p2 <- ggplot(...) + theme_nature()
# combined <- p1 | p2
# ggsave("figure1.pdf", combined, width = 183, height = 80, units = "mm", dpi = 300)Step 3: Validate
Before outputting, check:
- Font ≥ 7pt in all elements
- No top/right spines
- Colorblind-safe palette used
- Error bars defined
- Panel labels present (a, b, c lowercase bold)
- Resolution ≥ 300 DPI (600 for line art)
- Figure width matches column format
- PDF/SVG output for vector editability
Step 4: Figure legend
Generate the corresponding figure legend text:
- Bold "Figure X |" prefix
- Short title (one phrase)
- One sentence per panel
- Error bar definition
- n values and statistical test used
- Scale bar definition (for images)
Common Figure Types
Line plot (time series / trends)
Use solid lines with markers; different line styles + colours for groups.
Bar chart
Prefer horizontal bars for many categories; overlay individual data points.
Use plt.bar() with edgecolor='black', linewidth=0.5.
Scatter plot
Include regression line with 95% CI if showing correlation. State Pearson/Spearman r and p-value on plot.
Heatmap
Use diverging colourmap (e.g., RdBu_r) for correlation; sequential for intensity.
Always include colourbar with label and units.
Box/Violin plot
Always overlay individual data points (stripplot or geom_jitter).
State n per group.
Schematic / Mechanism diagram
Recommend using BioRender (biorender.com) or Inkscape for schematics. Export as SVG and embed in figure.
Output
Provide the user with:
- Complete, runnable Python or R code
- Instructions to save in the correct format (PDF + PNG)
- The figure legend text
- A checklist of what to verify before submission
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

