Claudeline banner
lexfrei lexfrei

Claudeline

Development community

Description

Claude Code statusline with real usage limits from Anthropic API

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

claudeline

[![CI](https://github.com/lexfrei/claudeline/actions/workflows/ci.yaml/badge.svg)](https://github.com/lexfrei/claudeline/actions/workflows/ci.yaml) [![Go](https://img.shields.io/github/go-mod/go-version/lexfrei/claudeline)](https://go.dev/) [![License](https://img.shields.io/github/license/lexfrei/claudeline)](LICENSE)

Real-time statusline for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) showing live quota usage directly from stdin data.

Example output

🤖 Opus 4.7 ⏫💭 | 🧠 67% | 🔄 2 | 🟡 7d: 42% (4d 2h) | 🔴 5h: 91% (27m) | 🐙 lexfrei/claudeline 📝 #19 🌳 feat-api 🌿 feat/api

Segments

Segment Description
🤖 Model Active model name, with effort / thinking / fast-mode indicators (Claude Code v2.1.119+)
🐙 Repo Repository host icon, owner/name, optional #PR , optional 🌳 worktree (linked worktrees only) and 🌿 branch (Claude Code v2.1.145+)
🌳 Worktree / 🌿 Branch Linked-worktree directory name and current branch; branch alone falls back here when no repository info is available
💰 Cost Cumulative session cost in USD (hidden by default for subscribers, see Cost mode)
⚠️/🔶/🔴 Status Anthropic platform status: ⚠️ degraded, 🔶 major outage, 🔴 critical (hidden when all clear)
🧠 Context Context window usage percentage (color-coded)
🔄 Compactions Number of context compactions in current session
🟢/🟡/🟠/🔴 7d 7-day rolling quota utilization with time until reset
🟢/🟡/🟠/🔴 5h 5-hour rolling quota utilization with time until reset
🟢/🟡/🟠/🔴 7d-<model> 7-day quota of the model in use, labelled after the bucket the server reports, e.g. 7d-fable (requires `--mac-insecure`)

Model indicators

  • effort low⬇️, medium → no indicator, high⬆️, xhigh, max🚀
  • thinking enabled → 💭
  • fast mode →

Themes

The icon style is select