Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计提醒

paper-banana纸香蕉

Agent Skill

paper-banana 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

539

周安装

22

GitHub Stars

1

下载量

174
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:paper-banana(纸香蕉)
来源仓库:https://github.com/javidmardanov/paper-banana-skill
仓库路径:skills/paper-banana
安装命令:
npx skills add https://github.com/javidmardanov/paper-banana-skill --skill paper-banana
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/javidmardanov/paper-banana-skill --skill paper-banana

简介

paper-banana 用于处理 GitHub 仓库、Issue 和 Pull Request 等协作信息。

  • 适合在项目开发中跟踪代码变更、维护状态或协调团队事项。
  • 通过 GitHub 安装,使用 npx skills add 命令即可集成到宿主环境。
  • 使用前请确认仓库访问权限,避免触发意外的文件读写或网络请求。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

PaperBanana: Academic Illustration Pipeline

Automates publication-ready academic illustrations via 5 specialized agents, each implemented as a separate Gemini API call: 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 Gemini VLM/image APIs. 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: GOOGLE_API_KEY env var (used for VLM calls in retriever/planner/stylist/critic AND image generation in visualizer), Python 3.10+ with google-genai, matplotlib, seaborn, numpy, pillow.

Paper: *PaperBanana: Automating Academic Illustrations with Multi-Agent Systems* (arXiv:2601.23265, Google/PKU)


Step 1: Determine Output Mode

Decide which track to follow:

SignalMode
User provides raw data, table, CSV + visual intent (bar chart, scatter, etc.)PLOT MODE
User provides methodology text, description, or figure captionDIAGRAM MODE
User provides existing figure to improveMatch original type

Critical rule: PLOT MODE always generates Python code (never image generation for data visualizations). Code-based generation eliminates data hallucination errors that corrupt numerical accuracy in image-based approaches.


Step 2: Execute Pipeline

DIAGRAM MODE — Automated Pipeline

Primary entry point: Run the end-to-end orchestrator:

python scripts/orchestrate.py \
  --methodology-file methodology.txt \
  --caption "Figure 1: Overview of proposed framework" \
  --mode diagram \
  --output output/diagram.png

Or with inline text:

python scripts/orchestrate.py \
  --methodology "Our framework consists of three modules..." \
  --caption "Figure 1: System overview" \
  --mode diagram \
  --output output/diagram.png

The orchestrator chains all 5 agents automatically and handles the Critic's refinement loop (up to 3 iterations). Intermediate outputs are saved to output/work/ for inspection.

Pipeline Details

Read references/DIAGRAM-PROMPTS.md for the actual Gemini prompt templates used by each agent.

Phase 1: RETRIEVER (scripts/retriever.py) — Gemini VLM call

  • Classifies methodology into 1 of 4 categories from references/DIAGRAM-CATEGORIES.md
  • Selects 2 most relevant reference diagrams from the 13 curated examples in assets/references/
  • Identifies visual intent: Framework Overview, Pipeline/Flow, Detailed Module, Architecture Diagram

Phase 2: PLANNER (scripts/planner.py) — Multimodal Gemini VLM call

  • Sends the 2 selected reference images + methodology text to Gemini as a multimodal prompt
  • The VLM "sees" what good methodology diagrams look like (in-context learning from images)
  • Generates an extremely detailed textual description of the target diagram
  • Critical: Natural language only for all visual attributes. NEVER hex codes or pixel dimensions

Phase 3: STYLIST (scripts/stylist.py) — Gemini VLM call

  • Takes the Planner's description + full NeurIPS 2025 style guide
  • Applies domain-specific styling based on the category from Phase 1
  • Follows 5 critical rules: preserve aesthetics, intervene minimally, respect domain, enrich details, preserve content
  • Outputs the polished description only

Phase 4: VISUALIZER (scripts/generate_image.py) — Gemini Image API call

  • Uses gemini-3-pro-image-preview to generate the diagram image from the styled description
  • Prepends quality prefix (high-res, legible text, clean background, no watermarks)
  • Aspect ratio selected based on visual intent (16:9 for pipelines, 3:2 for modules)

Phase 5: CRITIC (scripts/critic.py) — Multimodal Gemini VLM call

  • Sends the generated image + methodology text to Gemini for multimodal evaluation
  • Scores on 4 dimensions (faithfulness, readability, conciseness, aesthetics)
  • If faithfulness < 7 OR readability < 7: generates revised description → loops to Phase 4
  • Maximum 3 refinement iterations

DIAGRAM MODE — Manual Execution

You can also run each agent individually for more control:

# Phase 1: Retriever
python scripts/retriever.py --methodology-file text.txt --output work/retriever.json

# Phase 2: Planner
python scripts/planner.py --methodology-file text.txt --caption "Figure 1: ..." \
  --references work/retriever.json --output work/planner.json

# Phase 3: Stylist
python scripts/stylist.py --description work/planner.json --output work/stylist.json

# Phase 4: Visualizer (extract styled_description from JSON, pass to generate_image.py)
python scripts/generate_image.py --prompt-file work/styled_desc.txt --output output/diagram.png

# Phase 5: Critic
python scripts/critic.py --image output/diagram.png --methodology-file text.txt \
  --description work/stylist.json --output work/critic.json

PLOT MODE

Read references/PLOT-PROMPTS.md for detailed agent prompts. Read references/PLOT-STYLE-GUIDE.md for aesthetic rules.

