Customizable status line for Claude Code with usage, git and model widgets
open sourceMITfree
ccstatusline is an MIT command-line tool that renders the status line at the bottom of Claude Code. A terminal UI picks and arranges widgets (model, git branch and worktree, token and context use, session cost, 5-hour block and weekly usage with forecasts, prompt cache statistics, custom text and commands), sets their colours and Powerline styling, and writes the statusLine command into Claude Code's settings. It runs through npx or bunx, or as a pinned global npm or Bun install.
Problems it solves
- see my Claude Code token usage and limits at the bottom of the terminal while I work
- show the git branch and model in Claude Code's status bar
- customize the Claude Code status line without writing my own script
Features
- terminal UI to choose, order and colour status line widgets
- token, context, session cost and 5-hour and weekly usage widgets with limit forecasts
- git branch, worktree and pull request widgets
- Powerline separators and themes, and several separate status lines
- installs its statusLine command into Claude Code's settings
Limitations
- Claude Code runs the status line command only in trusted workspaces, so it can show nothing in an untrusted folder.1
Alternatives
The same job
These do what ccstatusline does.
- Claude HUD Claude Code plugin that shows context usage, rate limits, tools, agents and todos below your input
- Claude account rotator Claude Code mod: rotates between your Claude logins as their usage limits fill
- Claude Code Templates Open catalog of 1,980+ skills, subagents, commands, hooks, MCP servers and settings for Claude Code, with a one-command installer
- claude-code-log A Python CLI tool that converts Claude Code transcript JSONL files into readable HTML and Markdown
- Claude Code Trace Claude Code session log viewer for JSONL files in ~/.claude/projects: browse conversations, tool calls, tokens, and live tail sessions on desktop, web, and TUI
- cc-viewer A request monitoring system for Claude Code that captures and visualizes all API requests and responses in real time
