Skip to content
Skillpedia
Images & icons18k Β· #10562

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.md

Copy 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

Use this skill to help me: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/paper-illustration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

Popularity

GitHub stars
18k
Ranking position
#10562
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills