All shelves / Mods / Review
mermaid-mod
By ngothanhluc
mermaid-mod is a Claude Code review mod by ngothanhluc.
Draws mermaid blocks in Claude's replies as Unicode diagrams in place, and leaves the stored message as Mermaid source.
Draws
Install
The marketplace name is claude-mermaid-mod.
/plugin marketplace add ngothanhluc/claude-mermaid-mod /plugin install mermaid-mod@claude-mermaid-mod
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-10-12
What it can reach
- Draws in the session
Claude Code 2.1.287 or later. By default the diagram is drawn above its code block, so the source stays readable and copyable, and /mermaid diagram draws it in place of the block. The author says the mod changes only what the terminal draws: the stored message keeps its Mermaid source, and ctrl+o shows it. It renders flowcharts, state, class, ER, sequence, pie, mindmap, timeline, and gitGraph diagrams, colored from your Claude Code theme. It keeps the original code block for an unsupported type such as gantt, for a diagram wider than the terminal, which redraws when you resize, and for a source with errors, with a warning line under it. /mermaid streaming, the default, draws a block while it is still being written, /mermaid final waits for the closing fence, and /mermaid off draws nothing. Settings are saved for every session on the machine.
The marketplace, claude-mermaid-mod, also lists show-me, a skill by HumanLayer pulled from its repo, which has Claude explain the current topic with diagrams, often as Mermaid. This row does not install it. Drawing the diagrams in Claude's replies is why this page files it under review. loom-mermaid, by Yassimba, draws Mermaid in replies as colored character art, with a band above the prompt while a reply streams. show-me, by arasovic, draws each mermaid diagram in an answer as a picture in a pane once the turn ends. This one draws Unicode diagrams in place, with the source above or replaced. The author says it is a port of the Mermaid rendering in the pi coding agent, drawn by lovely-mermaid.
Demo

What it hooks into
session.startWhen a session startscommand.runWhen you run its slash command/mermaidui.renderDraws into the sessionAssistantMessage
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/mermaidDraw ```mermaid blocks as diagrams: off, final or streaming; both or diagram
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- ngothanhluc
- Category
- Review
- Marketplace
- claude-mermaid-mod
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-10-12
- Language
- TypeScript
- Files
- 59