FigGenie skill

A skill that draws paper figures as vectors: architecture, mechanism and overview figures exported to SVG, PDF and PPTX

  • 341 ★ on the repository
  • Last commit
  • MIT
Skill

Extended access

Why this level

  • Scripts launch headless Chromium and write SVG, PDF and PPTX files to the working folder
  • Installation needs Python packages and Chromium through `pip` and `playwright`, which run code from external registries
All reasons and checks

sleepy-avacado/figgenie-paper-diagram-skill

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/figgenie

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Scripts launch headless Chromium and write SVG, PDF and PPTX files to the working folder
  • Installation needs Python packages and Chromium through `pip` and `playwright`, which run code from external registries

This is third-party code. Review the repository files before installing.

What it does

FigGenie draws illustrations for systems and AI papers the way top venues draw them. The agent hand-builds the SVG: it writes a brief from your material and waits for confirmation, then builds a spec and a plan, draws the figure and runs a loop of render, lint, look and fix. The output is an SVG with embedded fonts, a PDF cut to the figure size for LaTeX, a PNG preview and a caption draft. The skill separates two kinds of figures. Architecture figures use 20 layout templates, and mechanism figures come in five families: comparison, evolution, logic, walkthrough and component anatomy. For AI papers it handles Figure 1 in eight kinds, drawn the way the sub-field draws them. The rules come from a corpus of 16,105 figures from OSDI, NSDI, SOSP, ASPLOS, ICLR, ICML, NeurIPS, CVPR, ACL and AAAI. A figure targets a printed column width of about 240 points and keeps labels readable. TeX formulas, Chinese labels and a library of 3,851 icons are supported. On request the agent builds a PPTX in which each block stays a separate shape with live text. The skill does not build data charts.

Who it is for. Authors of systems and AI papers who need an architecture or method figure without many hours in Illustrator or PowerPoint.

Good fit when

  • A paragraph from the method section has to become an overview Figure 1 for an AI conference submission
  • You need a diagram of one component: a numbered walkthrough, a comparison of two approaches or a before and after state
  • The figure must stay editable in PowerPoint, so a PPTX with separate shapes is needed
  • A finished figure should be critiqued against venue conventions and redrawn

Not a fit when

  • You need data charts: the skill draws diagrams and does not build result plots
  • The figure is for something other than a paper, such as a product presentation: the rules target conference papers
  • The machine has no Python 3 or Chromium: without them checking and rendering will not run
  • You need an interactive editor: the README lists it as a future feature

Example request

Draw an architecture overview from section 3 of my paper: a control level and a data level with the request flow. Show the brief first

Limitations

  • It needs Python 3 and headless Chromium: `pip install lxml pillow playwright fonttools` and `playwright install chromium`.
  • TeX formulas need Node.js 18 or newer, PPTX needs the `python-pptx` package, and native PowerPoint equations need the `mathml2omml.xsl` file from Office.
  • The agent draws the SVG itself and the scripts only measure, check and show the result, so quality depends on the model.
  • The corpus figures belong to their authors and come from papers under CC BY 4.0. The repository author takes removal requests.
  • The plugin is version 0.1.0 and the interactive editor is only planned.

How to disable. In Claude Code remove the plugin with `/plugin uninstall figgenie@figgenie`. For the symlink install, delete the `~/.agents/skills/figgenie-paper-diagram` link and the repository clone. The figures you produced stay in your folders.

FAQ

How do I install FigGenie in Claude Code?

Run `/plugin marketplace add Sleepy-Avacado/FigGenie-paper-diagram-skill`, then `/plugin install figgenie@figgenie`. The README dependencies (`lxml`, `pillow`, `playwright`, `fonttools` and Chromium) are installed separately.

What files does it produce?

An SVG with embedded fonts and named elements, a PDF cut to the figure size, a PNG preview and a caption draft. An editable PowerPoint is prepared on request.

Is this image generation by a model?

No. The agent draws vector graphics, so you can open them in Illustrator or PowerPoint and keep editing. The check measures every box in a headless browser.

Does it handle formulas and Chinese text?

Yes, TeX formulas are drawn as vectors and labels in Chinese and other CJK languages are supported. Formulas need Node.js 18 or newer.

Can I install it in Codex?

Yes. Clone the repository and create a link: `ln -s "$PWD/FigGenie-paper-diagram-skill/skills/figgenie-paper-diagram" ~/.agents/skills/figgenie-paper-diagram`. Older Codex releases read `~/.codex/skills`.

Discussion

No questions or reviews yet.

Skills

Skill for publication figures: matplotlib charts for papers in one house style, with vector and raster export from sample scripts.

SkillMinimal access11.2KRepository stars

Three skills for paper figures: fig-analyze reads material, fig-draw picks a style and renders, fig-pptx builds an editable PPT.

SkillMinimal access188Repository stars

A skill that turns a research paper into detailed English prompts for image generators to produce top-conference-quality figures

SkillExtended access2.9KRepository stars

A skill that prepares and audits figures for Elsevier-style papers: size, fonts, lines, resolution and export from Python and R

SkillMinimal access89Repository stars
Editors’ pick

A skill that draws editorial diagrams as standalone HTML and SVG files: architecture, flowcharts, ER, funnels and about forty more types

SkillExtended access66.8KRepository stars

A skill that draws 45 types of animated diagrams from a short JSON spec and saves them as HTML, SVG, PNG, GIF and MP4

SkillExtended access936Repository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialRepository starsMain difference
FigGenie (this card)no341
Academic Figure Skillno585draws academic figures without a rated figure corpus, a linter check or PPTX export
schematic-figureno191creates general schematics not tied to venue conventions

README in short

The README shows example architecture and mechanism figures with SVG, PDF and PPTX links, explains which 16,105 figures the rules come from and describes the drawing workflow. It continues with a quick start, requirements, a feature table, PowerPoint export, a roadmap and credits to the authors of the corpus.

README badge

Original SKILL.md

---
name: figgenie-paper-diagram
description: >
  Draw publication-quality paper figures as SVG the way top venues draw them. Systems papers (OSDI, NSDI, SOSP,
  ASPLOS): architecture / overview figures distilled from 727 human-rated figures, and **mechanism figures** — how
  one part of a system works: a walkthrough with numbered steps, before/after or step-by-step frames, a state machine
  or decision flow, alternatives side by side, the anatomy of one component or data structure, a worked example with
  real values ("架构图", "系统总览图", "画一张 overview 图", "论文插图", "机制图", "原理图", "示意图", "画一张 X 是怎么工作的图",
  "状态机 / 流程图", "before/after 对比图", "算例图") — distilled from 986 rated mechanism figures. AI papers (ICLR, ICML,
  NeurIPS, CVPR, ACL, AAAI): the Figure 1 / teaser / overview figure — a stage pipeline, a model's anatomy, a
  side-by-side contrast, a worked walkthrough on real samples, a concept schematic, a benchmark or dataset overview,
  an agent interaction, a contribution mosaic ("AI 顶会图", "Figure 1", "teaser 图", "方法总览图", "模型结构图", "框架图",
  "benchmark 总览"), distilled from 3,274 labelled Figure 1s, 1,158 user ratings, 336 semantic records, 3,210 exemplars
  and a 998-part library. Workflow: intake → a natural-language brief the user confirms → figure spec → exemplars the
  user picks (AI family) → drawing plan → hand-drawn SVG that follows corpus layouts, palettes, visual encodings and a
  parts library → render / lint / look-and-fix loop → SVG + caption draft, then iterate on feedback. Use whenever the
  user wants such a figure for a paper or talk, asks how one should be laid out, coloured or annotated, wants an
  existing figure critiqued against the venue's conventions ("把这张图重画/改风格"), or asks for a named paper style
  ("Charon 风格"). Vector TeX formulas when the figure needs the paper's symbols; an editable PowerPoint deck on
  request ("转成可编辑的 PPT"). Not for data plots or charts.
---

# figgenie-paper-diagram (FigGenie-Skill) — architecture, mechanism and AI-venue figures the way top papers draw them

You draw the SVG yourself. The scripts do not lay out for you; they measure text, render, lint and show you the
result so you can fix it. Everything is in **pt at print size**: a single-column figure is ≈ 240 pt wide, a
double-column one ≈ 504 pt (an AI-venue figure spans its venue's text width, 396–504 pt), labels 6.5–7 pt, strokes
≈ 0.5–0.6 pt. Read the corpus numbers, then draw like the exemplars, not like a slide.

**Reference, not recipe.** The corpus numbers, the templates, the exemplars and the parts library exist to strengthen
a layout you derive from the figure's own content — what it must make the reader see — never to replace that
derivation. When the material asks for something the references do not cover, draw it, and say so in the plan.

**Two families, two kinds.** `meta.family` says which corpus the figure follows: **systems** (the default: OSDI, NSDI,
SOSP, ASPLOS) or **ai** (ICLR, ICML, NeurIPS, CVPR, ACL, AAAI; `references/ai/`). `meta.kind` says what it shows:
**architecture** (the whole system; 20 layout templates in the systems family) or **mechanism** (how one part works).
Decide both in the brief. The steps below are written for a systems architecture figure; what a mechanism figure and
what an AI-venue figure do differently each get one section after the workflow — menus with frequencies, not rulebooks.

## Workflow (gates in bold)

Work in a folder per figure: `brief.md`, `spec.json`, `plan.md`, `fig.svg`, and the outputs of `check.py`.

1. **Intake → brief.** Read what the user gave (paper sections, notes, an old figure, chat). Write the brief
   (`references/brief-template.md`): what the figure is, every component with new / existing / external tags and its

Report a problem