Skills

Paper Diagrams

Generates publication-quality academic diagrams from paper methodology text.

Install

npx skills add dwzhu-pku/PaperBanana --skill paperbanana -g -a claude-code -y
Repository
dwzhu-pku/PaperBanana7.5k
Category
Design
Updated
11d ago
License
MIT-0
Context cost
Lightabout 986 tokens
Runs scripts
Yes, review before use

What it does

Generate publication-quality academic diagrams from paper methodology text

PaperBanana

Generate publication-quality academic diagrams and pipeline figures from a paper's methodology section and figure caption. PaperBanana orchestrates a multi-agent pipeline (Retriever, Planner, Stylist, Visualizer, Critic) to produce camera-ready figures suitable for venues like NeurIPS, ICML, and ACL.

Environment Setup

cd <repo-root>
uv pip install -r requirements.txt

Set your API key via environment variable or in configs/model_config.yaml.

Option 1 (Recommended): OpenRouter API key, one key for both text reasoning and image generation:

export OPENROUTER_API_KEY="sk-or-v1-..."

Option 2: Google API key, direct access to Gemini API:

export GOOGLE_API_KEY="your-key-here"

If both keys are configured, OpenRouter is used by default.

Usage

python skill/run.py \
  --content "METHOD_TEXT" \
  --caption "FIGURE_CAPTION" \
  --task diagram \
  --output output.png

Parameters

Read the whole SKILL.md on GitHub

More in Design