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.
Not showing after you paste? Fix it

Preview

Clean repo
Opus 4.8 · app on main
New session
Opus 4.8 · app on main
Dirty branch
Sonnet 4.6 · app on feat/auth
Near-full
Opus 4.8 · app on main
1M context
Fable 5 · app on main
Post-compact
Haiku 4.5 · app on main
Worktree
Opus 4.8 · feature on worktree-feature
Non-git
Opus 4.8 · scratch

In Claude Desktop

Minimal in Claude Desktop

Recorded with statusline-anywhere.

What 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

  1. Reads model.display_name and workspace.current_dir from the stdin JSON with jq.
  2. Keeps the last folder name and asks git branch --show-current for the branch.
  3. Adds "on <branch>" only when there is one, so a non-git folder shows just scratch.
  4. 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.

Reviewed on statuslin.es
[![Reviewed on statuslin.es](https://staging.statuslin.es/badge/c/minimal-6f5592cb.svg)](https://staging.statuslin.es/c/minimal-6f5592cb?utm_source=readme-badge)

Or show the preview card:

Preview on statuslin.es
[![Preview on statuslin.es](https://staging.statuslin.es/og/c/minimal-6f5592cb.png)](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

Related mods

Context Meter in Claude Desktop

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.

Filetree in Claude Desktop

An IDE-style file tree for Claude Code that shows what Claude is doing and where in files

⏵⏵ auto mode on · ← for agents 5h ━━━─────── 26% ↻ 2h 7m

Your 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.