1---2name: evaluate-diagram3description: Evaluate Diagram4---56# Evaluate Diagram78Evaluate a generated diagram against a human reference using PaperBanana's VLM-as-Judge scoring.910## Instructions11121. `$ARGUMENTS[0]` is the path to the generated image.132. `$ARGUMENTS[1]` is the path to the human reference image.143. Ask the user for:15 - **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.16 - **Figure caption**: a description of what the diagram communicates.174. Call the MCP tool `evaluate_diagram` with:18 - `generated_path`: the generated image path19 - `reference_path`: the reference image path20 - `context`: the methodology text content21 - `caption`: the figure caption225. Present the evaluation scores to the user. Scores cover 4 dimensions: Faithfulness, Conciseness, Readability, and Aesthetics.2324## CLI Fallback2526If the MCP tool is not available, fall back to the CLI:2728```bash29paperbanana evaluate --generated <generated-img> --reference <reference-img> --context <context-file> --caption "<caption>"30```3132## Example3334```35/evaluate-diagram output.png reference.png36```
Run npx skillmds@latest add llmsresearch/evaluate-diagram in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Evaluate Diagram It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
llmsresearch (@llmsresearch) published this skill. Their other Agent Skills are listed on their SkillMD profile.