A minimal, opinionated and non-configurable, Claude Code status line
npx claudepluginhub fredrikaverpil/claudelineA minimal, opinionated and non-configurable, Claude Code status line
A minimalistic and opinionated Claude Code status line.
<img width="930" height="112" alt="claudeline_pro" src="https://github.com/user-attachments/assets/1c28cf80-c562-47fa-8ae4-2dda6bccd336" /> <img width="930" height="112" alt="claudeline" src="https://github.com/user-attachments/assets/51ab601c-760a-41da-8dca-d682bf7ad138" /> <img width="930" height="112" alt="image" src="https://github.com/user-attachments/assets/8728028b-8cbb-4113-af88-3bbf4e6ab23b" />It displays the subscription plan (or API/provider), current Anthropic model, context window usage, and 5-hour/7-day quota usage as ANSI-colored progress bars. Written in Go with no external dependencies (stdlib only).
[!NOTE]
The 5-hour and 7-day quota bars require a Claude Code subscription (Pro, Max, or Team). They are not available for free tier, Enterprise or API key users. The bars may also disappear silently if the usage API is temporarily unavailable or rate limited — use
-debugto diagnose.
| Indicator | Meaning |
|---|---|
⚡️ | Peak hours: 5-hour limit burns faster than normal |
⚠️ | Approaching auto-compaction threshold |
🥵 | Extended context (>200k tokens) — model quality may degrade |
🔥▂ 🔥▄▂ 🔥▆▄▂ | Anthropic service disruption (minor / major / critical) |
↑ | New claudeline update available |
/plugin marketplace add fredrikaverpil/claudeline
/plugin install claudeline@claudeline
/claudeline:setup inside Claude Code — this downloads the Go binary and
configures your statuslinego install github.com/fredrikaverpil/claudeline@latest.~/.claude/settings.json:{
"statusLine": {
"type": "command",
"command": "/path/to/claudeline",
},
}
[!TIP]
If installing via
go install, set the command to~/go/bin/claudeline
| Flag | Default | Description |
|---|---|---|
-debug | false | Write warnings/errors to /tmp/claudeline/debug.log |
-cwd | false | Show working directory name in the status line |
-cwd-max-len | 30 | Max display length for working directory name |
-git-branch | false | Show git branch in the status line |
-git-branch-max-len | 30 | Max display length for git branch |
-cost | false | Show estimated session cost in the status line |
-usage-file | Read usage data from file instead of API | |
-status-file | Read status data from file instead of API | |
-update-file | Read update data from file instead of API | |
-version | false | Print version and exit |
Example with working directory and git branch enabled:
{
"statusLine": {
"type": "command",
"command": "claudeline -cwd -git-branch"
}
}
Single-binary design with main.go orchestrating internal/ packages.
Data flow: stdin JSON → parse input + read credentials → fetch usage (cached) + fetch status (cached) + check update (cached) → render ANSI output → stdout
Key components: