Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

paperbanana

БесплатноЗапускает вложенные скриптыНе проверен

Route academic-figure work into the lightest workable PaperBanana mode instead of jumping straight to a full multi-agent generation run. Use when the user…

akillnessот akillness★ 63 звезды на GitHub

Об этом скилле

paperbanana — routing-first academic illustration

Keyword: paperbanana · methodology diagram · statistical plot · figure evaluation · plan-then-refine

This is an unofficial community implementation of the PaperBanana paper (arXiv:2601.23265). Respect provider terms, API budgets, and each venue's figure/reuse policies.

PaperBanana turns text or a paper into publication-quality figures with a two-phase, multi-agent, plan-then-refine pipeline. It is most useful when you choose the smallest workable mode instead of always running the full generation loop:

  • render data-driven charts with plot (matplotlib code, no image-gen key) before spending image credits
  • fix an existing figure with polish or evaluate before regenerating from scratch
  • generate a single diagram with generate before reaching for batch/sweep/orchestrate
  • escalate iterations, candidates, and --optimize only on evidence, not by default
  • route out to a vector editor, TikZ, or a human designer when generative figures are the wrong tool

When to use this skill

  • The user wants a methodology/architecture diagram from a .txt, .md, or .pdf and you must pick the lightest generation path
  • The user has tabular results (CSV/JSON) and wants a chart — cheaper than a diagram because no image-gen provider is needed
  • The user already has a figure and wants it judged (evaluate) or improved (polish) rather than re-created
  • The user needs many figures (a manifest batch, a parameter sweep, or a whole-paper figure package)
  • The user wants PaperBanana exposed to an agent/IDE via the MCP server or Claude Code skills
  • The user keeps drifting toward hand-drawing every figure, hard-coding one provider, or maxing iterations/candidates and needs an honest route-out

Instructions

Step 1: Capture one intake packet before choosing a mode

Collect the minimum packet:

  • Artifact class: a methodology diagram, a statistical plot, an existing figure to fix/judge, many figures, or a full-paper package
  • Source: raw method text, a paper (.pdf/.md), a data file (CSV/JSON), or an existing image
  • Budget/keys: which provider key is available (VLM-only vs image-gen), and any USD cap
  • Quality need: quick draft vs auto-refine to critic satisfaction vs multi-candidate fan-out

Use this escalation ladder (smallest first):

  1. Data → chart? Use plot / plot-batch (VLM-generated matplotlib, no image-gen key)
  2. One diagram from text/PDF? Use generate
  3. Have a figure already? Use evaluate (judge) or polish (guided edit), not a fresh run
  4. Many diagrams/plots from a manifest? Use batch / plot-batch; sweep params with sweep
  5. A whole paper's figure set? Use orchestrate
  6. Generative figures are the wrong tool (exact vector art, trivial chart, brand-locked design)? Route out

Detailed packet examples and route-outs live in references/intake-and-route-outs.md.

Step 2: Install only the profile you need

Use a virtual environment unless the user explicitly wants a system install.

bash bash scripts/install.sh --profile plot # VLM-only: statistical plots bash scripts/install.sh --profile diagram # image-gen provider for diagrams bash scripts/install.sh --profile pdf # + PyMuPDF for PDF inputs bash scripts/install.sh --profile studio # + Gradio local web UI bash scripts/install.sh --profile mcp # MCP server surface bash scripts/install.sh --profile all # only when the full surface is truly needed

Then set exactly one provider key (OPENAI_API_KEY, GOOGLE_API_KEY, ATLASCLOUD_API_KEY, …). Provider selection and config live in references/providers-and-config.md.

Step 3: Understand the pipeline before turning knobs

Every diagram run is the same plan-then-refine loop, so tune stages instead of guessing flags:

  • Phase 0 — Input Optimization (--optimize, optional): Context Enricher structures raw method text; Caption Sharpener tightens the caption. Two parallel VLM calls.
  • Phase 1 — Linear Planning: Retriever picks reference examples → Planner writes a target description via in-context learning → Stylist applies venue aesthetics.
  • Phase 2 — Iterative Refinement: Visualizer renders an image → Critic revises the description; repeat for --iterations (default 3) or until satisfied with --auto.

Full agent-by-agent detail lives in references/pipeline-and-agents.md.

Step 4: Run the lightest mode that fits

bash

Cheapest: statistical plot from data (no image-gen key)

bash scripts/run.sh plot --data results.csv --intent "Bar chart of accuracy across benchmarks"

Single methodology diagram from text

bash scripts/run.sh generate --input method.txt --caption "Overview of our framework"

Add optimization + auto-refine ONLY when a plain run underdelivers

bash scripts/run.sh generate --input method.txt --caption "

Полный SKILL.md на GitHub

Установить paperbanana в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Edit
Glob
Grep
WebFetch

Вложенные файлы

SKILL.toonevals/evals.jsonreferences/evaluation-and-venues.mdreferences/intake-and-route-outs.mdreferences/modes-and-cli.mdreferences/pipeline-and-agents.mdreferences/providers-and-config.mdscripts/install.shscripts/run-mcp.shscripts/run.sh

FAQ

Что делает скилл paperbanana?

Route academic-figure work into the lightest workable PaperBanana mode instead of jumping straight to a full multi-agent generation run. Use when the user needs publication-quality methodology diagrams, statistical plots, figure evaluation, polishing an existing figure, batch/sweep generation, or a full-paper figure package from text or PDF. Even if the user does not say "paperbanana" — also triggers on: academic figure, methodology diagram, publication figure, generate diagram from paper, statistical plot from CSV, figure evaluation, polish figure, NeurIPS/ICML figure, arxiv illustration, plan-then-refine diagram pipeline.

Как установить скилл paperbanana?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл paperbanana запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить paperbanana с