paper-illustration
What it does
This skill generates academic illustrations using Gemini image generation, reviewed in a loop by Claude. It is for researchers who need method or architecture figures for a paper.
When to use it
- βWhen you need an architecture or method illustration for a paper.
- βWhen you want the image redrawn over several rounds after a strict review.
- βWhen you want an AI-drawn figure checked against your request before you use it.
Skill link
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/paper-illustration/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
βI want an AI-drawn architecture figure for my paper, checked and refined until it matches my description.β
5 new skills a week. 1 minute to read.
How it works
Claude writes the first prompt, Gemini optimizes the layout description and generates the image, and Claude reviews the result. The loop repeats until the figure matches the request.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Paper Illustration: Multi-Stage Claude-Supervised Figure Generation
Generate publication-quality illustrations using a multi-stage workflow with Claude as the STRICT supervisor/reviewer.
Core Design Philosophy
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MULTI-STAGE ITERATIVE WORKFLOW β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β User Request β
β β β
β βΌ β
β βββββββββββββββ β
β β Claude β ββββ Step 1: Parse request, create initial prompt β
β β (Planner) β β
β ββββββββ¬βββββββ β
β β β
β βΌ β
β βββββββββββββββ β
β β Gemini β ββββ Step 2: Optimize layout description β
β β (gemini-3-pro)β - Refine component positioning β
β β Layout β - Optimize spacing and grouping β
β ββββββββ¬βββββββ β
β β β
β βΌ β
β βββββββββββββββ β
β β Gemini β ββββ Step 3: CVPR/NeurIPS style verification β
β β (gemini-3-pro)β - Check color palette compliance β
β β Style β - Verify arrow and font standards β
β ββββββββ¬βββββββ β
β β β
β βΌ β
β βββββββββββββββ β
β β Paperbanana β ββββ Step 4: Render final image β
β β (gemini-3- β - High-quality image generation β
β β pro-image) β - Internal codename: Nano Banana Pro β
β ββββββββ¬βββββββ β
β β β
β βΌ β
β βββββββββββββββ β
β β Claude β ββββ Step 5: STRICT visual review + SCORE (1-10) β
β β (Reviewer) β - Verify EVERY arrow direction β
β β STRICT! β - Verify EVERY block content β
β ββββββββ¬βββββββ - Verify aesthetics & visual appeal β
β β β
β βΌ β
β Score β₯ 9? ββYESβββΊ Accept & Output β
β β β
β NO β
β β β
β βΌ β
β Generate SPECIFIC improvement feedback βββΊ Loop back to Step 2 β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Constants
- IMAGE_MODEL =
gemini-3-pro-image-previewβ Paperbanana (Nano Banana Pro) for image rendering - REASONING_MODEL =
gemini-3-pro-previewβ Gemini for layout optimization and style checking - MAX_ITERATIONS = 5 β Maximum refinement rounds
- TARGET_SCORE = 9 β Minimum acceptable score (1-10) β RAISED FOR QUALITY
- OUTPUT_DIR =
figures/ai_generated/β Output directory - API_KEY_ENV =
GEMINI_API_KEYβ Environment variable
Optional: Style refere
FAQ
Which image model does it use?
It uses Gemini image generation, with the model set in the skill.
Is the output guaranteed to be right?
No. The loop checks each draft, but you should still review the final figure yourself.
Is there a newer alternative?
Yes. The paper illustration image2 skill is a separate option that uses a Codex bridge.
Details
Original description by the author
Generate publication-quality AI illustrations for academic papers using Gemini image generation. Creates architecture diagrams, method illustrations with Claude-supervised iterative refinement loop. Use when user says \"ηζεΎθ‘¨\", \"η»ζΆζεΎ\", \"AIη»εΎ\", \"paper illustration\", \"generate diagram\", or needs visual figures for papers.
Popularity
- GitHub stars
- 18k
- Ranking position
- #10562
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
ablation-planner
18kHelps your agent plan ablation studies for a paper, choosing the tests reviewers are likely to ask for once the main results look good.
alphaxiv
18kLets your agent quickly read one research paper using AlphaXiv summaries, with full text or LaTeX source as backup, from an arXiv link or ID.
analyze-results
18kHelps your agent analyze machine learning experiment results, compare runs against a baseline, and turn the numbers into clear findings and next steps.
arxiv
18kLets your agent search arXiv for academic papers, read their details, and save PDFs to your library for a research topic.
Similar skills
gifgrep
394kLets your agent search GIF libraries, preview results, download a GIF, and pull out a still frame or a contact sheet of frames.
meme-maker
394kLets your agent pick a meme template, add your own captions, and create the meme as an SVG or PNG image.
ios-icon-gen
280kLets your agent generate icons for iOS apps. It uses Apple symbols or icons from other sources to create the correct files.