Home / Claude Code mods / Cost & usage / rich-terminal

rich-terminal

rich-terminal is a Claude Code mod by xiaolai that mermaid diagrams drawn inside Claude Code replies, and a truecolor status line under the prompt with a Token Weather forecast of the context window.

Updated 2026-10-05

What is rich-terminal?

rich-terminal is a Claude Code mod by xiaolai that mermaid diagrams drawn inside Claude Code replies, and a truecolor status line under the prompt with a Token Weather forecast of the context window. It is listed under Cost & usage and has 6 GitHub stars.

TypeClaude code mod
Authorxiaolai
Repositoryxiaolai/claude-rich-terminal
Popularity6 GitHub stars
CategoryCost & usage
SecurityReview before installing (64/100)
Rank#677 of 5,272 Claude Code mods; #130 in Cost & usage
LicenseMIT
Last commit2026-10-05
Stars this week+1
Hooks5 events
Seesonly the events it hooks
Draws onAssistantMessage

Is rich-terminal safe to install?

rich-terminal scores 64/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.clock.sleep
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.process.runruns processes
$.process.spawn
$.session.id
$.session.messagesreads the transcript
$.settings.readreads settings
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.logdraws interface
$.ui.resolvedraws interface

How do I install rich-terminal?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/xiaolai/claude-rich-terminal
    claude plugin validate ./claude-rich-terminal/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/xiaolai/claude-rich-terminal && claude --plugin-dir ./claude-rich-terminal/.

Or ask Claude to set it up

Paste this into Claude Code and it installs rich-terminal for you:

Install the "rich-terminal" Claude Code mod from https://github.com/xiaolai/claude-rich-terminal. Run claude plugin validate on it first and show me what it can access before you enable it.