pretty-mermaid-skills

An AI agent skill that turns Mermaid diagram code into styled SVG, PNG or terminal ASCII output. It works locally without a browser and offers several themes and diagram types.

Share on XLicense: MIT

Overview

Pretty Mermaid is a skill for AI coding agents such as Claude Code, Cursor, Codex and Gemini CLI. It takes Mermaid diagram source and renders it locally as a styled SVG, a PNG for sharing, or ASCII and Unicode text for the terminal. It needs no browser, Chromium, Puppeteer or DOM. You install it with the skills CLI and then ask your agent to draw diagrams, or run its batch renderer over many files.

Key features

  • Outputs SVG, PNG and terminal ASCII from one Mermaid source
  • 15 built-in themes plus custom colors
  • Flowchart, sequence, state, class, ER and XY chart diagrams
  • Batch parallel rendering from the command line
  • Renders locally without a browser

Best for

Developers who let an AI agent produce diagrams for docs or terminal output and want nice-looking results without installing a headless browser.

Upstream
imxv/Pretty-mermaid-skills
Fork on GitHub
Guo-astro/pretty-mermaid-skills
Upstream stars
1.5k
Category
AI agents and LLM tools
Language
JavaScript
License
MIT
Forked
2026-08-14
Sync status
In syncLast synced 2026-09-29