
Claude HUD
PluginClaude Code 状态栏插件,在输入框下方实时显示模型、Git 分支、上下文占用与用量限额,可选显示正在执行的工具、运行中的子代理与待办进度。
Claude HUD
A Claude Code plugin that shows what's happening: context usage, rate limits, active tools, running agents, and todo progress, always visible below your input.

🌐 English | 中文文档
Install
Inside Claude Code, run:
/plugin marketplace add jarrodwatts/claude-hud
/plugin install claude-hud
/reload-plugins
/hud
/hud checks your setup and points your status line at the HUD, after asking you. It needs Node.js 22.18 or later; if yours is older, /hud finds a newer one on your machine or helps you install one.
Prefer the terminal?
claude plugin marketplace add jarrodwatts/claude-hud
claude plugin install claude-hud@claude-hud
Then run /reload-plugins and /hud inside a session.
Updates: Claude Code doesn't auto-update third-party plugins by default. To turn it on, run /plugin, open Marketplaces, select claude-hud, and choose Enable auto-update. Or update by hand with claude plugin marketplace update claude-hud and claude plugin update claude-hud@claude-hud, then /reload-plugins. You don't need to set it up again.
What You See
The default is two lines:
[Opus] │ my-project git:(main*)
Context █████░░░░░ 45% │ Usage ██░░░░░░░░ 25% (resets in 1h 30m)
- Line 1: model, a provider label when one is detected (
Bedrock,Vertex,MiniMax), project path, and git branch. - Line 2: context used (green, then yellow, then red as it fills) and your subscriber rate limits.
Optional lines include tools, agents and todos, plus about a hundred other options:
◐ Edit: auth.ts | ✓ Read ×3 | ✓ Grep ×2 ← tools
◐ explore [haiku]: Finding auth code (2m 15s) ← agents
▸ Fix authentication bug (2/5) ← todos
Change It, Fix It, Report It
Ask Claude, or type /hud and say what you want: "show tool activity", "use the compact layout", "the HUD is blank", "the context bar looks wrong". Claude looks up the options, shows you a preview, and saves the change once you approve it. /hud also undoes the last change, replays the last real render to explain what you see, and, for a real bug, writes a scrubbed report that you read in full before anything is filed.
Settings live in ~/.claude/plugins/claude-hud/config.json (under $CLAUDE_CONFIG_DIR if set). To turn the HUD off for one session, start Claude Code with CLAUDE_HUD_DISABLE=1.
Security
The HUD's logic runs in a locked-down Node process. Node's permission model blocks it from starting programs, reading your credentials, and writing anywhere but its own data folder. An import fence keeps Node's network modules and globals out of its reach; that fence blocks every way out found so far, and is tested against each one on every change. A small separate file runs the fixed git, jj and memory commands it needs. The HUD reads Claude Code's stdin, the session transcript, Claude config files, and git or jj metadata for the current directory, and calls no undocumented APIs.
--extra-cmd runs a shell command on every refresh and puts its output on the first line. It is ignored unless CLAUDE_HUD_ALLOW_EXTRA_CMD=1 is set in the HUD's environment. Treat it as arbitrary code execution and never use a command from an untrusted source.
Requirements
- Claude Code v2.1.260 or later
- Node.js 22.18 or later (Bun can start the HUD, which then runs on Node)
Development
git clone https://github.com/jarrodwatts/claude-hud
cd claude-hud
npm ci && npm test
See CONTRIBUTING.md.
License
MIT. See LICENSE.
Star History
相关资源

ccstatusline
CLIClaude Code 状态栏定制工具:在终端底部显示模型、Git 分支、token 与上下文用量、会话和每周额度等信息,用交互式 TUI 配置,支持 Powerline 样式。仅适用于 Claude Code。
sirmalloc/ccstatusline13.7k
RTK (Rust Token Killer)
CLI在命令输出进入 agent 上下文之前做过滤和压缩的 Rust 命令行代理,覆盖 git、测试、grep、ls 等上百种命令,最多可减少约 90% 的 bash 输出;通过钩子自动改写 Claude Code、Codex 等 agent 执行的命令。
rtk-ai/rtk88.2k
Caveman
Plugin让 agent 用「原始人」式极简措辞回答:只压缩说明文字,代码、命令与报错原样保留,以减少输出 token;另附本地代理,压缩日志、测试输出等读入内容。支持 Claude Code、Codex 等 30 多个 agent。
JuliusBrussee/caveman124k
Caveman
Skill让 agent 用极简的「原始人」口吻回答,只压缩说明文字,代码、命令与报错原样保留,显著减少输出 token;附带精简提交信息、代码评审与记忆文件压缩等技能,支持 30 多种 agent。
JuliusBrussee/caveman124k
Claude-Mem
Plugin跨会话持久记忆:用钩子自动记录工具调用并生成语义摘要,在新会话中注入相关上下文,支持检索历史与 Web 查看器。托管记忆服务需登录,也可改用自己的 Anthropic 计划或模型 Key。
thedotmack/claude-mem121k
CLAUDE.md Management
Plugin审计 CLAUDE.md 是否与代码库现状一致并给出质量评分,另用 /revise-claude-md 把本次会话学到的经验写回项目记忆。Anthropic 官方插件。
anthropics/claude-plugins-official48.8k