Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

paper-illustration

Skill by wanshuiyin

Generates publication-quality AI illustrations for academic papers using Gemini image generation. Built for architecture diagrams and method figures with a Claude review loop.

  • Score 91
  • 20k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install paper-illustration

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/paper-illustration ~/.claude/skills/paper-illustration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install paper-illustration in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Paper Illustration is a skill for AI assistants that creates figures for academic papers. Claude first turns the user's request into a structured prompt. Gemini then refines the layout and checks style, and an image model renders the figure. Claude reviews the result against CVPR, ICLR and NeurIPS style rules and scores it from 1 to 10. If the score is below 9, the skill writes specific feedback and repeats the loop, up to 5 rounds.

The skill is aimed at researchers who need architecture diagrams, pipeline figures and method illustrations for papers. Output goes to figures/ai_generated/. An optional style reference can align caption length and figure density with another paper, but it does not copy its visual design.

Written from the project's SKILL.md and checked against it.

What it can do

  • Figure planningClaude parses the request and builds a detailed prompt with components, connections and data flow.
  • Layout refinementGemini optimizes component positioning, spacing and grouping in the layout description.
  • Style checkGemini checks color palette, arrow and font rules against conference style guidelines.
  • Image renderingRenders the final figure with the Gemini image model.
  • Iterative reviewClaude scores each image and loops back with specific feedback until it reaches 9 or more.
  • Optional style referenceAligns caption length and panel density with a reference paper when --style-ref is passed.

What you need

  • GEMINI_API_KEY environment variable
  • Python 3 for the optional style reference helper

Try asking

  • Generate an architecture diagram for my encoder-decoder model in the methods section
  • Draw a method illustration for my multi-stage pipeline with clear arrows
  • Create a paper illustration of the data flow in my system, CVPR style

Good to know

  • Not for statistical plots; use /paper-figure for those.
  • Requires a Gemini API key before it runs.
  • Refinement stops after 5 rounds even if the score is below 9.
  • Overleaf URLs and IDs are rejected as style reference sources.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/paper-illustration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(*)ReadWriteEditGrepGlobmcp__codex__codexmcp__codex__codex-replyWebSearch

  • SKILL.md32 KB

Alternatives to paper-illustration

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

paper-illustration: common questions

Where are the generated figures saved?

Images are written to figures/ai_generated/ in the working directory. The skill creates that folder if it does not exist.

Can it make statistical plots?

No. The source says statistical plots are out of scope and points to /paper-figure instead.

Does the style reference copy another paper's design?

No. The source says it only adjusts caption length and figure density, and never copies figure content or color palettes.

How do I install paper-illustration?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is paper-illustration free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is paper-illustration safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to paper-illustration?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

paper-illustration Install

Add to stack

Loading.