mermaid-render

by maxp-riot · ★ 0 · updated 9 days ago

ReskinsCommandsPromptvalidates

0

Draws the mermaid blocks of Claude's replies as images in the terminal, in light or dark, and opens them in Excalidraw

install mermaid-render

Install

/plugin marketplace add maxp-riot/mermaid-render
/plugin install mermaid-render@mermaid-render

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.startcommand.runui.renderprompt.compose
API calls
$.command.register$.config.list$.env.get$.fs.read$.fs.stat$.fs.write$.process.run$.session.messages$.ui.log$.ui.resolve$.ui.toast
Draws
AssistantMessage
Reach
level 2 of 3 runs processeswrites filesreads filesreads env varsreads the transcriptdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/maxp-riot/mermaid-render
Path in repo
repository root
Source commit
520cf92 the exact code the scan read
Author
@maxp-riot
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.