Opus 4.8 ▓▓░░░░░░░░ 22%Minimal
Model, folder, and git branch — nothing else. Example statusline inspired by the Claude Code docs (code.claude.com/docs/en/statusline).
Before you install
- This version was reviewed before it was listed on Jun 11, 2026
- Doesn't ask to connect to the internet
- Needs jq and git on your PATH.
- There are no context, cost or rate-limit numbers, and no colors.
Preview
Opus 4.8 · app on mainOpus 4.8 · app on mainSonnet 4.6 · app on feat/authOpus 4.8 · app on mainFable 5 · app on mainHaiku 4.5 · app on mainOpus 4.8 · feature on worktree-featureOpus 4.8 · scratchWhat it does
One plain line with the model name, the current folder and the git branch you are on, joined by a dot.
- Written in
- Bash
- Network access
- None requested
- Works in
- Terminal
How it works
- Reads model.display_name and workspace.current_dir from the stdin JSON with jq.
- Keeps the last folder name and asks git branch --show-current for the branch.
- Adds "on <branch>" only when there is one, so a non-git folder shows just scratch.
- In a worktree it shows the worktree folder and its branch: feature on worktree-feature.
Source
#!/usr/bin/env bash
json=$(cat)
model=$(echo "$json" | jq -r ".model.display_name")
dir=$(echo "$json" | jq -r ".workspace.current_dir")
branch=$(git branch --show-current 2>/dev/null)
printf "%s · %s%s" "$model" "${dir##*/}" "${branch:+ on $branch}"Badge for your README
Own this listing? Add it to your README. The badge shows the install count as it grows.
[](https://staging.statuslin.es/c/minimal-6f5592cb?utm_source=readme-badge)
Or show the preview card:

[](https://staging.statuslin.es/c/minimal-6f5592cb?utm_source=readme-badge)
More status lines
Opus 4.8 high ✦ │ ctx 22% │ app (main) │ PR #1287 ● │ $0.41 · 10m +128 -34
Session ● ● ● ● ● ● ● ● ○ ○ ○ 74% left Resets in 2h 6m
Weekly ● ● ● ● ● ● ● ● ● ● ○ 93% left Resets in 2d 0h
Opus 4.8 │ main │ app │ ▓▓░░░░░░░░ 44k/200k │ $0.41
app · main · Opus-4.8 · effort high · ctx 22% · 5h 26% ↻2h6m · 7d 7% ↻2d0h5h ▓░░░░ 🟢
[Opus 4.8] | ━━━━━━ 22% (44K/200K) | app | git:(main) | ⏱ 10m
Related mods
The session's context window fill, right above the prompt: gray while there is room, yellow when it is time to /compact, red when a new session is better.

An IDE-style file tree for Claude Code that shows what Claude is doing and where in files
Shows branch safety, context headroom, and account usage in a compact session telemetry strip
⏵⏵ auto mode on · ← for agents 5h ━━━─────── 26% ↻ 2h 7mYour subscription usage at the bottom right of Claude Code: the 5-hour and weekly windows, taking turns, side by side or fixed on one of them.