cs-mermaid

by cs · ★ 50 · updated today

ReskinsPromptvalidates

0

Draws mermaid flowcharts in replies inline, as coloured blocks and lines, and tells the model they draw.

install cs-mermaid

Install

git clone https://github.com/hex/claude-sessions
claude --plugin-dir ./claude-sessions/mods/cs-mermaid

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
prompt.composeui.render
API calls
$.config.list$.fs.exists$.session.cwd$.ui.resolve
Draws
AssistantMessage
Reach
level 1 of 3 reads filesreads 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/hex/claude-sessions
Path in repo
mods/cs-mermaid
Source commit
8eb774e the exact code the scan read
Author
cs @hex
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 hex/claude-sessions

cs

hex/claude-sessions

cs's in-session mod: the rotate band above the prompt, forced rotation past CS_ROTATE_FORCE_CTX, and the wrap key

★ 50PanesBandsCommands

cs-update

hex/claude-sessions

Release notes for a pending cs update, once per launch, with 1 to install it in place; /cs-update reopens the pane.

★ 50PanesCommands