Claude Code Status Line
Description
A custom status line script for Claude Code that displays context window usage, git status, and model information.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Claude Code Status Line
A minimal status line script for [Claude Code](https://claude.ai/) that displays model name and context window usage.


Preview
**Session start (loading state):**
Opus 4.5 | ○○○○○○○○○○ loading...
**Normal usage (blue circles):**
Opus 4.5 | ●●●○○○○○○○ 30k/200k (15% used)
**Warning state (red circles when > 60%):**
Opus 4.5 | ●●●●●●●○○○ 140k/200k (70% used)
Features
- Context Window Display: Shows token usage with circle-based progress bar
- Loading State: Empty circles with "loading..." at session start
- Warning Indicator: Circles turn red when context usage exceeds 60%
- Minimal Design: Shows only model name and context - no clutter
Requirements
- Claude Code v2.1.6 or higher
jq(JSON processor)- Bash shell
Installation
**Create the scripts directory** (if it doesn't exist):
mkdir -p ~/.claude/scripts**Copy the script**:
curl -o ~/.claude/scripts/status-line.sh https://raw.githubusercontent.com/shanraisshan/claude-code-status-line/main/status-line.shOr manually copy `status-line.sh` to `~/.claude/scripts/`
**Make it executable**:
chmod +x ~/.claude/scripts/status-line.sh**Configure Claude Code** by adding to `~/.claude/settings.json`:
{ "statusLine": { "type": "command", "command": "~/.claude/scripts/status-line.sh" } }**Restart Claude Code** to see the new status line.
How It Works
The script reads JSON data from Claude Code via stdin and displays:
- Model name: From
model.display_nameor
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI