Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

claude-hud

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

claude-hud

Custom status line for Claude Code CLI with model, git, context, cost, and usage timer

latest
npmnpm
Version
1.1.0
Version published
Weekly downloads
393
-13.44%
Maintainers
1
Weekly downloads
 
Created
Source

claude-hud

A custom status line for Claude Code that shows model, git info, context usage, cost, and time until rate limit reset.

🤖 Opus 4.6   🌿 main +12/-3   💭 ████████░░░░░░░░░░░░ 40%
💰 $1.08 spent   ⏱️  2h 30m until reset

Install

npx claude-hud

Restart Claude Code after installing.

What it does

  • Copies the statusline script to ~/.claude/statusline-command.sh
  • Adds the statusLine config to ~/.claude/settings.json
  • Installs ccusage globally (for cost tracking)

Requirements

  • jqbrew install jq (macOS) or sudo apt install jq (Linux)
  • Node.js 18+

Features

ElementDescription
🤖 ModelCurrent Claude model
🌿 GitBranch name + insertions/deletions
💭 Context barColor-coded usage (green/yellow/red)
💰 CostSpending in current 5-hour block (via ccusage)
⏱️ TimerTime until rate limit resets

Cost data is cached and refreshed every 5 minutes to minimize overhead.

Uninstall

npx claude-hud --uninstall

License

MIT

Keywords

claude

FAQs

Package last updated on 10 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts