generate-diagram

Installation
SKILL.md

Generate Diagram

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

Inputs

  • Required: $ARGUMENTS[0] — path to the methodology text file
  • Optional: $ARGUMENTS[1] — figure caption (prompted if not provided)

Scope Constraints

  • Read ONLY the user-specified input file and ~/Desktop/PaperBanana/ contents
  • Do NOT read, write, or reference home directory dotfiles (~/.ssh, ~/.env, etc.)
  • Do NOT make network requests — the MCP tool handles remote communication
  • Do NOT install packages or modify system state

Input Sanitization

Before using $ARGUMENTS[0] in file operations:

  • Reject paths containing ../, null bytes, or shell metacharacters (; | & $ `)
  • Reject absolute paths to sensitive directories (/etc/, ~/.ssh/, ~/.aws/, ~/.gnupg/)
Related skills
Installs
2
GitHub Stars
4
First Seen
Mar 10, 2026