back to home

jarrodwatts / claude-hud

A Claude Code plugin that shows what's happening - context usage, active tools, running agents, and todo progress

View on GitHub
11,483 stars
487 forks
4 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing jarrodwatts/claude-hud in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/jarrodwatts/claude-hud)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Claude HUD A Claude Code plugin that shows what's happening — context usage, active tools, running agents, and todo progress. Always visible below your input. Install Inside a Claude Code instance, run the following commands: **Step 1: Add the marketplace** **Step 2: Install the plugin** ⚠️ Linux users: Click here first On Linux, is often a separate filesystem (tmpfs), which causes plugin installation to fail with: **Fix**: Set TMPDIR before installing: Then run the install command below in that session. This is a Claude Code platform limitation. **Step 3: Configure the statusline** ⚠️ Windows users: Click here if setup says no JavaScript runtime was found If setup says no JavaScript runtime was found on Windows, install one for your shell first. The simplest fallback is Node.js LTS: Then restart your shell and run again. Done! Restart Claude Code to load the new statusLine config, then the HUD will appear. On Windows, make that a full Claude Code restart after setup writes the new config. --- What is Claude HUD? Claude HUD gives you better insights into what's happening in your Claude Code session. | What You See | Why It Matters | |--------------|----------------| | **Project path** | Know which project you're in (configurable 1-3 directory levels) | | **Context health** | Know exactly how full your context window is before it's too late | | **Tool activity** | Watch Claude read, edit, and search files as it happens | | **Agent tracking** | See which subagents are running and what they're doing | | **Todo progress** | Track task completion in real-time | What You See Default (2 lines) • **Line 1** — Model, provider/auth label when relevant (for example or ), project path, git branch • **Line 2** — Context bar (green → yellow → red) and usage rate limits Optional lines (enable via ) --- How It Works Claude HUD uses Claude Code's native **statusline API** — no separate window, no tmux required, works in any terminal. **Key features:** • Native token data from Claude Code (not estimated) • Scales with Claude Code's reported context window size, including newer 1M-context sessions • Parses the transcript for tool/agent activity • Updates every ~300ms --- Configuration Customize your HUD anytime: The guided flow handles layout and display toggles. Advanced overrides such as custom colors and thresholds are preserved there, but you set them by editing the config file directly: • **First time setup**: Choose a preset (Full/Essential/Minimal), then fine-tune individual elements • **Customize anytime**: Toggle items on/off, adjust git display style, switch layouts • **Preview before saving**: See exactly how your HUD will look before committing changes Presets | Preset | What's Shown | |--------|--------------| | **Full** | Everything enabled — tools, agents, todos, git, usage, duration | | **Essential** | Activity lines + git status, minimal info clutter | | **Minimal** | Core only — just model name and context bar | After choosing a preset, you can turn individual elements on or off. Manual Configuration Edit directly for advanced settings such as , , and threshold overrides. Running preserves those manual settings. Options | Option | Type | Default | Description | |--------|------|---------|-------------| | | string | | Layout: (multi-line) or (single line) | | | 1-3 | 1 | Directory levels to show in project path | | | string[] | | Expanded-mode element order. Omit entries to hide them in expanded mode. | | | boolean | true | Show git branch in HUD | | | boolean | true | Show for uncommitted changes | | | boolean | false | Show for ahead/behind remote | | | boolean | false | Show file change counts | | | boolean | true | Show model name | | | boolean | true | Show visual context bar | | | \| \| \| | | Context display format ( , , remaining, or ) | | | boolean | false | Show CLAUDE.md, rules, MCPs, hooks counts | | | boolean | false | Show session duration | | | boolean | false | Show output token speed | | | boolean | true | Show Claude subscriber usage limits when available | | | boolean | true | Display usage as visual bar instead of text | | | 0-100 | 80 | Show 7-day usage when >= threshold (0 = always) | | | boolean | true | Show token details at high context (85%+) | | | boolean | false | Show tools activity line | | | boolean | false | Show agents activity line | | | boolean | false | Show todos progress line | | | boolean | false | Show session slug or custom title from | | | boolean | false | Show the installed Claude Code version, e.g. | | | boolean | false | Show an approximate system RAM usage line in expanded layout | | | color value | | Base color for the context bar and context percentage | | | color value | | Base color for usage bars and percentages below warning thresholds | | | color value | | Warning color for context thresholds and usage warning text | | | color value | | Warning color for usage bars and percentages near their threshold | | | color value | | Critical color for limit-reached states and critical thresholds | | | color value | | Color for the model badge such as | | | color value | | Color for the project path | | | color value | | Color for git wrapper text such as and | | | color value | | Color for the git branch and branch status text | | | color value | | Color for labels and secondary metadata such as , , counts, and progress text | | | color value | | Color for the optional custom line | Supported color names: , , , , , , , . You can also use a 256-color number ( ) or hex ( ). is fully opt-in and only renders in layout. It reports approximate system RAM usage from the local machine, not precise memory pressure inside Claude Code or a specific process. The number may overstate actual pressure because reclaimable OS cache and buffers can still be counted as used memory. Usage Limits Usage display is **enabled by default** when Claude Code provides subscriber data on stdin. It shows your rate limit consumption…