CC-StatusLine
Real-time ANSI dashboard for Claude Code — model, context, cost, and git at a glance
Overview
CC-StatusLine turns your Claude Code terminal into a heads-up display. It's a zero-dependency Python plugin that renders a compact, color-coded 4-line dashboard directly in the status bar — giving you instant visibility into your environment, context usage, session cost, and git state without ever breaking your flow.
No pip installs. No virtual environments. Pure Python 3 stdlib with ~250ms execution time. It just works.
What You Get
- ENV — Claude Code version, active model + context window size, count of loaded skills, MCP servers, and hooks
- CTX — Context window usage as a color-coded progress bar (green → yellow → red → blinking red as you fill up)
- USE — Running session cost, wall-clock and API duration, lines of code added and removed
- GIT — Repo name, current branch, time since last commit, modified/staged file counts, push/pull status
Quick Start
- Add the Patchoutech marketplace:
/plugin marketplace add hopchouinard/patchoutech-plugins - Install the plugin:
/plugin install cc-statusline@patchoutech-plugins - Run the setup command:
/cc-statusline:setup - Restart Claude Code — the dashboard appears on your next session
Under the Hood
Resource counts are aggregated from three sources: global config
(~/.claude/), project-level config (.claude/), and installed plugins.
Git results are cached for 5 seconds per repo, resource counts for 60
seconds — keeping things snappy without hammering the filesystem.
Color thresholds are baked in: context turns yellow at 50%, red at 75%, and starts blinking past 90%. Cost goes green → yellow → red at the $1 and $5 marks. All subprocess calls use argument lists (no shell injection), and the whole thing is wrapped in fail-safe exception handling.
Part of the ecosystem