claudemods

All Claude Code modsgalElmalah/claude-mods

mermaid-draw

A Claude Code mod in galElmalah/claude-mods

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.

review UI rewrite

mermaid-draw reaches L0 (draws and remembers) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install mermaid-draw --marketplace galElmalah/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L0 Draws & rememberspersists state, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
Only what it hooks
Hooks
session.start, ui.render {component=AssistantMessage}, command.run {command=mermaid}
API calls
$.command.register, $.store.get, $.store.set, $.ui.invalidate, $.ui.log, $.ui.resolve
Validation on 2.1.302
Passed
Scanned revision
f7e8416f9947
Marketplace passed
gal-mods
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. claude-mermaid/hooks/diagrams.ts:232, claude-mermaid/hooks/vendor/mermaid-ascii.js:505

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from galElmalah/claude-mods

Badge for your README

Reach badge for mermaid-draw Validation badge for mermaid-draw

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/galElmalah--claude-mods--mermaid-draw-reach.svg)](https://mods.aidojo.si/mods/galElmalah--claude-mods--mermaid-draw/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/galElmalah--claude-mods--mermaid-draw-validates.svg)](https://mods.aidojo.si/mods/galElmalah--claude-mods--mermaid-draw/)