By yearth
Real-time statusline HUD for Claude Code - context health, tool activity, agent tracking, and todo progress
A fork of jarrodwatts/claude-hud with a restructured render engine and git worktree support.
For full feature documentation, see the original README.
The original HUD has a fixed set of lines. This fork rewrites the render engine into a three-layer composable pipeline:
Layout (ordered list of RowIds)
└─ Row (a named group of CellIds)
└─ Cell (a single renderable unit)
This lets you do things the original doesn't support — like moving individual cells between rows, reordering rows, or hiding specific rows entirely via config:
{
"layout": ["session", "activity", "location"],
"rows": {
"session": ["agent-identity", "model", "duration", "context"]
}
}
Default layout:
| Row | Default cells |
|---|---|
session | agent-identity, model, duration, context |
memory | memory |
environment | environment |
activity | tools, agents, todos |
tokens | session-tokens, custom, usage |
location | directory, git, worktree |
Remove a row from layout to hide it. Override rows.<id> to reorder or swap cells within a row.
When you have multiple Claude Code sessions running, the agent-identity cell shows which agent this session is registered as:
ʕ•ᴥ•ʔ bright-fox │ Opus 4.6 │ 22m │ Context 8%
Reads from ~/.agent/identity-<pid>. Hidden automatically if the file doesn't exist.
When inside a git worktree, the location row shows which worktree you're in:
~/projects/my-repo git:(main) my-repo:(feature-branch)
Hidden automatically in the main worktree. Controlled by gitStatus.showWorktree (default: true).
curl -fsSL https://raw.githubusercontent.com/yearth/oh-my-claude-hud/main/install.sh | bash
Then reload Claude Code:
/reload-plugins
Step 1: Clone and build
git clone https://github.com/yearth/oh-my-claude-hud ~/path/to/oh-my-claude-hud
cd ~/path/to/oh-my-claude-hud
npm ci && npm run build
Step 2: Create a wrapper script
cat > ~/.claude/claude-hud-wrapper.sh << 'EOF'
#!/bin/bash
NODE=/path/to/node
HUD_SCRIPT=/path/to/oh-my-claude-hud/dist/index.js
COLUMNS=$(tput cols 2>/dev/null || echo 200)
export COLUMNS
export CLAUDE_PID=$PPID
"$NODE" "$HUD_SCRIPT"
EOF
chmod +x ~/.claude/claude-hud-wrapper.sh
CLAUDE_PID=$PPIDis required for the agent-identity cell to work correctly.
Step 3: Point Claude Code at the wrapper
Edit ~/.claude/settings.json:
{
"statusLine": {
"command": "/Users/you/.claude/claude-hud-wrapper.sh"
}
}
Step 4: Reload
/reload-plugins
Built on top of jarrodwatts/claude-hud — MIT licensed.
MIT — see LICENSE
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub yearth/oh-my-claude-hud --plugin claude-hudReal-time statusline HUD for Claude Code - context health, tool activity, agent tracking, and todo progress
Real-time statusline HUD for Claude Code with Cubence balance display
Terminal HUD for Claude Code — real-time token, cost, git, and project monitor
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Comprehensive C4 architecture documentation workflow with bottom-up code analysis, component synthesis, container mapping, and context diagram generation
Persistent file-based planning for AI coding agents. Crash-proof markdown plans (task_plan.md, findings.md, progress.md) that survive context loss and /clear, with an opt-in completion gate and multi-agent shared state. Manus-style. Works with Claude Code, Codex CLI, Cursor, Kiro, OpenCode and 60+ agents via the SKILL.md standard. Includes Arabic, German, Spanish, and Chinese (Simplified and Traditional).