Claude Code status line

Barista

A modular statusline for Claude Code CLI - real-time context usage, rate limits, costs, git status, and 20+ customizable modules

27 stars 5 forksStatus lines Source

Install

Install
brew install jq

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/pstuart/Barista.git

From the README

Barista β˜•

Serving up fresh stats for your Claude Code sessions.

A feature-rich, modular statusline for Claude Code CLI that brews real-time development information including context usage, rate limits, costs, and more.

What's New in v1.8.0 πŸ†•

- barista config TUI - Reconfigure modules, theme, and WAN privacy post-install without re-running the installer (barista config, --show, --set, --toggle)
- Homebrew install - brew tap pstuart/tap && brew install barista (primary path; git clone still supported)

v1.7.0

- Smart 429 Backoff - Respects Retry-After headers for precise backoff timing instead of fixed delays
- Unknown Module Fix - Installer no longer errors on unrecognized module names in config
- Privacy Hardening - WAN IP lookup is now opt-in and redacted by default
- Security Hardening - Config injection, eval usage, token exposure, and download validation improvements

v1.6.1

- Private credential file - Reads Claude Code OAuth from an owner-only .credentials.json file. No system Keychain access or migration. File permissions do not protect against other processes running as the same user.
- Fail-closed credentials - Missing, unsafe, malformed, or unrelated credential files return no token without invoking security.

v1.6.0

- Rate Limit 429 Backoff - Automatically backs off API calls after receiving 429 responses
- Version Display - Shows current Barista version in installer and statusline
- Update Checker - Enhanced update checking from GitHub releases

v1.5.0

- Smart Terminal Layout - New LAYOUT_MODE setting with intelligent line wrapping
  - smart (default) - Wraps at separator boundaries when content exceeds terminal width
  - newline - Forces Claude's right-side info to next line
  - wrap - Pads output to line boundary
  - truncate - Cuts output with…
Read the full README on GitHub

How status lines work

  • A status line is a command Claude Code runs to draw the bar under the prompt. It gets the session as JSON on stdin (model, folder, cost, context) and prints one or more lines.
  • Point the statusLine setting in ~/.claude/settings.json at it: { "statusLine": { "type": "command", "command": "<the command from the README>" } }.
  • Or run /statusline inside Claude Code and describe what you want.
Claude Code docs

Details

Language
Shell
License
MIT
Last updated
2 November 2026
Topics
anthropicbashclaudeclaude-codeclideveloper-toolsmacosshellstatuslineterminal

FAQ

What is Barista?

A modular statusline for Claude Code CLI - real-time context usage, rate limits, costs, git status, and 20+ customizable modules It is a status line for Claude Code, from pstuart/Barista on GitHub.

How do I install Barista?

Run brew install jq, then follow the setup in the README.

Is Barista popular?

pstuart/Barista has 27 GitHub stars and 5 forks. It was last updated on 2 November 2026.

More status lines

Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.