[fleetline] | scroll 0% | reading: intro
fleet·line

Your fleet. Your line.

Model, context, git, rate limits, cost burn-rate, background agents — arranged in whatever order you want, separated however you want. All from one hardened bash script.

A real Claude Code session running fleetline with a custom segment order and chevron separators: cost, model, and context usage on the first line, git status and dual rate-limit bars below, then session name, thinking mode, and background-agent count — with Claude Code's own auto-mode indicator underneath.
three layouts

Pick how much of it you want to see.

Set once in /statusline-setup, or edit the config file directly. Nothing here reflows the terminal — narrow window, and the least-important segments drop themselves before the line wraps. Want more control than three presets? Build your own order below.

minimal
Model, context, branch. Nothing else — for people who want the line to disappear.
[Sonnet 5] Ctx [] 34%/200k | 🌿 main
hardened
The classic layout, plus burn-rate. What most people run day to day.
⬡ feature-x | [Sonnet 5] v2.1.4 | Ctx [] 34%| +120/-45 | 🌿 main
5h:[] 72% | $1.2/h
power
Adds cost, PR state, session, thinking mode, background agents, cache-TTL — a 3rd line, only when there's something to show.
…same as hardened, plus:
$0.84 | PR #128 | bg:2 | TTL:58m
or build your own

Segment by segment, in whatever order you want.

The three layouts above are just presets. Underneath, every piece — model, worktree, cost, rate bars, all of it — is one flat ordered list, the same shape as powerlevel10k's prompt-elements array. Drop a piece anywhere, repeat it, skip it, and insert newline wherever you want a new line to start.

  • No line cap — 1, 2, 5 lines, whatever your custom order needs.
  • Separator glyph is configurable too — pipe, dot, chevron, bar, diamond, or your own string.
  • Width-aware truncation still applies per line — leftmost piece survives longest.
  • Built interactively through /statusline-setup, or edit the array by hand.
"separator": { "preset": "chevron" },
"segments": [
  "worktree", "cost", "model", "context",
  "newline",
  "git", "rate5h", "rate7d"
]
⬡ feature-x $0.84 [Sonnet 5] Ctx [] 34%/200k
🌿 main +2 ~5 5h:[] 72% 7d:[] 31%
background agents

Know what your fleet is doing without switching windows.

Dispatch a few background sessions and it's easy to lose track of which one's still working and which one's stuck waiting on you. fleetline can show a live count right in your main line, and ships a second renderer for Claude Code's fleet view itself.

  • Reads claude agents --json — throttled, so it never blocks your render on a slow poll.
  • Optional hook-based counter fills the gap between polls with an approximate ~N.
  • Fleet-view rows flag a task red once it's past your context threshold, and mark one "stuck" after 2 minutes blocked.
fleet view
refactor auth flow 2m [] 92% sonnet-5 high
payment routing cascade 4m [] 20% opus-5 medium ⚠ stuck
5h:[] 72% | $1.20/h · 5h out in ~40m
TTL:58m — cache still warm
❄ TTL out — just slid past the window
burn-rate & cache-ttl

See it running out before it runs out.

Two samples of your cost and rate-limit usage, at least 30 seconds apart, are enough to compute a real velocity — dollars per hour, and how many minutes until your 5-hour window is gone. The TTL segment tracks how long since your last turn against Anthropic's documented cache window: 60 minutes on a subscription, 5 on an API key.

$0.15
spent over 91s in one real test run
5.93/h
the burn-rate segment computed from it
get it running

Two ways in, both fast.

via the plugin marketplace
/plugin marketplace add ClaudeTool/fleetline /plugin install fleetline /statusline-setup
via curl, no marketplace
curl -fsSL https://raw.githubusercontent.com/ClaudeTool/fleetline/main/install.sh | bash

Full config reference, the fleet-view caveats, and what a statusline genuinely can't see about your session (permission mode, notifications, auto-compact) are all in the README.