nature-figure · franklee16 — Claude Code skill: what it does, how to install
nature-figure structures high-impact publication figure design using Python or R backends.
no license ★ 240 updated 2026-09-18
npx skills add franklee16/academic-research-skills --skill nature-figure -a claude-codeWhat nature-figure does
This workflow forces the coding agent to approach scientific illustration as an argument rather than pure decoration. Before generating plot scripts, Claude Code establishes a figure contract: it identifies the primary claim, verifies that every planned panel adds distinct evidence, and sets target dimensions alongside editable vector text rules for SVG, PDF, or 600 DPI TIFF files.
The framework enforces a hard backend gate. Unless the user explicitly names the environment upfront, execution halts on a single question: “Python or R?”. Cross-rendering between environments is banned; the assistant will not draft quick previews in R if Python packages are missing, choosing instead to halt and report the missing runtime.
Supported libraries include matplotlib and seaborn on the Python track, plus ggplot2, patchwork, and ComplexHeatmap on the R track. The setup focuses strictly on paper figures and explicitly excludes web dashboards or design-tool infographics.
What it helps with
- construct multi-panel publication figures defending a central paper thesis
- configure journal-ready SVG and PDF outputs with unoutlined editable fonts
- audit evidence logic across scientific plot panels prior to manuscript submission
Example prompts for the agent
- Build a multi-panel figure for a Nature paper using Python and seaborn
- Prepare a genomic heatmap layout in R using ComplexHeatmap and patchwork
- Audit my plot export parameters to ensure 600 DPI TIFF and editable SVG text
How to install nature-figure
1Skills CLI (Vercel)
npx skills add franklee16/academic-research-skills --skill nature-figure -a claude-code2Manually: put the files in place
~/.claude/skills/nature-figure/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/nature-figure/
1Skills CLI (Vercel)
npx skills add franklee16/academic-research-skills --skill nature-figure -a codex2Manually: put the files in place
.agents/skills/nature-figure/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add franklee16/academic-research-skills --skill nature-figure -a cursor2Manually: put the files in place
.cursor/skills/nature-figure/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install franklee16/academic-research-skills nature-skills-main/nature-figure/SKILL.md2Manually: put the files in place
.github/skills/nature-figure/SKILL.md1Skills CLI (Vercel)
npx skills add franklee16/academic-research-skills --skill nature-figure -a gemini-cli2Platform CLI
gemini skills install https://github.com/franklee16/academic-research-skills --path nature-skills-main/nature-figureManually: put the files in place
.devin/skills/nature-figure/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about nature-figure
How to install nature-figure in Claude Code?
Run the terminal command npx skills add franklee16/academic-research-skills --skill nature-figure -a claude-code.
What does nature-figure do?
It applies strict journal-grade workflows to create, revise, and verify scientific plots in Python or R.
Can it render a preview in Python if R packages are missing?
No, fallback cross-rendering is prohibited; the chosen language must handle every preview, visual render, and final export.
Similar skills
All skills for Science and research →nature-figure by other authors comes first.