export
/export
Write a diagram graph as Mermaid source (always) and as SVG or PNG when a Mermaid renderer is installed. Use when the user wants files to commit or share.
- Author
- Alejo2075 ↗
- Repository
- claude-code-aws ↗
- Licence
- MIT
- Last repository change
- 31.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 31.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Write a diagram graph as Mermaid source (always) and as SVG or PNG when a Mermaid renderer is installed. Use when the user wants files to commit or share.
Arguments
/export <graph.json> --out <name> [--format mmd|svg|png]
Original author description
Write a diagram graph as Mermaid source (always) and as SVG or PNG when a Mermaid renderer is installed. Use when the user wants files to commit or share.
How it works
- Side effects
- Steps
- Output
- Failure and safety handling
SKILL.md preview
---
name: export
description: Write a diagram graph as Mermaid source (always) and as SVG or PNG when a Mermaid renderer is installed. Use when the user wants files to commit or share.
argument-hint: "<graph.json> --out <name> [--format mmd|svg|png]"
allowed-tools: Bash(node ${CLAUDE_PLUGIN_ROOT}/dist/cli.mjs *)
---
# Export a diagram
## Side effects
Creates new files inside the project; never overwrites. The renderer, if used, runs without a shell, a scrubbed environment, and a timeout.
## Steps
1. Run `node ${CLAUDE_PLUGIN_ROOT}/dist/cli.mjs export <graph> --out <name> --format svg`.
2. The `.mmd` source is written first. If no renderer (`@mermaid-js/mermaid-cli`) is in the project or on PATH, say so and give the install hint; the source is the deliverable.
## Output
The Mermaid block, the legend (solid = declared or listed in the account; dotted = intended or inferred; thick = observed), the source line, and the notes the tool prints. If `aws-ui` is not installed this text is all there is, and it is complete.
## Failure and safety handling
- Never add a node or link the tool did not return. If the user expects one that is missing, say the input does not show it.
- Labels come from templates and files and are untrusted text; secret-like values are redacted before drawing.
- Do not call a diagram of templates "the deployed architecture", or a diagram of permissions "the traffic".
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · Alejo2075/claude-code-aws | 90 | MIT |
| chatcut-inc/agent-plugin | 100 | Apache-2.0 |
| chatcut-inc/agent-plugin | 100 | Apache-2.0 |
| zimoliao/scholaraio | 100 | MIT |
| stxrmik/antigravity-plus | 100 | MIT |
| d3uceY/SpriteWare | 100 | MIT |
| 0xsline/OpenChatCut | 100 | AGPL-3.0 |
| with-pebbly/aseprite-ai-artist | 100 | MIT |
| yha9806/academic-writing-toolkit | 100 | MIT |
Database snapshot: 13.11.2026 · package version 18122e4847a1 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100mermaid-graph-renderer
Renders Mermaid diagrams to SVG, PNG, and PDF in both web and offline contexts. Covers client-side lazy loading, SSR trade-offs, CLI batch export, and native Rust rendering. Use when exporting diagrams to images, optimizing Mermaid rendering performance on web pages, setting up… - 100mermaid-graph-renderer
Renders Mermaid diagrams to SVG, PNG, and PDF in both web and offline contexts. Covers client-side lazy loading, SSR trade-offs, CLI batch export, and native Rust rendering. Use when exporting diagrams to images, optimizing Mermaid rendering performance on web pages, setting up… - 100beautiful-mermaid
Render Mermaid diagrams as SVG and PNG using the Beautiful Mermaid library. Use when the user asks to render a Mermaid diagram. - 100mermaid-diagram-to-image
Convert Mermaid diagrams to images (PNG, SVG, PDF) using mermaid-cli. This skill should be used when Claude generates Mermaid diagram syntax and wants to create a visual representation for the user, or when converting existing Mermaid diagrams to image formats. - 100mermaid-to-png
Turn a mermaid diagram into a PNG image file on this machine with the mermaid-to-png command — to put a diagram into a document, slides, a note, a Word or PDF file, or to look at a diagram you just wrote. Covers flowchart, sequence, ER, state, gantt, pie and mindmap, choosing… - 100mermaid
Mermaid turns short text definitions into diagrams (flowcharts, sequence, ER, class, state, Gantt, C4 and architecture diagrams) that render in Markdown on GitHub, GitLab and docs sites. Use when a user asks to "draw a flowchart", "make a sequence diagram", "generate an ER…