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.
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-illustrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/paper-illustration ~/.gemini/antigravity-cli/skills/paper-illustrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
