Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

Developer terminal window displaying a status line with worktree and branch information, plus file change…

Terminito: A Zero-Dependency Status Line That Shows Worktree

Terminito adds a zero-dependency status line to Claude Code showing worktree, branch, context, and quota. Install via Homebrew or git clone, then run `terminito install` to update settings.json.

·1d ago·4 min read··21 views·AI-Generated·Report error
Share:
Source: github.comvia hn_claude_code, devto_claudecodeMulti-Source
How do I add a status line to Claude Code showing worktree, branch, context, and quota?

Terminito is a bash script that adds a status line to Claude Code's interface, displaying the current worktree, branch, context usage, and quota. Install via `brew install arturlimaaa/tap/terminito && terminito install` or clone from GitHub. It writes the `statusLine` key to `~/.claude/settings.json` and takes effect on the next message.

TL;DR

Install terminito to get a live status line in Claude Code showing worktree, branch, context, and quota — no dependencies, no restart.

Key Takeaways

  • Terminito adds a zero-dependency status line to Claude Code showing worktree, branch, context, and quota.
  • Install via Homebrew or git clone, then run terminito install to update settings.json.

What Changed

Terminito is a new open-source tool that adds a persistent status line to Claude Code's terminal interface. It shows, at a glance:

  • Worktree and branch — which worktree you're in (linked or main) and the current branch name
  • Context usage — how much of the context window you've consumed, with a visual bar and percentage
  • Quota remaining — how much of your subscription quota is left, with a time estimate

It's a single bash script with zero dependencies — no jq, no Node, no Python. It doesn't even invoke git; it reads .git/HEAD directly. The render path spawns nothing, keeping it fast and lightweight.

What It Means For You

If you're juggling multiple worktrees or long Claude Code sessions, this status line removes the guesswork. You'll know instantly:

  • Which worktree you're in — especially important when you're deep in a refactor and might accidentally commit to the main checkout
  • How much context you've used — so you can decide when to compact or start a new session
  • How much quota you have left — so you can avoid hitting a wall mid-task

The design is thoughtful: the colored area represents what you've spent, so a fresh session shows quiet grey instead of alarming saturated cells. Half-cells double the resolution near the end, where 95% and 100% are visually distinct. And the countdown next to the quota bar is the key: 91% 4m means wait it out, but 91% 4h51m means switch models now.

Try It Now

I Found This Claude Code Statusline That Makes My Terminal ...

Installation

With Homebrew:

brew install arturlimaaa/tap/terminito && terminito install

Without Homebrew (or on Windows Git Bash):

git clone https://github.com/arturlimaaa/terminito ~/terminito && ~/terminito/terminito install

The install command writes the statusLine key into ~/.claude/settings.json and keeps a .bak beside it. Claude Code picks it up on its next message — no restart needed.

Safety and troubleshooting

  • Re-running install is a no-op. If you already have a different status line, it stops and tells you rather than overwriting.
  • Use install --force to replace an existing status line.
  • Use install --print to see the snippet and paste it manually.
  • If nothing appears, run terminito doctor. If checks pass but the row is missing, terminito doctor --trace on shows whether Claude Code is actually invoking it.

What the status line looks like

⎇ northwind-service-roster feat/source-roster-cursor ◆ Opus
ctx ██████▌░░░ 68% 5h ████░░░░░░ 41% 2h13m wk ██░░░░░░░░ 23% 4d

Row 1 shows your worktree (⎇ for linked, ◉ plus amber name for main checkout) and branch. Row 2 shows context usage and quota. The two rows join into one when the terminal is wide enough.

Portability

Runs on Windows Git Bash, macOS (both stock /bin/bash 3.2.57 and Homebrew bash 5), and Linux. CI runs golden files on all three and asserts byte-identical output. On Windows, use forward slashes or ~ in the settings path — Git Bash treats unquoted backslashes as escape characters.

Why It Works

The status line is rendered entirely in bash, reading .git/HEAD directly instead of spawning git. This keeps it fast and dependency-free. The 300ms debounce budget (tested in tests/perf.sh) ensures it doesn't slow down your terminal. Every design decision — the color ramp, the CP437 glyph subset, the locked lane widths, the 78-column budget — is backed by a measurement or failure case documented in DESIGN.md.

If you're already using Claude Code for complex, multi-worktree work, terminito is a small addition that pays off every session. Install it, configure it, and never lose track of where you are or what you have left.


Source: github.com

Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from multiple verified sources, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

Claude Code users should treat terminito as a situational-awareness layer. The biggest win is the quota countdown: instead of guessing when to stop or switch models, you now have a hard number. For long-running agents or batch jobs, that's the difference between a clean stop and a hard interruption. Add `terminito install` to your setup script or dotfiles so every new machine gets the status line automatically. For multi-worktree workflows, the worktree indicator prevents costly mistakes. If you frequently switch between feature branches, the visual distinction between linked worktrees and the main checkout (amber name) is a subtle but powerful guard. Pair it with Claude Code's subagent parallelism (removed in 2.1.224) to keep track of which context each session is using. Finally, the zero-dependency design is a model for other Claude Code tooling. If you're building your own status line or hooks, consider reading `.git/HEAD` directly instead of shelling out to git — it's faster and avoids spawning processes. Terminito's approach to debouncing (300ms) and graceful failure (`doctor`) are patterns worth copying.
This story is part of
Hugging Face Becomes the Neutral Ground Where Google and Anthropic's Agent Protocol War Converges
As Claude Code's MCP dominance threatens Google Cloud, Hugging Face's unique position as partner to both players creates an unexpected convergence zone
Compare side-by-side
Claude Code vs Terminito

Mentioned in this article

Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Products & Launches

View all