Volpestyle

Herdr Plugin Mermaid Preview — Development skill for Claude Code

Development community

Live Mermaid previews for Claude Code and Codex output in Herdr.

How to install Herdr Plugin Mermaid Preview

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Volpestyle/herdr-plugin-mermaid-preview and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Herdr Plugin Mermaid Preview does

Live Mermaid previews for Claude Code and Codex output in Herdr.

Alternatives in Development

  • Herdrm — Native macOS console for herdr — all your coding agents and their live terminals, across devices 635 ★
  • Deep Dive Claude Code — 《深入理解 Claude Code 源码》— 系统剖析 Anthropic Claude Code CLI 的架构设计、工程实践与编程哲学 25 chapters, 101 Mermaid diagrams, 467 c 181 ★
  • Oop Architect — A Claude Code skill for OOP architecture planning and tracking — live Mermaid UML diagrams in CLAUDE.md that u 82 ★

README

Herdr Preview

[![CI](https://github.com/Volpestyle/herdr-plugin-mermaid-preview/actions/workflows/ci.yml/badge.svg)](https://github.com/Volpestyle/herdr-plugin-mermaid-preview/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

Herdr Preview watches the native Claude Code or Codex transcript behind a Herdr pane or `herdr-core` (`hc`) terminal and displays what it finds live. It works across all three Herdr environments:

  • Herdr TUI (herdr 0.7.1 – 0.9.5+) — managed plugin tab over Kitty graphics
  • Herdr App (herdr-app + hc) — native Kitty graphics terminal tab/split plus a native GPUI launcher mod (mods/herdr-preview)
  • Herdr Browser (herdr-app-browser fork) — both native Kitty terminal mode and a live-reloading native Chromium preview mode (--browser)

It ships with two sources:

  • Mermaid — every complete mermaid-fenced block in an assistant message, rendered locally and offline.
  • Images — every image in the session: what you paste in, and what the agent looked at with its read tool. Screenshots it takes show up here without any filesystem watching, because the bytes are already in the transcript.

The preview follows session changes such as resume and clear, keeps every distinct item from the current session, and selects the newest one. Use `+`/`-` to zoom, the arrow keys or `h`/`j`/`k`/`l` to pan, and `0` to reset the viewport. Use `n`/`p` or `]`/`[` to browse, `r` to rerender, and `q` to close.

Requirements

  • Node.js 22.12 or newer
  • One of:
    • Herdr TUI 0.7.1 or newer with [experimental] kitty_graphics = true in a Kitty-graphics-compatible outer terminal (such as Ghostty)
    • Herdr App (herdr-app) with herdr-core (hc) — Kitty graphics work natively out of the box
    • Herdr Browser (herdr-browser) with herdr-core (hc) — supports both native Kitty graphics terminals and native Chromium browser panes

Install

H