/generate-diagram method.txt "Overview of our encoder-decoder architecture"
1---2name: generate-diagram3description: Generate Diagram4---56# Generate Diagram78Generate a publication-quality methodology diagram from a text file using PaperBanana.910## Instructions11121. Read the file at `$ARGUMENTS[0]` to get the methodology text content.132. If `$ARGUMENTS[1]` is provided, use it as the figure caption. Otherwise, ask the user for a caption describing what the diagram should communicate.143. Call the MCP tool `generate_diagram` with:15 - `source_context`: the text content read from the file16 - `caption`: the figure caption17 - `iterations`: 3 (default)184. Present the generated diagram to the user.1920## CLI Fallback2122If the MCP tool is not available, fall back to the CLI:2324```bash25paperbanana generate --input <file> --caption "<caption>"26```2728## Example2930```31/generate-diagram method.txt "Overview of our encoder-decoder architecture"32```
Run npx skillmds@latest add llmsresearch/generate-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.
Generate 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.