Auto-discovered marketplace from ahonn/claude-mermaid-ascii
npx claudepluginhub ahonn/claude-mermaid-asciiRender Mermaid diagrams as ASCII/Unicode art in the terminal
A Claude Code plugin that renders Mermaid diagrams as ASCII/Unicode art directly in your terminal.
Powered by pgavlin/mermaid-ascii.
/render-mermaid skill — render any Mermaid diagram on demand.mmd/.mermaid files after Write/Editgo install fallbackIn Claude Code, run:
/plugin install claude-mermaid-ascii
If the marketplace hasn't been added yet:
/plugin marketplace add ahonn/claude-mermaid-ascii
The mermaid-ascii binary is downloaded automatically on first use — no manual setup required.
/render-mermaidInvoke the skill with inline Mermaid code:
/render-mermaid
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[OK]
B -->|No| D[End]
Or pass a .mmd / .mermaid file path:
/render-mermaid diagram.mmd
You can also ask Claude naturally — e.g. "draw a flowchart of this module" or "visualize this as a diagram" — and Claude will invoke the skill automatically.
When Claude writes or edits a .mmd / .mermaid file, a PostToolUse hook automatically renders the diagram in the output. No manual invocation needed.
graph LR; A --> BA --> B --> C on one line is fineThe underlying mermaid-ascii binary supports these flags:
| Flag | Default | Effect |
|---|---|---|
-a | off | ASCII-only (no Unicode box-drawing) |
-w <n> | terminal width | Target output width in characters |
-p <n> | 1 | Text-to-border padding |
-x <n> | 5 | Horizontal node spacing |
-y <n> | 5 | Vertical node spacing |
┌─────────────────────────────────────────────────────────────┐
│ claude-mermaid-ascii │
│ │
│ ┌──────────────────────┐ ┌───────────────────────────┐ │
│ │ /render-mermaid │ │ PostToolUse Hook │ │
│ │ (user-invocable) │ │ (Write|Edit on .mmd) │ │
│ └──────────┬───────────┘ └─────────────┬─────────────┘ │
│ │ │ │
│ ▼ ▼ │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ ensure-binary.sh │ │
│ │ GitHub Releases (curl) → go install (fallback) │ │
│ └──────────────────────┬───────────────────────────────┘ │
│ ▼ │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ bin/mermaid-ascii │ │
│ │ pgavlin/mermaid-ascii Go binary (auto-downloaded) │ │
│ └──────────────────────┬───────────────────────────────┘ │
│ ▼ │
│ ASCII output │
└─────────────────────────────────────────────────────────────┘
ensure-binary.sh downloads a pre-built binary from GitHub Releases. Falls back to go install github.com/pgavlin/mermaid-ascii@latest if the download fails./render-mermaid writes Mermaid code to a temp file, runs mermaid-ascii, outputs to a file, then reads and displays it (output goes to file to avoid UI collapsing)..mmd/.mermaid file triggers render.sh via PostToolUse hook, rendering the diagram inline.RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
No description available.
Code intelligence powered by a knowledge graph — execution flows, blast radius, and semantic search