All shelves / Mods / Review
rich-terminal
By xiaolai
rich-terminal is a Claude Code review mod by xiaolai.
Redraws each Mermaid diagram in a reply as a drawing, and a status line under the prompt shows context, cost, and rate limits.
Draws
Install
The marketplace name is xiaolai.
claude plugin marketplace add xiaolai/claude-plugin-marketplace claude plugin install rich-terminal@xiaolai
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 1.0.0
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-10-05
What it can reach
- Draws in the session
- Reads usage or context figures
- Calls another program on this machine
Needs Claude Code 2.1.287 or later. Each Mermaid block in a reply, including one inside a quote or a list, is replaced on screen only. The stored message is unchanged, and ctrl+o shows the source. A left-to-right flowchart that is too wide is redrawn top to bottom, and if it still does not fit the source stays. Changing the width redraws. Terminal drawings cover flowcharts, sequence, state, class, ER, and xy charts. Pie, gantt, mindmap, timeline, git graph, and journey stay as source unless pictures are on. images defaults to off. Pictures need Ghostty or kitty, not inside tmux, and Chrome, Chromium, Edge, or Brave. imageTheme defaults to dark. browser defaults to empty, which finds one. Headless Chrome draws each picture once, and the text drawing shows until it is ready. Pages are offline and block every network request. Pages and pictures stay in ~/.claude/plugins/data/rich-terminal/. /rich open uses open on macOS and xdg-open on Linux. The status line stays unwired until /rich status setup copies the scripts and points statusLine at them. It reads the status JSON Claude Code already holds: folder and git, model and effort, context with Token Weather, time and cost, and the account and rate limits. jq parses that JSON. bash runs the scripts. The account segment and Token Weather are on by default, and the line is one row. The account segment reads the email's local part from ~/.claude.json, cached for 180 seconds. Token Weather runs from clear under 25 percent, through cloudy, showers, and storm, to compact soon at 90 percent.
The plugin is the repository. The install adds xiaolai/claude-plugin-marketplace, a separate repository. The marketplace name is xiaolai. The marketplace also holds cc-suite, tdd-guardian, and other mods. This one installs on its own. The redrawn reply is why this page files it under review. mermaid-mod draws mermaid blocks in Claude's replies as Unicode diagrams in place, and leaves the stored message as Mermaid source. prismantis redraws Claude's replies in the terminal: colored tables, code, charts, flowcharts, and one quiet line per tool call. This one redraws each Mermaid diagram in a reply, and the status line reads context, cost, and rate limits from the login Claude Code already holds.
Demo

What it hooks into
session.startWhen a session startsturn.startWhen Claude starts a turnturn.completeWhen a turn endsui.renderDraws into the sessionAssistantMessagecommand.runWhen you run its slash command
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 6 files. They load when you open them.
Facts
- Author
- xiaolai
- Category
- Review
- Marketplace
- xiaolai
- Version
- 1.0.0
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-10-05
- Language
- TypeScript
- Files
- 114