mermaid-inline

by dazebug · ★ 0 · updated 3 days ago

ReskinsCommandsPromptvalidates

0

Draws the Mermaid diagrams in Claude's replies: as pictures in Ghostty, cmux and kitty, and as Unicode box drawing in other terminals

install mermaid-inline

Install

/plugin marketplace add dazebug/mermaid-inline
/plugin install mermaid-inline@mermaid-inline

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.runprompt.composeui.render
API calls
$.clock.every$.command.register$.env.get$.fs.exists$.fs.read$.process.run$.settings.read$.ui.invalidate$.ui.resolve
Draws
AssistantMessage
Reach
level 2 of 3 runs processesreads filesreads env varsreads settingsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/dazebug/mermaid-inline
Path in repo
repository root
Author
@dazebug
License
MIT
First published
Last pushed
First listed here
On X
Mentioned in 1 post on X

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.

Posts about this repo

l@dzbug_

Claude Code mod for Mermaid 📊 Draws the diagrams in Claude's replies right in your terminal: flowcharts, sequence diagrams, state diagrams. 🖼 Real images in Ghostty, cmux, kitty 🔤 Unicode box drawing everywhere else https://github.com/dazebug/mermaid-inline