diagram-to-image

Render Mermaid diagrams to PNG/SVG for sharing.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "diagram-to-image" with this command: npx skills add cklxx/elephant.ai/cklxx-elephant-ai-diagram-to-image

diagram-to-image

Render Mermaid code into image files.

Requirements

  • mmdc (Mermaid CLI) installed and in PATH.
  • Install command: npm install -g @mermaid-js/mermaid-cli

Constraints

  • action=render only.
  • Input field is code (Mermaid source).
  • Supported output formats: png (default), svg.
  • Render timeout: 30s.
  • Default output path: /tmp/diagram_<ts>.<format>.

Usage

python3 skills/diagram-to-image/run.py render --code 'graph LR
A[Client] --> B[API]
B --> C[(DB)]' --format png --theme default --output /tmp/diagram_arch.png

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

soul-self-evolution

No summary provided by upstream source.

Repository SourceNeeds Review
General

social-trends

No summary provided by upstream source.

Repository SourceNeeds Review
General

ppt-deck

No summary provided by upstream source.

Repository SourceNeeds Review
General

video-production

No summary provided by upstream source.

Repository SourceNeeds Review