claudeers.
// DevOps & CI/CD

claude-code-statusline

Claude Code status line: project, context window, session time and usage limits, with tmux-vitals integration

// DevOps & CI/CD[ cli ][ claude ]#claude#claude-code#devops◷ MIT$open-sourceupdated 27 days ago
Actively maintained
93/100
last commit 27 days ago
last release none
releases 0
open issues 0
// star history+1 this week

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.
// or clone
git clone https://github.com/k8adev/claude-code-statusline

// compatibility

Platformscli
Operating systems—
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageShell

Get your FREE $2.50 API credits to access TickAtlas financial data ↗

claude-code-statusline

English 🇺🇸 · Português 🇧🇷

screenshot

Status line for Claude Code: project and branch, context window, session time, usage limits.

  1. project (branch) +added -removed
  2. model context bar % · session time
  3. 5h 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.

VariableDefaultDescription
CLAUDE_STATUSLINE_LIMITSautoLine 3: auto (hide when tmux-vitals shows it), always, never
CLAUDE_STATUSLINE_CTX_WARN / _CTX_CRIT30 / 60Context bar turns yellow / red above these %
CLAUDE_STATUSLINE_LIMIT_WARN / _LIMIT_CRIT50 / 80Usage limits turn yellow / red above these %
CLAUDE_STATUSLINE_ICON_DIRU+F024BFolder icon
CLAUDE_STATUSLINE_ICON_CLOCKU+F0954Session time icon
CLAUDE_STATUSLINE_ICON_RESETU+F0450Reset countdown icon
CLAUDE_STATUSLINE_RL_CACHE~/.claude/cache/rate-limits.jsonWhere 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.

5 views
★ 18 stars
unclaimed
updated 27 days ago

// embed badge

claude-code-statusline on Claudeers
[![Claudeers](https://claudeers.com/api/badge/claude-code-statusline-2.svg)](https://claudeers.com/claude-code-statusline-2)

// retro hit counter

claude-code-statusline hit counter
[![Hits](https://claudeers.com/api/counter/claude-code-statusline-2.svg)](https://claudeers.com/claude-code-statusline-2)

// reviews

// guestbook

0/500

// related in DevOps & CI/CD

🔓

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI…

// devopssansan0/⟨Python⟩★ 62,534◷ GPL-3.0[ claude ]
🔓

Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.

// devopsmusistudio/⟨TypeScript⟩★ 37,434◷ MIT[ claude ]
🔓

Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antig…

// devopslbjlaq/⟨Rust⟩★ 31,721◷ NOASSERTION[ claude ]
→ see how claude-code-statusline connects across the ecosystem