Claude Code status line

Claude Code Status Line

A custom status line script for Claude Code that displays context window usage, git status, and model information.

65 stars 8 forksStatus lines Source

Install

From source
git clone https://github.com/shanraisshan/claude-code-status-line.git

From the README

Claude Code Status Line

Comparision with usage

Installation

1. Create the scripts directory (if it doesn't exist):

2. Copy the script:

   Or manually copy status-line.sh to ~/.claude/scripts/

3. Make it executable:

4. Configure Claude Code by adding to ~/.claude/settings.json:

5. Restart Claude Code to see the new status line.

Other Repos

  Claude CodeBest Practice

  Claude CodeHooks

  Codex CLIBest Practice

  Codex CLIHooks

  Gemini CLIBest Practice

  Gemini CLIHooks
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
Last updated
22 May 2026
Topics
agentic-developmentagentsaiclaudeclaude-codepakistan

FAQ

What is Claude Code Status Line?

A custom status line script for Claude Code that displays context window usage, git status, and model information. It is a status line for Claude Code, from shanraisshan/claude-code-status-line on GitHub.

How do I install Claude Code Status Line?

Clone shanraisshan/claude-code-status-line from GitHub and follow the setup steps in its README.

Is Claude Code Status Line popular?

shanraisshan/claude-code-status-line has 65 GitHub stars and 8 forks. It was last updated on 22 May 2026.

More status lines

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