academic-plotting
What it does
This skill creates figures for machine learning research papers, including architecture diagrams and data charts. It is for researchers preparing figures for a conference submission.
When to use it
- βWhen you need an architecture or pipeline diagram for a paper.
- βWhen you have experiment results and need a clean bar chart, line plot or heatmap.
- βWhen you want the figures styled to suit a conference paper.
Skill link
https://github.com/Orchestra-Research/AI-Research-SKILLs/blob/main/20-ml-paper-writing/academic-plotting/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 turn these ablation results into a clean grouped bar chart that works for my conference paper?β
5 new skills a week. 1 minute to read.
How it works
The agent chooses the right method: diagrams are generated with AI image tools from a description of the system, while data charts are drawn with a plotting library from your numbers, so they match the results exactly.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Academic Plotting for ML Papers
Generate publication-quality figures for ML/AI conference papers. Two distinct workflows:
- Diagram figures (architecture, system design, workflows, pipelines) β AI image generation via Gemini
- Data figures (line charts, bar charts, scatter plots, heatmaps, ablations) β matplotlib/seaborn
When to Use Which Workflow
| 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.
Step 0: Context Analysis & Extraction
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 |
Extraction Workflow
For diagrams (research context β architecture figure):
- Read the provided context β paper section, abstract, or description paragraph
- Identify visual entities β What are the main components/modules/stages?
- Look for: nouns that represent system parts, named modules, layers, stages
- Count them: if >8 top-level entities, consider grouping into sections
- Identify relationships β How do components connect?
- Look for: verbs describing data flow ("sends to", "queries", "feeds into")
- Classify: data flow (solid arrow), control flow (gray), error path (dashed red)
- Determine layout pattern:
- Sequential pipeline β left-to-right flow
- Layered architecture β horizontal bands stacked vertically
- Hub-and-spoke β central node with radiating connections
- Hierarchical β top-down tree
- Assign colors β One accent color per logical group/layer
- Write every label exactly β Extract exact terminology from the paper text
For data charts (results β figure):
- Read the provided data β table, paragraph with numbers, CSV, or JSON
- Identify dimensions:
- What is being compared? (methods, models, configurations) β categorical axis
- What is the metric? (accuracy, loss, latency, F1) β value axis
- Is there a time/step dimension? β line plot
- Are there multiple metrics? β multi-panel or grouped bars
- Choose chart type automatically using this priority:
- Has a step/time axis β line plot
- Comparing N methods on M benchmarks β grouped bar chart
- Single ranking β horizontal bar (leaderboard)
- Correlation between two continuous variables β scatter plot
- Square matrix of values β heatmap
- Proportional breakdown β stacked bar (avoid pie charts)
- Determine figure sizing β Single column vs full width based on data density
- Highlight "our method" β Identify which entry is the paper's contribution and give it a distinct color
Auto-Detection Examples
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
Workflow 1: Architecture & System Diagrams (AI Image Generation)
Us
FAQ
Which figures use diagrams and which use charts?
Boxes-and-arrows figures use AI image generation, while numerical charts use matplotlib or seaborn.
Can it work from my paper text?
Yes. Given a paper section or description, it extracts the components and relationships for a diagram.
What chart types are supported?
Bar, line, scatter, heatmap, confusion matrix, ablation and training-curve charts, among others.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 14k
- Ranking position
- #11169
- License
- MIT
- Updated
- 10/10/2026
Comments
- β¦
More skills from this repository
autoresearch
14kGuides your agent through a full AI research project, from literature review to experiments and writing, with a repeating cycle of testing and review.
prompt-guard
14kLets your agent screen text for prompt injection and jailbreak attempts before it reaches your AI app, using Meta's small classifier.
pytorch-fsdp2
14kShows your agent how to add PyTorch FSDP2 to a training script so large models are split across GPUs and saved correctly.
ml-training-recipes
14kGives your agent proven training recipes for neural networks, covering model choice, optimizers, learning rates and fixing loss spikes.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.