Claude Code status line

Claude Statusline

A Lightweight Statusline plugin for Claude Code CLI to track context, cost usage and session reset time

27 stars 2 forksStatus lines Source

Install

From source
git clone https://github.com/hell0github/claude-statusline.git

From the README

Claude Statusline

A custom statusline for Claude Code 2.x that provides real-time usage tracking with an intelligent multi-layer progress visualization, helping you stay aware of context windows, costs, and session limits.

Features

Core Tracking Features
- 5-hour window tracker - Real-time cost monitoring with burn-rate based projection and 3-layer visualization
- Daily usage tracker - 24-hour cycle aligned with weekly reset, shows % of weekly limit with end-of-day projection
- Weekly usage tracker - Multiple display modes: usage %, available %, or recommended daily usage
- Monthly cost tracker - Total spending from billing cycle start date (configurable)
- Context window tracker - 3-layer visualization showing cached vs fresh tokens, supports extended context (>168k)
- Token burn rate - Real-time tokens/min indicator based on billable tokens
- Session timer - Countdown to next 5-hour window reset with current/reset time display
- Active sessions - Concurrent Claude Code project counter

Advanced Features
- Intelligent weekly calibration - Compensates for untracked costs (deleted transcripts, extended context)
- Multi-layer progression system - Config-driven thresholds with auto-scaled visualization per layer
- Weekly display modes - Choose between usage %, available %, or recommended daily % to finish allocated budget
- Daily projection integration - Combines 5-hour window projection with daily tracking for accurate end-of-day estimates
- Unified cache system - Smart dependency tracking invalidates caches when config changes
- Three-stage pipeline - Clean architecture: Data Collection → Computation → Rendering
- Conditional rendering - Only computes enabled sections for optimal performance
- Modular utilities - Separate layer calculations, caching, and time…
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
Shell
License
MIT
Last updated
6 May 2026
Topics
bashclaude-codeclideveloper-toolsstatuslineterminalusage-tracking

FAQ

What is Claude Statusline?

A Lightweight Statusline plugin for Claude Code CLI to track context, cost usage and session reset time It is a status line for Claude Code, from hell0github/claude-statusline on GitHub.

How do I install Claude Statusline?

Clone hell0github/claude-statusline from GitHub and follow the setup steps in its README.

Is Claude Statusline popular?

hell0github/claude-statusline has 27 GitHub stars and 2 forks. It was last updated on 6 May 2026.

More status lines

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