jarrodwatts/claude-hud
Local Claude Code status-line plugin for context, usage limits, and session activity
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Claude HUD is a local Claude Code status-line plugin, not an MCP server or a model gateway. After each Claude Code message, the status-line path reads stdin and session transcript data, combines it with Claude configuration and local repository metadata, and renders terminal text. The tree includes TypeScript logic in src/, a dist/ directory, and root-level modules such as hud.mjs, collector.mjs, and fence.mjs.
The runtime separates rendering logic from privileged operations. Node permissions constrain process creation, credential reads, and writes outside the HUD data directory, while an import fence restricts access to Node networking modules and globals. A separate component executes fixed Git, Jujutsu (jj), and memory probes. The architecture draws a similar boundary in GitHub maintenance jobs: the unprivileged maintainer agent exchanges file-based inputs and outputs without direct access to keys.
Key Capabilities & Differentiators
The default two-line layout displays the current model, project path, and Git branch, followed by context consumption and subscriber usage limits. Context colors change as the window fills; usage can show a reset countdown. Bedrock, Vertex, and MiniMax are examples of detected provider labels, not backends the plugin provisions or routes traffic to.
Optional lines expose active tools and completion counts, running agents and elapsed time, and todo progress. /hud can preview configuration changes before saving, undo the last change, replay the last real render for diagnosis, and prepare a scrubbed bug report for the user to inspect before filing. These are local session visibility and troubleshooting features, not fleet-wide telemetry.
Trade-offs & Limitations
A hand-written status-line script is easier to audit and maintain if it only prints a few static fields. Claude HUD is a better fit when the alternative is maintaining transcript parsing, configuration previews, multiple layouts, and render diagnostics yourself. The cost is an extra Node runtime and plugin lifecycle, plus dependence on Claude Code's status-line and session data. It does not consolidate telemetry across sessions or editors.
The local refresh path needs no GPU or model weights, but it still parses data and queries repository state. Benchmark it with representative transcripts and repositories if refresh responsiveness matters. Leave --extra-cmd disabled unless you trust the command and need it: setting CLAUDE_HUD_ALLOW_EXTRA_CMD=1 permits arbitrary shell code to run on every refresh.
Hardware & Deployment Guide
Install the marketplace and plugin with /plugin marketplace add jarrodwatts/claude-hud and /plugin install claude-hud, then run /reload-plugins and /hud in Claude Code. The setup flow asks before pointing the status line at the HUD. The runtime requires Claude Code 2.1.260 or later and Node.js 22.18 or later. Bun can start the HUD, but Node still runs it. No separate container, database, or model server is needed. Third-party plugin auto-update is opt-in.
Prefer v0.15.0 over v0.14.2 and earlier, particularly if users open repositories they do not control: the release closes command-execution paths through repository Git configuration and prevents HUD Git probes from using the network. If CLAUDE_CODE_PLUGIN_CACHE_DIR was customized, v0.14.2 introduced support for locating the moved cache; rerun /claude-hud:setup once to refresh the copied launcher. v0.14.1 fixed Windows links to paths containing non-ASCII characters.
/hud previews edits before saving, can undo the last change, and can replay the last render.CLAUDE_HUD_DISABLE=1 disables the HUD for one session.Claude Code users who want context pressure, subscriber usage, and tool or agent progress visible without leaving the terminal.
You need telemetry across editors or sessions, cannot run Node.js 22.18 or later, or only need a few fields that a small status-line script can display.
Quick Start & Installation
git clone https://github.com/jarrodwatts/claude-hud cd claude-hud npm ci && npm test
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| claude-hud ★ | 29.4k | +49 | JavaScript | MIT | Local Claude Code status-line plugin for context, usage limits, and session acti |
| rtk | 88.7k | +684 | Rust | Apache-2.0 | A local Rust CLI wrapper that trims command output before coding agents read it. |
| ECC | 316.1k | +4.2k | JavaScript | MIT | Plugins and CLI workflows for planning, reviewing, and verifying agent-written c |
| caveman | 124.8k | +1.4k | Go | Apache-2.0 | Coding-agent skill and local Go proxy for shorter replies and smaller tool outpu |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/jarrodwatts/claude-hud.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about claude-hud
How does the HUD integrate with Claude Code?
What hardware does it need, and how much overhead does it add?
Can a company deploy or redistribute it internally?
When is a custom status-line script a better choice?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy