ClaudeCodeMod

All shelves / Mods / Review

mermaid-draw

By galElmalah

mermaid-draw is a Claude Code review mod by galElmalah.

Draws each mermaid block Claude writes as colored box art in the reply, where the fence was: flowcharts, state, sequence, class, and ER diagrams, and xy charts.

Draws

Install

The marketplace name is gal-mods.

In your shell
claude plugin marketplace add galElmalah/claude-mods
claude plugin install mermaid-draw@gal-mods
Open the repo

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.3.2
License
MIT
Repo stars
5
Last change
2026-10-10

What it can reach

  • Draws in the session

Claude Code 2.1.270 or later with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1, in an interactive terminal session with a font that has box-drawing characters; /mermaid ascii on is for one that does not. Nothing draws in claude -p. Gantt, pie, mindmap, and other kinds keep their fence. Art wider than the transcript is cut at the right. Colours are drawn on the terminal alone; desktop, VS Code, and mobile show plain art. Coming from claude-mermaid@claude-mods, uninstall it, remove the old marketplace, add it again under its new name, and restart Claude Code. claude --plugin-dir claude-mermaid runs it from a clone.

The marketplace name is gal-mods. The marketplace also holds prompt-queue. This one installs on its own. Reading Claude's diagrams in the reply is why this page files it under review. mermaid-mod draws mermaid blocks in Claude's replies as Unicode diagrams in place, and leaves the stored message as Mermaid source. loom-mermaid draws Mermaid in replies as colored character art, and a band above the prompt while a reply streams. This one lays a top-down flowchart or state diagram out left to right when that fits and loses nothing, costs no token, and puts nothing else on screen: no pane, no buttons. It draws with beautiful-mermaid's ASCII renderer, bundled with a cap on its edge search. In the source, the reply is drawn with ui.render on AssistantMessage.

Demo

The opening of the mermaid-draw README: each mermaid block Claude writes is drawn as box art where the fence was, with no pane and no token spent, and an example answer to how does a prompt become a reply?, drawn as a flowchart from Prompt through Understand and a Use Tools? decision to Reply.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • ui.renderDraws into the sessionAssistantMessage
  • command.runWhen you run its slash command

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 5 files. They load when you open them.

Facts

Author
galElmalah
Category
Review
Marketplace
gal-mods
Repo
galElmalah/claude-mods
Folder
claude-mermaid
Version
0.3.2
License
MIT
Repo stars
5
Last change
2026-10-10
Language
TypeScript
Files
17

Other mods in Review

crayonjonpojonpoRedraws every reply in themed color, with gradient headings, boxed tables, and callouts, and teaches Claude tags for badges, colors, and panels. Six themes.for-your-eyeskeshavatearthDraws a rounded border around each turn's final answer, so it stands out from the progress notes and tool calls above it. /for-your-eyes turns it off.desk-lookKyongSik-YoonRedraws the terminal like the desktop app's Code tab: prompt bubbles, folded tool calls, cards, a band of branch, PR checks, and context, and seven side panes.coral-skinpromptadvisersRestyles Claude Code's message and tool rows in coral, ink, and cream, with colored chips that mark reads, edits, and commands, and a risk mode, under /skin.repo-heatmappromptadvisersOpens a map of the project's files, each area sized by the file, that lights up as Claude reads, searches, and edits them, and marks failed operations.flight-recorderpromptadvisersOpens a timeline of each turn: model requests, tool calls, and helper agents as lanes over time, so you see what ran alongside what, with an estimated cost.output-traypromptadvisersCollects the new files Claude creates during the session in a side panel, with Copy path, and Open and Reveal in Finder on macOS.changes-receiptpromptadvisersOpens a receipt of the files created, edited, and deleted in a tracked turn, with failed attempts listed apart from the changes that worked.assumption-ledgerDannyMac180Gives Claude a tool to note what it assumed, decided, or chose not to do, and lists them above the prompt when the turn ends, with Do it on each skipped fix.next-steps-supervisorDannyMac180After a turn that changed something, has a fork of the chat judge whether the work met the goal, and draws its verdict and next-step buttons above the prompt.huhomeerdvrnOpens Claude's last answer in a sidebar when you type /huh, rewritten by Haiku for reading: a short summary up top, clear headings, every fact and command kept.plain-replycharlie947Grades each reply for length, long sentences, and jargon in a band above the prompt. Over your bar, Say it simpler puts a rewrite request in the prompt box.
All 145 in Review