搜索

PythonReactSEOPDF
OpenClaw

paperbanana

Generate publication-quality academic diagrams from paper methodology text

dwzhu-pku0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install dwzhu-pku/paperbanana

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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

来源信息

Source
github
Repository
openclaw/skills
Path
skills/dwzhu-pku/paperbanana
Version
—
Commit
5eb8225a00fd59f14dc38c770df2dd63dfe48b9b
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

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

相关技能

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.