dwzhu-pku

PaperBanana

専門分野v0.1.0
作者:dwzhu-pku更新日 2026-05-11paperbanana@clawhub_dwzhu-pku/paperbanana
学術研究

AlphaMoatによると、2026-09時点でPaperBananaのダウンロード数は1,413、スター数は1で、AIスキル全体5,078件中4,824位、専門分野では465件中442位です。

インストール数
123
ダウンロード数
1413
スター数
1
総合順位
#4,824
全体の上位 95% · 専門分野の上位 96%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗3612841-
SkillHub ↗12314131—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

Retriever、Planner、Stylist、Visualizer、Critic による複数エージェントの生成フローを説明し、候補数、モデル、アスペクト比、出力パスを設定できます。実行時にはモデル提供元へリクエストし、候補を並列生成すると費用や時間に影響する可能性があります。ローカルの import とネットワークダウンロードを確認し、入力・出力パスを明示して、テスト時は候補数や批評回数を抑えてください。

資料公開日 2026-10-29

できること

  • 論文の方法フローを図示タスクにまとめる
  • 方法文、キャプション、比率、出力パスを計画する
  • 複数モデル候補生成の費用とパスリスクを評価する

使う場面

  • 論文に基づく学術図を依頼され、モデルサービス、費用、入力資料、出力先が確認されている場合

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

モデルを実行せずに、方法説明用の図の入力、キャプション、出力先を計画して。
PaperBanana のテスト前に確認する外部モデル呼び出し、ダウンロード、ファイルパスのリスクを列挙して。

月次の推移

ダウンロード数1413
46097214842026-03 · ダウンロード数 5312026-05 · ダウンロード数 8782026-07 · ダウンロード数 11212026-08 · ダウンロード数 12122026-09 · ダウンロード数 141326-0326-09
スター数1
0112026-03 · スター数 -2026-05 · スター数 12026-07 · スター数 12026-08 · スター数 12026-09 · スター数 126-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-091413—1
2026-081212+8.1%1
2026-071121—1
2026-05878—1
2026-03531—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.1 KB・ClawHub v0.1.0
---
name: paperbanana
description: Generate publication-quality academic diagrams from paper methodology text
license: MIT-0
dependencies:
  env:
    - OPENROUTER_API_KEY (recommended)
    - GOOGLE_API_KEY (alternative)
  runtime:
    - python3
すべて表示(全 103 行)
    - uv
---

# 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

```bash
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:
```bash
export OPENROUTER_API_KEY="sk-or-v1-..."
```

**Option 2: Google API key** — direct access to Gemini API:
```bash
export GOOGLE_API_KEY="your-key-here"
```

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

## Usage

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

## Parameters

| Parameter | Required | Default | Description |
|-----------|----------|---------|-------------|
| `--content` | Yes* | | Method section text to visualize |
| `--content-file` | Yes* | | Path to a file containing the method text (alternative to `--content`) |
| `--caption` | Yes | | Figure caption or visual intent |
| `--task` | No | `diagram` | Task type: `diagram` |
| `--output` | No | `output.png` | Output image file path |
| `--aspect-ratio` | No | `21:9` | Aspect ratio: `21:9`, `16:9`, or `3:2` |
| `--max-critic-rounds` | No | `3` | Maximum critic refinement iterations |
| `--num-candidates` | No | `10` | Number of parallel candidates to generate |
| `--retrieval-setting` | No | `auto` | Retrieval mode: `auto`, `manual`, `random`, or `none` |
| `--main-model-name` | No | `gemini-3.1-pro-preview` | Main model for VLM agents. Provider auto-detected from configured API key |
| `--image-gen-model-name` | No | `gemini-3.1-flash-image-preview` | Model for image generation. Also supports `gemini-3-pro-image-preview` |
| `--exp-mode` | No | `demo_full` | Pipeline: `demo_full` (with Stylist) or `demo_planner_critic` (without Stylist) |

*One of `--content` or `--content-file` is required.

When `--num-candidates` > 1, output files are named `<stem>_0.png`, `<stem>_1.png`, etc.

## Output

The absolute path of each saved image is printed to stdout, one per line.

## Examples

### Diagram

```bash
python skill/run.py \
  --content "We propose a transformer-based encoder-decoder architecture. The encoder consists of 12 self-attention layers with residual connections. The decoder uses cross-attention to attend to encoder outputs and generates the target sequence autoregressively." \
  --caption "Figure 1: Overview of the proposed transformer architecture" \
  --task diagram \
  --output architecture.png
```


## Important Notes

- **Runtime**: A single candidate typically takes 3-10 minutes depending on model and network conditions. With the default 10 candidates running in parallel, expect ~10-30 minutes total. Plan accordingly.
- **API calls**: Each candidate involves multiple LLM calls (Retriever + Planner + Stylist + Visualizer + up to 3 Critic rounds). Candidates run in parallel for efficiency.
- **Image generation**: The Visualizer agent calls an image generation model (Gemini Image) to render diagrams.

## About

PaperBanana is based on the **PaperVizAgent** framework, a reference-driven multi-agent system for automated academic illustration. It was developed as part of the research paper:

> **PaperBanana: Automating Academic Illustration for AI Scientists**
> Dawei Zhu, Rui Meng, Yale Song, Xiyu Wei, Sujian Li, Tomas Pfister, Jinsung Yoon
> arXiv:2601.23265

The framework introduces a collaborative team of five specialized agents — Retriever, Planner, Stylist, Visualizer, and Critic — to transform raw scientific content into publication-quality diagrams. Evaluation is conducted on the **PaperBananaBench** benchmark.

専門分野の人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。