Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By tomasvargav0.1.0MITIn 1 marketplace
Pins the diagrams Claude draws to a chip above the prompt: expand it in place, open it full screen or in the browser, and see it as a rendered picture
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Palettepalette
terminal follows your terminal's own colors; the presets paint a fixed palette whatever Claude Code's theme is
One of terminal, solarized-light, solarized-dark
stringdefault terminal
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; writes files; reads files; reads environment variables (HERDR_BIN_PATH, HERDR_PANE_ID, TMPDIR, TMUX_PANE); changes what Claude reads (system prompt, context, reminders).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Picturespictures
on: Claude adds a Mermaid version of each diagram and the mod renders it as a picture where the terminal shows images (Ghostty, kitty, WezTerm), using mmdc or the pinned @mermaid-js/mermaid-cli through npx
One of off, on
stringdefault on
Full screen palettefullScreenPalette
same uses the Palette above; a preset paints only the full-screen pane, the card keeping its own colors
One of same, solarized-light, solarized-dark
stringdefault same
A Claude Code mod for the diagrams Claude draws. Every box-and-arrow diagram in a reply gets pinned to a small chip above the prompt. Expand it in place, open it full screen, see it as a rendered Mermaid picture, or open it in the browser to zoom, copy and share.

If you ask Claude for diagrams often (architecture, request flows, state machines), they scroll away with the chat and are hard to share. This mod keeps them at hand:
| Card above the prompt | Browser, light | Browser, dark |
|---|---|---|
![]() | ![]() | ![]() |
In a Claude Code terminal session:
/plugin install diagrams --marketplace tomasvarga/claude-code-diagrams
Answer y to add the marketplace, pick a scope (user is the default), and set the options on the screen that follows. The mod starts working right away, with no restart.
/diagrams, to open the card. /diagrams again closes it.+ and −, pinch or ctrl+scroll to zoom, 0 or Fit to fit, and drag to pan.Change them with /config → diagrams.
| Setting | Values | What it does |
|---|---|---|
| Palette | terminal (default), solarized-light, solarized-dark | terminal uses your terminal's own colors. A preset paints the card in fixed colors, whatever Claude Code's theme is. |
| Full screen palette | same (default), solarized-light, solarized-dark | Gives only the full-screen pane its own palette. |
| Pictures | on (default), off | Claude adds a Mermaid version of each diagram, and the mod renders it as a picture. off keeps replies shorter and skips the renderer. |
The mod renders Mermaid using mmdc if it's installed. Otherwise it uses the pinned @mermaid-js/mermaid-cli through npx. The first render downloads the renderer and a headless Chrome, which takes about a minute. After that, a render takes about a second.
The picture shows in terminals that speak the kitty graphics protocol: kitty, Ghostty and WezTerm. Elsewhere the card shows the text.
Mouse clicks reach the mod's buttons only in Claude Code's fullscreen mode: /config → renderer → fullscreen, or "tui": "fullscreen" in settings. In the default mode, use /diagrams to open and close the card.
Pictures inside herdr or tmux: the multiplexer hides which terminal you're in, so Claude Code assumes it can't draw pictures. Turn them on with:
export CLAUDE_CODE_FORCE_TERMINAL_IMAGES=1
herdr also needs kitty_graphics = true in its config.
Full screen zooms the current herdr or tmux pane and puts it back on close, so a crowded split gets the whole window.
The mod runs inside Claude Code's mod sandbox and reaches the outside only through these calls:
claude-diagram-*.mmd, .png and .html files to your temp folder ($TMPDIR).mmdc, or npx @mermaid-js/mermaid-cli, to render pictures; open or xdg-open for the browser view; osascript or xclip to copy a picture; and herdr or tmux to zoom the pane.npx download of the Mermaid renderer.claude-code-diagrams@awesome-claude-code-mods is listed by testy-cool/awesome-claude-code-mods — review the source before installing
npx claudepluginhub testy-cool/awesome-claude-code-mods --plugin claude-code-diagramsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.