nature-figure
What it does
It guides your agent to build and fix scientific charts for journal papers. It is for researchers who need clean, submission-ready figures.
When to use it
- ✓When you need a multi-panel figure made in Python or R for a manuscript.
- ✓When you want an existing figure revised or checked for submission readiness.
- ✓When you want a graphical abstract or mechanism diagram drawn with an AI image tool.
Skill link
https://github.com/Yuan1z0825/nature-skills/blob/main/skills/nature-figure/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you make a three-panel figure from my results table that is ready for a journal submission?”
5 new skills a week. 1 minute to read.
How it works
The agent writes plotting code in Python or R, renders the figure, and checks it for submission readiness. For AI-made schematics, it follows a separate workflow that includes a human review step.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Nature Figure Making — Router
Routing protocol
For a new task, load the core and matching resources below. Reuse already loaded guidance on follow-ups; load more only when the task needs it.
0. Check for graphical-abstract and AI-schematic routes
For every graphical-abstract planning, generation, revision, or audit task that uses AI, read references/ai-graphical-abstract-workflow.md first. It owns the message/audience brief, composition and palette workflow, policy gate, human scientific review, disclosure boundary, and provenance requirements. A Nature Careers article is practitioner advice, not submission clearance; verify the current official policy for the exact target journal.
If the request is planning or auditing only, do not ask for Python or R unless the user also asks to render or revise a data-driven figure.
If the user explicitly asks to generate a manuscript schematic, graphical abstract, mechanism diagram, concept illustration, or paper schematic with OpenRouter, GPT Image 2, an image-generation API, or similar wording, do not ask "Python or R?". This is a non-plotting AI-schematic route.
For this route:
- Read manifest.yaml and the
always_loadfiles. - Read references/ai-graphical-abstract-workflow.md.
- Read references/openrouter-image-generation.md.
- Use scripts/generate_openrouter_schematic.py when the user wants a real API call or a reproducible payload.
- Treat output as a draft schematic / graphical abstract, not as a quantitative data panel. Do not invent experimental values, author logos, institutional marks, or unsupported mechanisms. Keep internal usefulness separate from submission eligibility.
If the user wants a hand-built, editable vector schematic (architecture, pipeline, agent or model block diagram, or mechanism flow) rather than an AI-generated image, do not ask "Python or R?". Read references/vector-schematic-workflow.md and references/vector-schematic-style-rules.md, confirm the brief with the user before drawing, and run scripts/audit_svg_schematic.py on the SVG before delivery. This route never plots data.
Only continue to the Python/R backend gate for plotting, charting, data visualization, or manuscript figure assembly tasks that are not explicit OpenRouter AI image-generation requests.
1. Load the manifest and the core layer
Read manifest.yaml. It declares the backend axis, the allowed values, and the file paths each value maps to.
Also read every file listed under always_load (static/core/contract.md and static/core/stance.md). These hold the figure contract, the backend gate, the missing-runtime rule, the privacy rule, and the default operating stance that apply to every figure job.
2. Resolve the plotting backend
Backend selection applies only to rendering or editing plotting code. Reuse a choice already established in the same task and its follow-ups; do not ask again merely because a new message omits the language. Read-only figure review and backend-independent data inspection may proceed without this choice. If the backend remains unresolved, retain the one-time Python/R question and pause only dependent plotting steps. Explicit approval requirements and backend exclusivity remain in force.
Resolve the plotting backend from the current task before consulting the saved default. Decide the backend value in this order:
- If the current request explicitly chooses Python or R, use that backend and save it with
scripts/nature_figure_backend.py set pythonorscripts/nature_figure_backend.py set r. - If the request provides a clearly language-specific input file/workflow, use that backend and save it.
- Otherwise reuse a Python/R choice already established in this task. If none exists, run
scripts/nature_figure_backend.py getand use a returnedpythonorrpreference. - If neither a task choice nor a saved preference exists, ask exactly one concise question — Python or R? I will remember this as your default. — and pause only dependent plotting steps. After the user answers, save the answer before proceeding.
python— matplotlib / seaborn.r— ggplot2 / patchwork / ComplexHeatmap.
Do not
FAQ
Does it make interactive dashboards?
No. The skill says it is not for interactive dashboards.
Can it make an AI graphical abstract?
Yes, if you ask for one. The skill has a separate route for AI-made schematics that requires scientific review.
Does it analyze statistics?
No. It is for making figures, not for statistics-only analysis.
Details
Original description by the author
Create, revise, audit, and export manuscript scientific figures in Python or R. Use for 论文配图、科研绘图、多面板图 and submission-ready plots, or explicitly requested AI-generated graphical abstracts and mechanism schematics. Not for interactive dashboards, data cleaning, or statistics-only analysis.
repo: Yuan1z0825/nature-skills
Popularity
- GitHub stars
- 52k
- Ranking position
- #3402
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
nature-academic-search
52kLets your agent search academic literature across several sources, verify citations, and build PubMed-style search strategies.
nature-citation
52kGives your agent a way to find and check Nature-family papers that back up the claims in your manuscript, and export them to a reference manager.
nature-data
52kGuides your agent to draft or check the Data and Code Availability statements journals require, and plan where to share datasets.
nature-downloader
52kTeaches your agent to fetch full-text research papers lawfully, through open access, library access, or publisher routes.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.