Agent skill · creative production · zechenzhangagi

academic-plotting

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.

Why this skill is useful

Adds specific workflows and commands for generating publication-quality figures tailored for ML research that the AI wouldn't reliably generate on its own.

What it needs

Requires google-genai, matplotlib, numpy, seaborn installed locally. About 11k tokens when loaded. Last updated 2026-06-16. 11,472 stars on the source repository.

What this skill does

Academic Plotting for ML Papers 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 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): 1. Read the provided context — paper section, abstract, or description paragraph 2. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills zechenzhangagi/academic-plotting

View the source on GitHub

Browse the @skills marketplace