paper-figure-craft
Skill7 starsChanged 2 months agoApache-2.0View on GitHub
Design, render, and quantitatively audit publication-grade scientific and ML conference figures (NeurIPS, ICML, ICLR, Nature) via TikZ, HTML+SVG, or Matplotlib. 绘制与审计顶会论文图表。Do NOT use for paper prose drafting (-> paper-write), literature search (-> paper_search), or auto-tracing model code into a layer diagram (-> nn-svg-diagram).
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- latex-typesetSkill
- paper-writeSkill
- research-gateSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Delete redundant gray wire labels (input injection, output scaling, parallel from f) and repetitive step or shape tags ((k=1), C/2 pairs, …
- Very specific: line 21
Use templates/mpl_nature_style.py.
- Very specific: line 23
Check each arrow endpoint, percentage and ratio against source JSON and manuscript tables.
- Very specific: line 24
Run scripts/audit_figure_taste.py <img.png> --source <src> --kind <diagram|plot> and inspect every PNG at final size.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Publication figures
- Art Director vs. Graphics Worker: The lead (main) model acts as Art Director—owning visual narrative, panel hierarchy, palette, exact symbols, and final visual PNG sign-off (stepping in directly for bespoke Fig. 1 design whenever needed). Offload Matplotlib/TikZ/SVG coding,
RESULTS.jsonbinding, and coordinate/overlap iteration to a graphics worker viascripts/dispatch_gpt.py --skill paper-figure-craft --verify-cmd "python skills/paper-figure-craft/scripts/audit_figure_taste.py ..."so the worker passes the taste gate before returning rendered PNGs. - Render architecture diagrams with
scripts/render_tikz.py(sourcesanspro,newtxmath). Export SVG and 360 DPI PNG. Use#000000structural ink and ≤2 accents. - Give Fig. 1 one focal point visible in three seconds. Highlight the core feedback loop with one
#D55E00arrow. Use ≤12 labels, ≤1 short equation and asame weightscallout for shared predictors.
Multi-panel anti-clutter
- Give each panel one job. Use clean, equal-sized blocks in the overview. Move nested sub-blocks and equations to the corresponding zoomed panels.
- Enlarge core primitives until readable at final print size. Remove micro-text, bottom formula lines, domain superscripts and qualifiers such as
\in C^{m\times g}and(zero-DC). - Delete redundant gray wire labels (
input injection,output scaling,parallel from f) and repetitive step or shape tags ((k=1),C/2 pairs, verticalConv 1x1). - Match symbols one-to-one across figure, caption and main text. Check whether each depicted operator is
\phi_{1,1}or\phi_{\beta,\gamma}and use its exact form in all three places.
Plots and acceptance
- Use
templates/mpl_nature_style.py. Export PNG and SVG with black ticks, labels and 0.55 pt axes, no grid, bold lowercase panel letters, 1.0–1.3 pt curves, CI ribbons at α=0.10 and direct line-end labels. Keep baselines#666666and Ours#007257across figures. - Set
set_aspect("equal", adjustable="box")for physical 2D trajectories. Use dot or dumbbell plots for log-scale comparisons. - Check each arrow endpoint, percentage and ratio against source JSON and manuscript tables. Verify the condition as well as the value (
+0.231atT=8). - Run
scripts/audit_figure_taste.py <img.png> --source <src> --kind <diagram|plot>and inspect every PNG at final size. Require ≥85/100 for ACCEPT or ≥90/100 for ORAL under the nine-axis rubric.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

