Rechercher

PythonReactSEOPDF
OpenClaw

paperbanana

Generate publication-quality academic diagrams from paper methodology text

dwzhu-pku0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install dwzhu-pku/paperbanana

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

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

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...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/dwzhu-pku/paperbanana
Version
—
Commit
5eb8225a00fd59f14dc38c770df2dd63dfe48b9b
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# 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`...

Skills associés

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.