Agent skill
generate-diagram
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/generate-diagram
SKILL.md
Generate Diagram
Generate a publication-quality methodology diagram from a text file using PaperBanana.
Instructions
- Read the file at
$ARGUMENTS[0]to get the methodology text content. - If
$ARGUMENTS[1]is provided, use it as the figure caption. Otherwise, ask the user for a caption describing what the diagram should communicate. - Call the MCP tool
generate_diagramwith:source_context: the text content read from the filecaption: the figure captioniterations: 3 (default)
- 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"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?