Task Router Skill
Task Router
Generate publication-quality academic diagrams from paper methodology text
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install dwzhu-pku/paperbanana打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
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.
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.
python skill/run.py \
--content "METHOD_TEXT" \
--caption "FIGURE_CAPTION" \
--task diagram \
--output output.png
| 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... |
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# 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`...
Task Router
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,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.