Claude Code status line

cc-statusline

A dashboard-like status line with quota bars, an agent tracker, MCP health and message history.

265 stars 30 forksStatus lines Plugin marketplace Source

Install

Install
claude plugin marketplace add NYCU-Chung/cc-statusline
From source
git clone https://github.com/NYCU-Chung/cc-statusline.git

From the README

cc-statusline

English · 繁體中文

A comprehensive statusline dashboard for Claude Code. See everything at a glance — no slash commands needed.

What it shows

Install

Option A — plugin install (recommended)

Hooks are registered automatically (via the plugin's own hooks/hooks.json), so you can skip the Hook wiring section below.

Then add the statusLine block to ~/.claude/settings.json — Claude Code doesn't allow plugins to set this for you:

Option B — manual install (for hacking on the script)

Pick the block that matches your shell. ~ is expanded by bash/zsh before git sees it, but PowerShell and cmd don't expand it — using ~ there makes git clone create a literal ~ folder (reported in #6). Use $HOME / %USERPROFILE% instead.

bash / zsh / Git Bash on Windows

PowerShell

Windows cmd

Then add this statusLine block to ~/.claude/settings.json:

Hook wiring (Option B only — plugin install does this automatically)

Add these to your ~/.claude/settings.json hooks section to enable all statusline features:

What each hook does

| mcp-status-refresh.js | (none — auto-spawned) | Statusline launches this in the background each render to refresh ~/.claude/mcp-status-cache.json from claude mcp list. Self-skips if cache is fresh (.json — when the payload value drops, only the baseline is reset; the cumulative total never goes backward. (Active session time follows a separate path — see "Per-feature state isolation" below.)

Defensive per-session keying via transcript filename. Every per-session tmp file (cum, messages, summary, agents, files, compact count) is keyed by path.basename(transcript_path) rather than the runtime session_id payload, falling back to session_id only when no transcript is present. The transcript filename is the canonical UUID of the logical session and is…
Read the full README on GitHub

How status lines work

  • A status line is a command Claude Code runs to draw the bar under the prompt. It gets the session as JSON on stdin (model, folder, cost, context) and prints one or more lines.
  • Point the statusLine setting in ~/.claude/settings.json at it: { "statusLine": { "type": "command", "command": "<the command from the README>" } }.
  • Or run /statusline inside Claude Code and describe what you want.
Claude Code docs

Details

Language
JavaScript
License
MIT
Last updated
22 May 2026
Topics
claude-codeclidashboarddeveloper-toolshooksmonitoringstatuslineterminalunicode

FAQ

What is cc-statusline?

A dashboard-like status line with quota bars, an agent tracker, MCP health and message history. It is a status line for Claude Code, from NYCU-Chung/cc-statusline on GitHub.

How do I install cc-statusline?

Run claude plugin marketplace add NYCU-Chung/cc-statusline, then follow the setup in the README.

Is cc-statusline popular?

NYCU-Chung/cc-statusline has 265 GitHub stars and 30 forks. It was last updated on 22 May 2026.

More status lines

Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.