
claude-code-statusline
Claude Code status line: project, context window, session time and usage limits, with tmux-vitals integration
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up claude-code-statusline (git-clone project) into my current project. Found on https://claudeers.com/claude-code-statusline-2 Repo: https://github.com/k8adev/claude-code-statusline Homepage/docs: — Detected install method: git-clone → git clone https://github.com/k8adev/claude-code-statusline Category: devops. Platforms: cli. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: active; community-verified: false. Confirm the source before running anything.
git clone https://github.com/k8adev/claude-code-statusline
// compatibility
| Platforms | cli |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | Shell |
claude-code-statusline
English 🇺🇸 · Português 🇧🇷

Status line for Claude Code: project and branch, context window, session time, usage limits.
project (branch) +added -removedmodel context bar % · session time5h N% reset · 7d N% reset— hidden inside tmux when tmux-vitals already shows it
Install
Let Claude install it
Paste this into a Claude Code session:
Install https://github.com/k8adev/claude-code-statusline as my status line:
clone it into ~/.claude/claude-code-statusline, point statusLine in
~/.claude/settings.json at its statusline.sh, and check that jq is installed.
Manual
git clone https://github.com/k8adev/claude-code-statusline ~/.claude/claude-code-statusline
~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "bash ~/.claude/claude-code-statusline/statusline.sh"
}
}
Requires bash, jq, git, a truecolor terminal and a Nerd Font.
Options
All via environment variables.
| Variable | Default | Description |
|---|---|---|
CLAUDE_STATUSLINE_LIMITS | auto | Line 3: auto (hide when tmux-vitals shows it), always, never |
CLAUDE_STATUSLINE_CTX_WARN / _CTX_CRIT | 30 / 60 | Context bar turns yellow / red above these % |
CLAUDE_STATUSLINE_LIMIT_WARN / _LIMIT_CRIT | 50 / 80 | Usage limits turn yellow / red above these % |
CLAUDE_STATUSLINE_ICON_DIR | U+F024B | Folder icon |
CLAUDE_STATUSLINE_ICON_CLOCK | U+F0954 | Session time icon |
CLAUDE_STATUSLINE_ICON_RESET | U+F0450 | Reset countdown icon |
CLAUDE_STATUSLINE_RL_CACHE | ~/.claude/cache/rate-limits.json | Where the rate limits are written for tmux-vitals |
Icons are Nerd Font glyphs, given here by codepoint since GitHub can't render them; the screenshot shows how they look.
Context thresholds are low on purpose: Anthropic's best practices
say performance degrades as the window fills, and used_percentage counts input tokens only.
Colors follow the Anthropic palette (Clay, Olive, Kraft, Deep).
License
MIT © k8adev. See LICENSE.
// faq
What is claude-code-statusline?
Claude Code status line: project, context window, session time and usage limits, with tmux-vitals integration. It is open-source on GitHub.
Is claude-code-statusline free to use?
claude-code-statusline is open-source under the MIT license, so it is free to use.
What category does claude-code-statusline belong to?
claude-code-statusline is listed under devops in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/claude-code-statusline-2)
// retro hit counter
[](https://claudeers.com/claude-code-statusline-2)
// reviews
// guestbook
// related in DevOps & CI/CD
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI…
Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.
Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antig…
Roadmap to becoming an ASP.NET Core developer in 2026