From excalibrain
Export an Excalidraw canvas or region to PNG or SVG. Trigger on: export this, export as png, export as svg, export the diagram, save as image.
How this skill is triggered — by the user, by Claude, or both
Slash command
/excalibrain:exportThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Export an Excalidraw canvas (or a region of one) to PNG or SVG.
Export an Excalidraw canvas (or a region of one) to PNG or SVG.
.excalibrain.json sidecar in the project and read its canvas field..excalidraw file in the current directory or docs/diagrams/.| Context | Default format |
|---|---|
| User says "png" or "image" | PNG |
| User says "svg" or "vector" | SVG |
| Embedding in markdown or docs | PNG |
| For web usage | SVG |
| No preference stated | PNG |
node ${CLAUDE_PLUGIN_ROOT}/tools/export.js <canvas.excalidraw> --format <png|svg> --output <output-path>
Output path rules:
.png or .svg extensiondocs/diagrams/auth-flow.excalidraw -> docs/diagrams/auth-flow.pngWhen the --region flag is supported:
node ${CLAUDE_PLUGIN_ROOT}/tools/export.js <canvas.excalidraw> --format png --region "Section Name" --output <output-path>
Region can be:
x,y,w,hUntil --region is implemented, export the full canvas.
Return a markdown image embed so the user can see the result inline:

Read the exported image with the Read tool to visually verify it rendered correctly before returning.
| File | When to read |
|---|---|
references/color-palette.md | Only if re-rendering with adjusted colors |
references/layout-rules.md | Only if adjusting layout before export |
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub dev-eloper1/excalibrain