claude-mermaid
by Gal Elmalah · ★ 1 · updated 20 days ago
Mermaid diagrams in Claude Code: every mermaid block Claude writes is drawn as box art, in colour, right where the fence was in the transcript. Needs function hooks (early access) and an interactive terminal.
Install
git clone https://github.com/galElmalah/claude-modsclaude --plugin-dir ./claude-mods/claude-mermaidThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startui.rendercommand.run- API calls
$.command.register$.store.get$.store.set$.ui.invalidate$.ui.log- Draws
AssistantMessage- Reach
- level 0 of 3 persists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/galElmalah/claude-mods
- Path in repo
claude-mermaid- Author
- Gal Elmalah @galElmalah
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from galElmalah/claude-mods
claude-queue
galElmalah/claude-mods
A prompt typed while Claude is working is held in a stack above the prompt instead of landing in the running turn, and sent once the turn ends. Reorder the stack, edit a row in place, send one first, remove one, flush the lot. Needs function hooks (early access) and an interactive terminal.