paperbanana: Skill for Claude Code

.claude/skills/generate-diagram/SKILL.md

generate-diagram is a skill for Claude Code from llmsresearch/paperbanana. It costs 0 tokens per session (232 once invoked), scanned A, original, MIT.

A command that turns methodology text from a file into a publication-quality diagram using PaperBanana, a diagram-generation tool.

In plain words
What is it for?
Use it to create diagrams of research methods, technical workflows, or other processes described in a text file, then present the generated figure.
Why use it?
It removes the need to draw a methodology diagram manually from written instructions. It also supports adding a caption to explain what the figure should communicate.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is llmsresearch/paperbanana's own configuration. It tells Claude Code how to work on paperbanana itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything paperbanana configures →

About the project

PaperBanana is an open-source tool that generates academic diagrams, statistical plots, and other research illustrations from text descriptions. Researchers can use it through a command-line interface, Python API, local web interface, or MCP server, while the catalogue add-ons support agent-driven use.

llmsresearch/paperbanana · 2,347 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to llmsresearch/paperbanana. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/llmsresearch/paperbanana/main/.claude/skills/generate-diagram/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/llmsresearch/paperbanana

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate-diagram

README.md
[![agentmods](https://agentmods.dev/badge/skills/llmsresearch/paperbanana/generate-diagram/github.svg)](https://agentmods.dev/skills/llmsresearch/paperbanana/generate-diagram)
Your own site
<a href="https://agentmods.dev/skills/llmsresearch/paperbanana/generate-diagram"><img src="https://agentmods.dev/badge/skills/llmsresearch/paperbanana/generate-diagram/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate-diagram

Your own site · 80×15
<a href="https://agentmods.dev/skills/llmsresearch/paperbanana/generate-diagram"><img src="https://agentmods.dev/badge/skills/llmsresearch/paperbanana/generate-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 232 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00232
Opus 5 $0.00000 $0.00116
Sonnet 5 $0.00000 $0.00046
Haiku 4.5 $0.00000 $0.00023

Measured 13d ago against content hash 60ec25f9aaa3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

generate-diagram scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/generate-diagram/SKILL.md · 36 lines

What it actually says

Generate Diagram

Generate a publication-quality methodology diagram from a text file using PaperBanana.

Instructions

  1. Read the file at $ARGUMENTS[0] to get the methodology text content.
  2. If $ARGUMENTS[1] is provided, use it as the figure caption. Otherwise, ask the user for a caption describing what the diagram should communicate.
  3. Call the MCP tool generate_diagram with:
    • source_context: the text content read from the file
    • caption: the figure caption
    • iterations: 3 (default)
  4. Present the generated diagram to the user.

CLI Fallback

If the MCP tool is not available, fall back to the CLI:

paperbanana generate --input <file> --caption "<caption>"

Example

/generate-diagram method.txt "Overview of our encoder-decoder architecture"
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 36 lines · 0 tokens per session scan A 60ec25f9aaa3

Subscribe to this mod's changes

generate-diagram is a skill published in the GitHub repository llmsresearch/paperbanana (2,347 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 232 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pydantic-ai

Build production-ready AI agents with PydanticAI — type-safe tool use, structured outputs, dependency injection, and multi-model support.

davila7/claude-code-templates · 32 tokens

ocx

Drive a running opencodex (ocx) proxy from the CLI — account pools, provider routing, model catalog, usage and cost attribution, request logs, access keys, storage cleanup, and the management API. Use when a task involves controlling or inspecting an opencodex proxy rather than editing the opencodex codebase.…

lidge-jun/opencodex · 119 tokens

free-llm-apis

Guide users through obtaining and configuring free API keys for LLM providers. Use when the user wants to set up a free LLM API, get a free API key, connect to a free model provider, configure an OpenAI-compatible endpoint at no cost, or asks about free tiers for AI models. Triggers on "free API key", "free LLM", "set…

mnfst/awesome-free-llm-apis · 116 tokens

neuron-test-engineer

Write tests for Neuron AI agents, RAG systems, workflows, and tools using the built-in testing utilities. Use this skill when the user mentions testing agents, writing unit tests, mocking AI providers, testing tool execution, verifying RAG retrieval, testing workflow behavior, or creating test cases for Neuron AI…

neuron-core/neuron-ai · 94 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

neuron-structured-output

Design and implement structured output classes for Neuron AI agents using SchemaProperty attributes and validation rules. Use this skill when the user mentions structured output, JSON schema extraction, data validation, output classes, DTOs for AI responses, extracting structured data from LLM, or configuring property…

neuron-core/neuron-ai · 104 tokens