PaperBanana-CN: Skill for Claude Code

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

evaluate-diagram is a skill for Claude Code from mituan-ai/PaperBanana-CN. It costs 0 tokens per session (313 once invoked), scanned A, a copy of evaluate-diagram, MIT.

A diagram-checking skill that compares a generated image with a human reference, using the methodology and figure caption as context.

In plain words
What is it for?
Use it to assess diagrams on faithfulness, conciseness, readability, and aesthetics, then show the evaluation scores.
Why use it?
It helps identify whether a generated diagram communicates the intended information and matches the reference in clarity and appearance.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is mituan-ai/PaperBanana-CN's own configuration. It tells Claude Code how to work on PaperBanana-CN 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-CN configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mituan-ai/PaperBanana-CN. 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/mituan-ai/PaperBanana-CN/main/.claude/skills/evaluate-diagram/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mituan-ai/PaperBanana-CN

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 evaluate-diagram

README.md
[![agentmods](https://agentmods.dev/badge/skills/mituan-ai/paperbanana-cn/evaluate-diagram/github.svg)](https://agentmods.dev/skills/mituan-ai/paperbanana-cn/evaluate-diagram)
Your own site
<a href="https://agentmods.dev/skills/mituan-ai/paperbanana-cn/evaluate-diagram"><img src="https://agentmods.dev/badge/skills/mituan-ai/paperbanana-cn/evaluate-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 evaluate-diagram

Your own site · 80×15
<a href="https://agentmods.dev/skills/mituan-ai/paperbanana-cn/evaluate-diagram"><img src="https://agentmods.dev/badge/skills/mituan-ai/paperbanana-cn/evaluate-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 313 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.
Origin 92% copy Near-identical to another mod 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.00313
Opus 5 $0.00000 $0.00156
Sonnet 5 $0.00000 $0.00063
Haiku 4.5 $0.00000 $0.00031

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

Security

Grade A, and why

evaluate-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 12d 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

This is a copy

92% identical to evaluate-diagram — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/evaluate-diagram/SKILL.md · 40 lines

What it actually says

Evaluate Diagram

Evaluate a generated diagram against a human reference using PaperBanana's VLM-as-Judge scoring.

Instructions

  1. $ARGUMENTS[0] is the path to the generated image.
  2. $ARGUMENTS[1] is the path to the human reference image.
  3. Ask the user for:
    • Source context: the methodology text (or a file path to read it from). If the user provides a file path, read that file to get the text.
    • Figure caption: a description of what the diagram communicates.
  4. Call the MCP tool evaluate_diagram with:
    • generated_path: the generated image path
    • reference_path: the reference image path
    • context: the methodology text content
    • caption: the figure caption
  5. Present the evaluation scores to the user. Scores cover 4 dimensions: Faithfulness, Conciseness, Readability, and Aesthetics.

CLI Fallback

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

paperbanana-cn evaluate --generated <generated-img> --reference <reference-img> --context <context-file> --caption "<caption>"

Example

/evaluate-diagram output.png reference.png
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. 12d ago First seen · 40 lines · 0 tokens per session scan A 8c87c47aa32d

Subscribe to this mod's changes

evaluate-diagram is a skill published in the GitHub repository mituan-ai/PaperBanana-CN (79 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 313 tokens. A static security scan graded it A with 0 findings. It is 92% identical to evaluate-diagram, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

ip-as-logo

Generate extremely simple, cute, personified square character images with rounded heavy forms, two purposeful character colors, one solid background color, and a dominant lower-corner composition. Use when creating an animal, creature, robot, ghost, plant, object, or other character image, including when the agent…

s1dashu/ip-as-logo-skill · 78 tokens

ima2-uiux

Design direction discovery and UX judgment for ima2 users. Use for UI/UX direction and design judgment — vague visual briefs, onboarding, empty/error/loading states, layout vocabulary, typography breaks, favicons, logos, and brand identity choices. Pairs with ima2-front: this skill decides the design direction, then…

lidge-jun/ima2-gen · 118 tokens

visio-image-rebuilder

Rebuild or restyle editable Microsoft Visio diagrams from reference images and existing .vsdx files, then export deliverables as .vsdx, PNG, SVG, PDF, or PPTX. Use when the user asks Codex to open Visio, recreate a diagram from a PNG/JPG/screenshot/reference image, match a scientific model figure, update…

pengjunchi0/codex-visio-paper-figure-skill · 124 tokens

xiaobei-skill-rebuild-image-in-powerpoint

Use when a user wants Codex to directly operate PowerPoint and reconstruct an entire reference image as editable PowerPoint objects while preserving its full layout, labels, connectors, and visual relationships. Do not use for paper-to-deck generation or VBA-only output.

xiao24bei/xiaobei-skill · 62 tokens

oil-visual

A visual guide for creating bitmap images in a consistent oil-painting and manga-ink style. It supports either complete explanatory images with labels or transparent character illustrations for use in another layout.

oil-oil/oil-visual · 80 tokens

signal-geometry

Create Signal Geometry abstract illustrations and posters from concepts or briefs. Use when the user asks for sparse geometric visuals, editorial posters, spatial systems, or prompt-only image recipes.

CaliCastle/skills · 38 tokens