nanoresearch-experimen…
Generate a Python code skeleton from an experiment blueprint
Generates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to generate architecture diagrams via Gemini. Given experiment results or data, auto-selects chart type and generates
$ npx -y skills add OpenRaiser/NanoResearch --skill academic-plotting --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/academic-plottingContext preview
The summary Claude sees to decide when to auto-load this skill.
Generates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to generate architecture diagrams via Gemini. Given experiment results or data, auto-selects chart type and generates
name: academic-plotting description: Generates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to generate architecture diagrams via Gemini. Given experiment results or data, auto-selects chart type and generates data-driven figures via matplotlib/seaborn. Use when creating any figure for a conference paper. version: 1.0.0 author: Orchestra Research license: MIT tags: [Academic Writing, Visualization, Matplotlib, Seaborn, Plotting, Figures, Diagrams, NeurIPS, ICML, ICLR, LaTeX] dependencies: [matplotlib>=3.8.0, seaborn>=0.13.0, numpy, google-genai>=1.0.0]
Generate publication-quality figures for ML/AI conference papers. Two distinct workflows:
1. **Diagram figures** (architecture, system design, workflows, pipelines) — AI image generation via Gemini 2. **Data figures** (line charts, bar charts, scatter plots, heatmaps, ablations) — matplotlib/seaborn
| Figure Type | Tool | Why | |-------------|------|-----| | Architecture / system diagram | Gemini (Workflow 1) | Complex spatial layouts with boxes, arrows, labels | | Workflow / pipeline / lifecycle | Gemini (Workflow 1) | Multi-step processes with connections | | Bar chart, line plot, scatter | matplotlib (Workflow 2) | Precise numerical data, reproducible | | Heatmap, confusion matrix | matplotlib/seaborn (Workflow 2) | Structured grid data | | Ablation table as chart | matplotlib (Workflow 2) | Grouped bars or line comparisons | | Pie / donut chart | matplotlib (Workflow 2) | Proportional data (use sparingly in ML papers) | | Training curves | matplotlib (Workflow 2) | Loss/accuracy over steps/epochs |
**Rule of thumb**: If the figure has numerical axes, use matplotlib. If the figure has boxes and arrows, use Gemini.
---
The user will typically provide one of these inputs — not a ready-made specification:
| Input Type | Example | What to Extract | |-----------|---------|-----------------| | Full paper / section draft | "Here's our method section..." | System components, their relationships, data flow | | Description paragraph | "Our system has three layers that..." | Key entities, hierarchy, connections | | Raw results / data table | "MMLU: 85.2, HumanEval: 72.1..." | Metrics, methods, comparison structure | | CSV / JSON data | Experiment log files | Variables, trends, grouping dimensions | | Vague request | "Make a figure for the overview" | Read surrounding paper context to infer content |
**For diagrams** (research context → architecture figure):
1. **Read the provided context** — paper section, abstract, or description paragraph 2. **Identify visual entities** — What are the main components/modules/stages?
3. **Identify relationships** — How do components connect?
4. **Determine layout pattern**:
5. **Assign colors** — One accent color per logical group/layer 6. **Write every label exactly** — Extract exact terminology from the paper text
**For data charts** (results → figure):
1. **Read the provided data** — table, paragraph with numbers, CSV, or JSON 2. **Identify dimensions**:
3. **Choose chart type** automatically using this priority:
4. **Determine figure sizing** — Single column vs full width based on data density 5. **Highlight "our method"** — Identify which entry is the paper's contribution and give it a distinct color
**Context → Diagram**: "Our system has a Planner, Executor, and Verifier. Planner sends plans to Executor, Executor returns results to Verifier, Verifier feeds back to Planner on failure." → 3 entities, cycle layout, dashed feedback arrow → **Workflow 1 (Gemini)**
**Data → Chart**: "GPT-4: MMLU 86.4, HumanEval 67.0. Ours: 88.1, 71.2. Llama-3: 79.3, 62.1." → 3 methods × 2 benchmarks → **Workflow 2 (grouped bar)**, highlight "Ours" in coral
---
Use Gemini 3 Pro Image Preview to generate diagrams. **Choose a visual style first** — this is the single biggest factor in whether the figure looks professional or generic.
Pick one style per paper (all figures should be consistent):
Warm, approachable, memorable. Ideal for overview figures and system introductions. Looks like a whiteboard sketch refined by a designer.
VISUAL STYLE — HAND-DRAWN SKETCH: - Slightly irregular, hand-drawn line quality — lines wobble gently, not perfectly straight - Rounded, soft shapes with visible pen strokes (like drawn with a thick felt-tip marker) - Warm off-white background (#FAFAF7), NOT pure white - Fill colors are soft watercolor-like washes: muted blue (#D6E4F0), soft peach (#F5DEB3), light sage (#D4E6D4), pale
端到端自主 AI 科研引擎 — 从研究想法到完整论文,全程自动化 快速开始 · 效果展示 · 流水线 · Claude Code · 飞书机器人 🔬 NanoResearch 真正运行计算实验——它不仅生成代码,还能将代码提交到 GPU 集群执行训练,收集真实实验结果,生成论文配图,最终输出一篇有实验数据支撑的完整 LaTeX 论文。论文中的每一个数据、表格、图表都来自实际运行的实验结果,而非 LLM 编造。
Generate a Python code skeleton from an experiment blueprint
Search academic literature and generate research hypotheses
Produce an experiment blueprint from a research hypothesis
Draft a LaTeX research paper from all previous stage outputs
Orchestrates end-to-end autonomous AI research projects using a two-loop architecture. The inner loop runs rapid experiment iterations with clear optimization…
Simplest distributed training API. 4 lines to add distributed support to any PyTorch script. Unified API for DeepSpeed/FSDP/Megatron/DDP. Automatic device…