Download

slash command · Design & Frontend

Export Diagram

by cathrynlavery

Export a diagram-design HTML file to .svg, .png, and optionally .pdf next to the source

Calyban is a free desktop app. It checks Export Diagram for red flags before installing, lets you choose the agent and folder, and undoes it in one click.

Install Export Diagram manually

Prefer the terminal? This does the same thing as Calyban's install.

Claude Code

mkdir -p ~/.claude/commands
curl -fsSL https://raw.githubusercontent.com/cathrynlavery/diagram-design/b228c5d77794a84150fca41b22940bb316b1398d/commands/export-diagram.md -o ~/.claude/commands/export-diagram.md

Codex

mkdir -p ~/.codex/prompts
curl -fsSL https://raw.githubusercontent.com/cathrynlavery/diagram-design/b228c5d77794a84150fca41b22940bb316b1398d/commands/export-diagram.md -o ~/.codex/prompts/export-diagram.md

Start a new Claude Code & Codex session afterwards so it picks up the change.

Similar slash commands

All slash commands →

Guides

Listed in the public Calyban catalog. Export Diagram is made by cathrynlavery, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.