Claude Code status line
cc-costline
A status line that shows your 7-day and 30-day spend at a glance.
Install
npm i -g cc-costline && cc-costline installgit clone https://github.com/Ventuss-OvO/cc-costline.gitFrom the README
中文 | 日本語 | Français | Español cc-costline Enhanced statusline for Claude Code — adds cost tracking, usage limits, and leaderboard rank to your terminal. Install Open a new Claude Code session and you'll see the enhanced statusline. Requires Node.js >= 22. Updating npm doesn't auto-update global packages. Run this whenever you want the latest version: What you get Colors - Context & usage limits — green ( Pricing table Prices per million tokens (USD): Cache writes are billed by TTL: 5-minute at 1.25x input, 1-hour at 2x input. The split comes from usage.cache_creation in the transcript; older transcripts without that breakdown are billed entirely at the 5-minute rate. Fast mode (usage.speed: "fast", Opus 5 / 4.8) is billed at 2x the standard rate. Sonnet 5 is listed at its standard $3/$15; introductory pricing of $2/$10 runs through 2026-08-31, so Sonnet 5 costs read slightly high until then. Unknown models fall back by family name, defaulting to Sonnet pricing. Development Uninstall Acknowledgments - ccclub by 碎瓜 (@mazzzystar) — Claude Code leaderboard among friends License MIT
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.
Details
- Repository
- Ventuss-OvO/cc-costline
- Type
- Status lines
- Language
- TypeScript
- Last updated
- 24 July 2026
- Topics
- anthropicclaudeclaude-codeclicost-trackingstatusline
- Listed in
- awesome-claude-code
FAQ
What is cc-costline?
A status line that shows your 7-day and 30-day spend at a glance. It is a status line for Claude Code, from Ventuss-OvO/cc-costline on GitHub.
How do I install cc-costline?
Run npm i -g cc-costline && cc-costline install, then follow the setup in the README.
Is cc-costline popular?
Ventuss-OvO/cc-costline has 28 GitHub stars and 2 forks, and is included in 1 curated Claude Code list. It was last updated on 24 July 2026.
More status lines
Claude Code Personalities
35kumamaki/Claude-Code-Personalities
A status line of kaomoji faces that change to reflect what Claude is currently doing.
vscode-claude-status
36long-910/vscode-claude-status
Shows Claude Code token usage and cost in the VS Code status bar.
cc-statusline-rs
42khoi/cc-statusline-rs
A Rust status line generator for Claude Code.
Claude Code Status Line
65shanraisshan/claude-code-status-line
A custom status line script for Claude Code that displays context window usage, git status, and model information.
claude-tui
46slima4/claude-tui
A real-time status line plus a live session monitor and analytics hooks for Claude Code.
Headroom
70henchmarketing-rgb/headroom
Know your headroom. Context window usage bar for Claude Code.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.