Claude Code status line

claude-statusline

A minimal personal status line setup for Claude Code.

1,402 stars 107 forksStatus lines Source

Install

Install
npx @kamranahmedse/claude-statusline
From source
git clone https://github.com/nilbuild/claude-statusline.git

From the README

claude-statusline

Configure your Claude Code statusline to show limits, directory and git info

Install

Run the command below to set it up

It backups your old status line if any and copies the status line script to ~/.claude/statusline.sh and configures your Claude Code settings.

Requirements

- jq — for parsing JSON
- curl — for fetching rate limit data
- git — for branch info

On macOS:

Uninstall

If you had a previous statusline, it restores it from the backup. Otherwise it removes the script and cleans up your settings.

License

MIT
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
3 April 2026

FAQ

What is claude-statusline?

A minimal personal status line setup for Claude Code. It is a status line for Claude Code, from nilbuild/claude-statusline on GitHub.

How do I install claude-statusline?

Run npx @kamranahmedse/claude-statusline, then follow the setup in the README.

Is claude-statusline popular?

nilbuild/claude-statusline has 1,402 GitHub stars and 107 forks. It was last updated on 3 April 2026.

More status lines

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