Claude Code status line

claude-limitline

A status line focused on real-time usage limits and weekly tracking.

25 stars 10 forksStatus lines Source

Install

Install
npm install -g claude-limitline
From source
git clone https://github.com/tylergraydev/claude-limitline.git

From the README

claude-limitline

A powerline-style statusline for Claude Code showing real-time usage limits, git info, and model details.

Features

- Powerline Style - Beautiful segmented display with smooth transitions
- 5-Hour Block Limit - Shows current usage percentage with time remaining until reset
- 7-Day Rolling Limit - Tracks weekly usage with progress indicator
- Repository Name - Displays current project/directory name
- Git Branch - Shows current branch with dirty indicator (●)
- Claude Model - Displays the active model (Opus 4.5, Sonnet 4, etc.)
- Multiple Themes - Dark, light, nord, gruvbox, tokyo-night, and rose-pine
- Real-time Tracking - Uses Anthropic's OAuth usage API for accurate data
- Cross-Platform - Works on Windows, macOS, and Linux

Example Output

Prerequisites

- Node.js 18.0.0 or higher
- Claude Code CLI installed and authenticated (for OAuth token)
- Nerd Font (recommended, for powerline symbols)

Installation

From npm (recommended)

From Source

See Development section, then run npm link to make it available globally.

Quick Start

Add to your Claude Code settings file (~/.claude/settings.json):

That's it! The status line will now show your usage limits in Claude Code.
Tip: For faster startup, use "command": "claude-limitline" after installing globally.

Configuration

Create a claude-limitline.json file in your Claude config directory (~/.claude/claude-limitline.json) or .claude-limitline.json in your current working directory:

Configuration Options

Weekly View Modes

The weekly segment supports two view modes for displaying usage limits:

Note: Model-specific limits (Opus/Sonnet) are only available on certain subscription tiers. Smart mode shows only overall usage when using Opus/Haiku, and shows both Sonnet and overall when using…
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
TypeScript
License
MIT
Last updated
9 March 2026

FAQ

What is claude-limitline?

A status line focused on real-time usage limits and weekly tracking. It is a status line for Claude Code, from tylergraydev/claude-limitline on GitHub.

How do I install claude-limitline?

Run npm install -g claude-limitline, then follow the setup in the README.

Is claude-limitline popular?

tylergraydev/claude-limitline has 25 GitHub stars and 10 forks. It was last updated on 9 March 2026.

More status lines

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