Plot mode uses Claude (or the host agent) for reasoning and code generation — no Gemini API calls needed for plot generation itself.

Phase 1: CATEGORIZE (Retriever)

Match data characteristics and visual intent:

Data TypePlot Types
Categorical comparisonBar chart, grouped bar, stacked bar
Continuous trendsLine chart, area chart
Correlation/distributionScatter plot, histogram, box plot, violin
Matrix/similarityHeatmap, confusion matrix
Multi-dimensionalRadar/spider chart
ProportionalPie/donut chart, treemap

Phase 2: PLAN (Planner)

Create a detailed specification that explicitly enumerates:

  • Every raw data point with exact coordinates/values
  • Axis ranges, labels, tick marks, scales (linear/log)
  • Color assignments for each series/category
  • Font sizes for title, axis labels, tick labels, legend
  • Line widths, marker sizes, marker shapes
  • Legend placement and formatting
  • Grid style (major/minor, dashed/solid)
  • Figure dimensions and DPI

Phase 3: STYLE (Stylist)

Read references/PLOT-STYLE-GUIDE.md for NeurIPS 2025 plot aesthetics.

Key styling rules:

  • White backgrounds only
  • Colorblind-friendly palettes (see assets/palettes/colorblind_safe.json)
  • Sans-serif fonts (Helvetica, Arial, or DejaVu Sans)
  • Markers on line charts for print readability
  • Inward-facing tick marks
  • Subtle grid lines (light gray, dashed)

Phase 4: VISUALIZE (Visualizer — Code Generation)

Generate complete, self-contained Python matplotlib/seaborn code. Use scripts/plot_generator.py as a reference implementation or run it directly with a JSON config:

python scripts/plot_generator.py --config plot_config.json --output figure.pdf

Code requirements:

  • Self-contained: all data defined inline, no external file dependencies
  • Apply .mplstyle from assets/matplotlib_styles/academic_default.mplstyle
  • Set OUTPUT_PATH variable for output file location
  • 300 DPI, bbox_inches='tight'
  • No plt.show() — save only
  • Support both PDF and PNG output

After generating the code, execute it to produce the plot image.

Phase 5: CRITIQUE (Critic)

Same rubric as diagram mode, plus plot-specific checks:

  • Data fidelity: Every data point correctly plotted
  • Axis accuracy: Ranges, labels, scales match specification
  • Layout: No overlapping labels, legends, or data points
  • Code correctness: Syntax valid, imports available, output saved

If code execution failed, analyze the error, simplify the approach, and regenerate.


Quick Start Examples

Diagram (automated): Run scripts/orchestrate.py with your methodology text file and caption.

Diagram (via agent): "Generate a methodology diagram for my transformer architecture. Here is the methodology section: [paste text]. Caption: Overview of our proposed multi-head attention framework."

Plot: "Create a bar chart comparing model performance. Data: {BERT: 92.3, GPT-4: 88.1, Claude: 95.7, Gemini: 91.2}. Intent: F1 score comparison across language models."

Improve: "Improve the aesthetics of this diagram: [paste existing description or attach current figure]"


File Reference

FilePurposeWhen to Read
scripts/orchestrate.pyEnd-to-end pipeline runnerDiagram mode primary entry point
scripts/retriever.pyVLM-based reference selectionPhase 1 (diagram mode)
scripts/planner.pyMultimodal description generationPhase 2 (diagram mode)
scripts/stylist.pyVLM-based style applicationPhase 3 (diagram mode)
scripts/generate_image.pyGemini Image API callPhase 4 (diagram mode)
scripts/critic.pyVLM-based image evaluationPhase 5 (diagram mode)
scripts/plot_generator.pyTemplate-based matplotlib generatorPhase 4 (plot mode)
scripts/validate_output.pyOutput validation and dependency checkPost-generation validation
references/DIAGRAM-PROMPTS.mdActual Gemini prompt templates for diagramsAll diagram phases
references/PLOT-PROMPTS.mdAgent prompts for plotsAll plot phases
references/DIAGRAM-STYLE-GUIDE.mdNeurIPS 2025 diagram aestheticsPhase 3 (Style)
references/PLOT-STYLE-GUIDE.mdNeurIPS 2025 plot aestheticsPhase 3 (Style)
references/EVALUATION-RUBRIC.mdCritic scoring criteria (4 dimensions)Phase 5 (Critique)
references/DIAGRAM-CATEGORIES.md4 diagram categories with keywordsPhase 1 (Categorize)
assets/references/index.json13 curated reference diagram metadataPhase 1 (Retriever)
assets/references/*.jpg13 curated reference diagram imagesPhase 2 (Planner multimodal input)
assets/palettes/*.jsonColor palette definitionsPhase 3 (Style)
assets/matplotlib_styles/*.mplstyleMatplotlib style sheetsPhase 4 (plot mode)

Environment Setup

# Required for all Gemini API calls (VLM reasoning + image generation)
export GOOGLE_API_KEY="your-api-key-here"

# Install dependencies
pip install google-genai matplotlib seaborn numpy pillow

Verify setup: python scripts/validate_output.py --check-deps

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.67%
按下载量换算66

Claude

31.11%
按下载量换算54

Cursor

17.7%
按下载量换算31

Gemini CLI

10.05%
按下载量换算17

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills