paper-banana

paper-banana is a skill for Claude Code, Codex from javidmardanov/paper-banana-skill. It costs 146 tokens per session (4,061 once invoked), scanned A, original, MIT.

A pipeline for creating academic diagrams and data-based plots through several specialised review stages. It uses Gemini for diagram work and Python plotting libraries for charts.

In plain words
What is it for?
Use it to create research diagrams from methodology descriptions or executable matplotlib and seaborn plots from supplied data.
Why use it?
It provides a defined process for selecting references, planning visuals, rendering them, reviewing them, and refining the result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create research diagrams from methodology descriptions or executable matplotlib and seaborn plots from supplied data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/javidmardanov/paper-banana-skill/paper-banana
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add javidmardanov/paper-banana-skill --skill paper-banana
Clone the repo
git clone --depth 1 https://github.com/javidmardanov/paper-banana-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paper-banana

README.md
[![agentmods](https://agentmods.dev/badge/skills/javidmardanov/paper-banana-skill/paper-banana/github.svg)](https://agentmods.dev/skills/javidmardanov/paper-banana-skill/paper-banana)
Your own site
<a href="https://agentmods.dev/skills/javidmardanov/paper-banana-skill/paper-banana"><img src="https://agentmods.dev/badge/skills/javidmardanov/paper-banana-skill/paper-banana/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for paper-banana

Your own site · 80×15
<a href="https://agentmods.dev/skills/javidmardanov/paper-banana-skill/paper-banana"><img src="https://agentmods.dev/badge/skills/javidmardanov/paper-banana-skill/paper-banana.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,061 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00146 $0.04061
Opus 5 $0.00073 $0.02031
Sonnet 5 $0.00029 $0.00812
Haiku 4.5 $0.00015 $0.00406

Measured 8d ago against content hash f273730f4c87, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

paper-banana scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 10 executable files (scripts/common.py, scripts/critic.py, scripts/generate_image.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/paper-banana/SKILL.md · 301 lines

How it starts

The opening of the file, as written. The whole thing — 301 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PaperBanana: Academic Illustration Pipeline

Automates publication-ready academic illustrations via 5 specialized agents, each a separate call to the configured VLM or image model (Gemini by default): Retriever (categorize & select references) -> Planner (multimodal description) -> Stylist (polish) -> Visualizer (render) -> Critic (evaluate & refine).

Two output modes:

  • DIAGRAM MODE: Each agent is a Python script calling the configured VLM / image model. Run scripts/orchestrate.py for end-to-end execution.
  • PLOT MODE: Statistical plots generated as executable Python matplotlib/seaborn code (code-based to eliminate data hallucination).

Requirements: Python 3.10+ with google-genai>=2, matplotlib, seaborn, numpy, pillow, and an API key for the provider in use (default Gemini: GOOGLE_API_KEY or GEMINI_API_KEY). Optional: openai (for openai/... and openrouter/... models), anthropic, pypdf (PDF input).

Models: named provider/model; unprefixed names are inferred. Defaults are gemini-3.5-flash (Retriever/Planner/Stylist/Critic) and gemini-3-pro-image (Visualizer, "Nano Banana Pro"). Override with PAPERBANANA_VLM_MODEL / PAPERBANANA_IMAGE_MODEL or the orchestrator's --vlm-model / --image-model flags.

Provider Key Reasoning Image Examples
gemini (default) GOOGLE_API_KEY yes yes gemini-3.5-flash, gemini-3.1-flash-lite, gemini-3-pro-image, gemini-3.1-flash-image
openai OPENAI_API_KEY yes yes openai/gpt-5.5, openai/gpt-5.4-mini, openai/gpt-image-2, openai/gpt-image-1.5
anthropic ANTHROPIC_API_KEY yes no anthropic/claude-opus-5, anthropic/claude-sonnet-5
openrouter OPENROUTER_API_KEY yes yes openrouter/google/gemini-3.5-flash, openrouter/google/gemini-3-pro-image

If the user names a provider or model, pass it via --vlm-model / --image-model. If a run fails with a missing-key or model error, run python scripts/validate_output.py --check-api and report which key or model is the problem.

Paper: PaperBanana: Automating Academic Illustration for AI Scientists (arXiv:2601.23265, Google/PKU). Official code: https://github.com/dwzhu-pku/PaperBanana


Read the full file on GitHub · 301 lines

Files

What ships with it

36 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed · +55 lines · +37 tokens per session f273730f4c87
  2. 12d ago First seen · 246 lines · 109 tokens per session scan A 86f63acd366a

Subscribe to this mod's changes

paper-banana is a skill published in the GitHub repository javidmardanov/paper-banana-skill (3 stars, last pushed 6d ago), licensed MIT. It adds 146 tokens to every session and 4,061 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

academic-research

Nested swiss-knife reference for academic literature work — find papers, fetch full-text PDFs, trace citations, write LaTeX manuscripts. First action for any "get me this paper" request: python3 /scripts/fetchpaper.py — walks arXiv → Unpaywall → Europe PMC → CORE → in-house publisher-page extraction…

Lingtai-AI/lingtai · 180 tokens

social-physics-filter

Unified boundary enforcement, interpersonal diagnostic, and relational audit engine. Absorbs 40 psychology + 2 social protocols and all relationship case studies.

winstonkoh87/Athena-Public · 34 tokens

arxiv-mcp-server

Use when finding, comparing, reading, or monitoring arXiv papers, including requests for abstracts, citation graphs, original LaTeX, section-level technical details, or literature reviews.

blazickjp/arxiv-mcp-server · 43 tokens

scientific-writing

Core skill for the deep research and writing tool. Write scientific manuscripts in full paragraphs (never bullet points). Use two-stage process with (1) section outlines with key points using research-lookup then (2) convert to flowing prose. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting…

LeonChaoX/qinyan-academic-skills · 87 tokens

distribution-physics

Analyzes market dynamics and go-to-market strategies using "Distribution First" architecture.

winstonkoh87/Athena-Public · 20 tokens

venue-templates

Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing…

LeonChaoX/qinyan-academic-skills · 97 tokens