Claude Code status line
claude-watch
A minimal status line for Claude Code.
Install
git clone https://github.com/xleddyl/claude-watch.gitFrom the README
claude-watch Installation 1. Copy the scripts 2. Merge settings.json into ~/.claude/settings.json Add the statusLine and hooks blocks from settings.json into your existing ~/.claude/settings.json. If you don't have one yet, copy it directly: 3. Trigger an initial fetch (optional) The usage cache will otherwise populate automatically on the next tool call or Claude response. How it works - statusline-command.sh — reads the JSON piped by Claude Code and renders two lines: model/folder/branch, then usage stats and context window. When it runs inside a container it prefixes the first line with a ⬢ container badge, detected through /.dockerenv or $REMOTE_CONTAINERS. - fetch-usage.sh — reads the OAuth token from ~/.claude/.credentials.json, caches it in /tmp/.claude_token_cache for 15 minutes, hits the /oauth/usage endpoint (3s timeout), and writes results to /tmp/.claude_usage_cache. On failure the stale cache is preserved. - settings.json — wires up the statusline command and triggers fetch-usage.sh in the background on PreToolUse and Stop hooks. Dependencies - jq - curl - git (optional, for branch display)
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
- xleddyl/claude-watch
- Type
- Status lines
- Language
- Shell
- Last updated
- 18 September 2026
FAQ
What is claude-watch?
A minimal status line for Claude Code. It is a status line for Claude Code, from xleddyl/claude-watch on GitHub.
How do I install claude-watch?
Clone xleddyl/claude-watch from GitHub and follow the setup steps in its README.
Is claude-watch popular?
xleddyl/claude-watch has 70 GitHub stars and 9 forks. It was last updated on 18 September 2026.
More status lines
byebyecode
96byebye-code/byebyecode
An enhanced fork of CCometixLine that adds 88code account information to the status line.
arcade-statusline
81sorosora/arcade-statusline
An arcade-themed status line with a Pac-Man style chase game and a flower-trail animation.
claude-usage-bar
115mnapoli/claude-usage-bar
A status bar that shows your Claude Code usage.
claude-usage-monitor
58aiedwardyi/claude-usage-monitor
A status line plugin showing 5-hour and 7-day quota, context usage, tokens and reset countdowns.
claude-code-statusline
120ilia-pluzhnikov/claude-code-statusline
A dependency-free Node.js status line with model, git state, context window, rate limits and a peak-hours indicator.
Model Relay
106cablate/model-relay
Per-window model switcher, subagent router, and automatic 429 failover for Claude Code — switch any window with /provider, delegate subagents across models, and keep Remote Control & statuslines working.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.