/ Каталог / Песочница / paperbanana-skill
● Сообщество PlutoLei ⚡ Сразу

paperbanana-skill

автор PlutoLei · PlutoLei/paperbanana-skill

Generate publication-quality academic diagrams — architecture figures, training curves, system schematics — from prompts, PaperBanana-style.

A Claude Code skill wrapping the PaperBanana workflow for academic figures. Instead of fighting TikZ or Inkscape, describe the figure; get publishable SVG/PDF output with the visual grammar papers expect (clean typography, consistent arrows, no rainbow colors).

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

paperbanana-skill.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "paperbanana-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PlutoLei/paperbanana-skill",
        "~/.claude/skills/paperbanana-skill"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "paperbanana-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PlutoLei/paperbanana-skill",
        "~/.claude/skills/paperbanana-skill"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "paperbanana-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PlutoLei/paperbanana-skill",
        "~/.claude/skills/paperbanana-skill"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "paperbanana-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PlutoLei/paperbanana-skill",
        "~/.claude/skills/paperbanana-skill"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "paperbanana-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PlutoLei/paperbanana-skill",
        "~/.claude/skills/paperbanana-skill"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "paperbanana-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/PlutoLei/paperbanana-skill",
          "~/.claude/skills/paperbanana-skill"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add paperbanana-skill -- git clone https://github.com/PlutoLei/paperbanana-skill ~/.claude/skills/paperbanana-skill

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: paperbanana-skill

Draw your model architecture for a conference paper

👤 ML researchers, grad students mid-paper ⏱ ~30 min intermediate

Когда использовать: Deadline in 5 days, you still don't have a clean architecture figure.

Предварительные требования
  • Skill installed — git clone https://github.com/PlutoLei/paperbanana-skill ~/.claude/skills/paperbanana-skill
Поток
  1. Describe the model
    Use paperbanana-skill. Architecture figure: input → tokenizer → transformer stack (6 layers) → classifier head. Use the skill's default paper style.✓ Скопировано
    → SVG with clean boxes, arrows, consistent typography
  2. Tweak
    Label the transformer block internals — attention + FFN.✓ Скопировано
    → Updated figure with sub-block detail
  3. Export for LaTeX
    Export as PDF sized for a two-column paper.✓ Скопировано
    → PDF with correct aspect ratio

Итог: A reviewer-worthy figure without a week of Inkscape.

Подводные камни
  • Figure over-decorated — Prefer restraint; one accent color, black arrows, lots of whitespace
Сочетать с: filesystem

Turn training logs into a publication-ready plot

👤 ML researchers with wandb/tensorboard exports ⏱ ~20 min beginner

Когда использовать: You have CSVs of training metrics and need a figure for the paper.

Поток
  1. Feed CSV
    Use paperbanana-skill. Plot loss and accuracy curves from training.csv in two-panel layout.✓ Скопировано
    → Two-panel figure with clean axes
  2. Add baselines
    Overlay the baseline model's curves (baseline.csv) as dashed.✓ Скопировано
    → Overlay added with clear legend

Итог: A plot that fits the paper's aesthetic.

Keep all figures in a paper visually consistent

👤 Authors with 6+ figures drifting in style ⏱ ~45 min intermediate

Когда использовать: You look at the paper and realize each figure has a different font.

Поток
  1. Define the style
    Use paperbanana-skill. Create a shared style: 10pt sans-serif, #1f77b4 primary, black stroke 0.8pt.✓ Скопировано
    → Style file saved
  2. Apply to all figures
    Regenerate figures 1-6 using this style.✓ Скопировано
    → Consistent batch output

Итог: Figures that look like they belong in the same paper.

Сочетать с: filesystem

Комбинации

Сочетайте с другими MCP — эффект x10

paperbanana-skill + filesystem

Organize figures in the paper's /figures directory

Save all figures under paper/figures/ with source.svg + out.pdf per figure.✓ Скопировано
paperbanana-skill + mermaid-skill

Use Mermaid for casual diagrams, PaperBanana for publication quality

Sketch in Mermaid for discussion; produce with PaperBanana for camera-ready.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
architecture_diagram description System figures 0
plot_curves data file, metrics Training/eval metrics 0
apply_style style file, figures Cross-figure consistency 0

Стоимость и лимиты

Во что обходится

Квота API
None
Токенов на вызов
Moderate
Деньги
Free
Совет
Lock the style once; apply across figures to avoid re-deciding.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: None
Исходящий трафик: None from skill

Устранение неполадок

Частые ошибки и исправления

Exported PDF has wrong font in LaTeX

Embed fonts or use standard PDF font families; check paperbanana's export settings

SVG renders differently in browser vs LaTeX

Stick to PDF for LaTeX; SVG for web/slides

Альтернативы

paperbanana-skill в сравнении

АльтернативаКогда использоватьКомпромисс
TikZ / PGFPlotsYou want full LaTeX integration and are comfortable with TikZSteep learning curve
mermaid-skillCasual docs, not publicationNot publication-quality aesthetic

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills