harnesslog.dev

Claude Code, AI, and development stories

EN · KO
H
hwangjungmin

Here’s my Claude Code statusline config. It shows git branch, current model, rate limits (5h / weekly), session duration, context %, running agents, and tool call counts — all at a glance.

Setup is two steps:

  1. Copy the script from this gist to ~/.claude/statusline/hud.mjs

  2. Add this to ~/.claude/settings.json:

{
  "statusLine": {
    "type": "command",
    "command": "node /Users/YOUR_USERNAME/.claude/statusline/hud.mjs"
  }
}

That’s it. Restart Claude Code and the HUD shows up at the bottom of your terminal.

The rate limit info is the most useful part for me — no more guessing how much quota is left. Context % also helps me stay around my 20k target.