paper-illustration

Generate publication-quality academic paper figures using Gemini image models with iterative Claude review.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/Lingjie-wang/autoRL --skill paper-illustration-lingjie-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-illustration
Source: https://github.com/Lingjie-wang/autoRL/tree/main/Auto-claude-code-research-in-sleep/skills/paper-illustration
Command: npx skills add https://github.com/Lingjie-wang/autoRL --skill paper-illustration-lingjie-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating architecture diagrams and method illustrations that meet CVPR/NeurIPS visual standards is time-consuming, and AI-generated figures often contain wrong arrow directions, missing labels, or unprofessional styling that requires many manual correction rounds. ## Core Features & Use Cases - Multi-Stage Generation Pipeline: Claude plans the figure, Gemini (gemini-3-pro) optimizes layout and verifies style compliance, then Paperbanana (gemini-3-pro-image-preview) renders the final image. - Strict Iterative Review Loop: Claude visually inspects every generated figure against a detailed checklist (arrow directions, block content, labels, visual appeal), scores it 1-10, and refines until the score reaches 9 or the 5-iteration limit. - Optional Style Reference: Pass a reference paper (TeX, PDF, arXiv ID, or URL) via --style-ref to align caption length and figure density conventions without copying visual content. - Use Case: A researcher needs a model architecture diagram for a CVPR submission; the skill generates a color-coded, print-friendly figure with thick labeled arrows and outputs a ready-to-use LaTeX snippet. ## Quick Start Ask the assistant to generate an architecture diagram of your model pipeline for a CVPR paper, describing the components and data flow you want shown.

Frequently Asked Questions about paper-illustration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an architecture diagram for a research paper with AI?

Describe your model's components and data flow, and the skill builds a detailed prompt, optimizes layout with gemini-3-pro, renders the image with gemini-3-pro-image-preview, and iterates until the figure passes a strict quality review. Output is saved to figures/ai_generated/ with a LaTeX snippet.

What API key do I need for Gemini image generation?

You need a GEMINI_API_KEY environment variable set before running the skill. Obtain a key from Google AI Studio at aistudio.google.com/app/apikey and export it in your shell.

Can I match the figure style of a specific reference paper?

Yes, pass --style-ref with a local TeX directory, PDF, arXiv ID, or URL. The helper extracts structural conventions like caption length and figure density, but visual content and colors still come from your own prompt.

What types of figures can this skill generate?

It handles architecture diagrams, pipeline figures, method illustrations, conceptual diagrams, comparison figures, and taxonomy trees. It is not designed for statistical plots or photo-realistic images.

Why does the skill reject figures with wrong arrow directions?

Arrow correctness is treated as non-negotiable because incorrect data flow arrows make a paper figure misleading. Any wrong arrow direction caps the review score at 6, triggering an automatic refinement iteration with specific fix instructions.

What happens if the figure never reaches the target score?

After five refinement iterations, the skill stops and presents the best version produced. You can then choose to accept it or continue with additional manual guidance.