hud

monitoringstatuslinev0.0.8

Real-time statusline — context health, tool activity, agent tracking, and todo progress.

Install

/plugin install hud@kellymears

Fork of Jarrod WattsMIT
claude-codestatuslinehud

Commands (2)

/hud:configure

Configure HUD display options (layout, presets, display elements)

/hud:setup

Configure the statusline plugin

Documentation

Configuration

Config is stored at ~/.claude/plugins/hud/config.json. You can edit it directly or use the interactive command:

/hud:configure

Presets

Three presets provide starting points. Use /hud:configure to select one and then fine-tune individual elements.

PresetActivityInfoGit
FullTools, Agents, TodosCounts, Tokens, Usage, DurationBranch + dirty
EssentialTools, Agents, TodosDuration onlyBranch + dirty
Minimal (default)Branch + dirty

All presets include the always-on core: model name and context bar.

Layouts

Expanded (default)

Splits the display into semantic lines:

[Opus | Pro] │ my-project git:(main*)
Context ████░░░░░ 45% │ Usage ██░░░░░░░░ 25% (1h 30m / 5h)
◐ Edit: file.ts | ✓ Read ×3
▸ Fix auth bug (2/5)

Compact

Everything on a single line:

[Opus | Pro] ████░░░░░ 45% | my-project git:(main*) | 5h: 25% | ⏱️ 5m
◐ Edit: file.ts | ✓ Read ×3

Compact + Separators

Same as compact with a visual separator before the activity section:

[Opus | Pro] ████░░░░░ 45% | my-project git:(main*) | 5h: 25%
─────────────────────────────────────────────────────
◐ Edit: file.ts | ✓ Read ×3

Layout config:

LayoutlineLayoutshowSeparators
Expanded"expanded"false
Compact"compact"false
Compact + Separators"compact"true

Display Elements

Every element can be toggled independently:

ElementConfig KeyExample
Tools activitydisplay.showTools◐ Edit: file.ts │ ✓ Read ×3
Agent statusdisplay.showAgents◐ explore [haiku]: Finding code
Todo progressdisplay.showTodos▸ Fix bug (2/5 tasks)
Git statusgitStatus.enabledgit:(main* ↑2 ↓1)
Config countsdisplay.showConfigCounts2 CLAUDE.md │ 4 rules │ 1 MCP
Token breakdowndisplay.showTokenBreakdown(in: 45k, cache: 12k)
Output speeddisplay.showSpeedout: 42.1 tok/s
Usage limitsdisplay.showUsage5h: 25% │ 7d: 10%
Usage bar styledisplay.usageBarEnabled██░░ 25% (1h 30m / 5h) vs 5h: 25%
Session durationdisplay.showDuration⏱️ 5m

Always on (not configurable): model name (display.showModel) and context bar (display.showContextBar).

Git Styles

Control how much git information the branch indicator shows:

StyleExampleConfig
Branch onlygit:(main)showDirty: false, showAheadBehind: false
Branch + dirtygit:(main*)showDirty: true, showAheadBehind: false
Full detailsgit:(main* ↑2 ↓1)showDirty: true, showAheadBehind: true
File statsgit:(main* !2 +1 ?3)showDirty: true, showFileStats: true

Advanced Options

KeyTypeDefaultDescription
display.usageThresholdnumber0Only show usage line when >= N% consumed
display.environmentThresholdnumber0Only show environment line when config counts >= N
display.autocompactBufferstring"enabled""enabled" shows buffered % (matches /context with autocompact on), "disabled" shows raw %
pathLevelsnumber1Number of directory segments to show (1–3)

Example Config

{
  "lineLayout": "expanded",
  "showSeparators": false,
  "pathLevels": 2,
  "display": {
    "showTools": true,
    "showAgents": true,
    "showTodos": true,
    "showUsage": true,
    "usageBarEnabled": true,
    "showDuration": false,
    "showConfigCounts": false,
    "showTokenBreakdown": false,
    "showSpeed": false,
    "usageThreshold": 10,
    "autocompactBuffer": "enabled"
  },
  "gitStatus": {
    "enabled": true,
    "showDirty": true,
    "showAheadBehind": false,
    "showFileStats": false
  }
}