Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
hud, monitoring, statusline, context, tools, agents, todos, claude-code
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code 全视状态栏 — 全功能默认开启、Hook 防护监控、违规检测、子代理追踪
Fork 自 jarrodwatts/claude-hud v0.0.12,MIT 协议。
| 特性 | 官方 claude-hud | overwatch |
|---|---|---|
| 默认功能开关 | 大部分关闭,需手动开启 | 全部默认开启 |
| 推理深度显示 | 无 | [Opus 4.6 | Max] 跟随 effort 配置 |
| Provider 标签 | 无 | Bedrock / API 自动识别 |
| Hook 防护监控 | 无 | 防护类/事件类分组统计 + ↳ 详情行 |
| 违规检测详情 | 无 | 最新违规模式 + 时间 + 分类 + 解释 |
| 研究优先拦截 | 无 | 拦截文件 + 原因追踪 |
| 子代理活动追踪 | 无 | 启动/停止事件中文化显示 |
| 详情行自动隐藏 | 无 | 10 分钟无新触发自动隐藏 |
| 会话词元标签 | 硬编码 Tokens/in:/out: | i18n 国际化(中文词元/英文Tokens) |
| 界面语言 | 默认英文 | 默认中文(可切换英文) |
以下默认值与官方不同(均可通过配置覆盖):
| 配置项 | 官方默认值 | overwatch 默认值 |
|---|---|---|
language | en | zh |
showSeparators | false | true |
pathLevels | 1 | 2 |
contextValue | percent | both(百分比+词元数) |
showConfigCounts | false | true |
showCost | false | true |
showDuration | false | true |
showSpeed | false | true |
showTools | false | true |
showAgents | false | true |
showTodos | false | true |
showSessionName | false | true |
showClaudeCodeVersion | false | true |
showMemoryUsage | false | true |
showSessionTokens | false | true |
showOutputStyle | false | true |
gitStatus.showAheadBehind | false | true |
gitStatus.showFileStats | false | true |
sevenDayThreshold | 80 | 0(始终显示) |
理念:上游以最小化显示为默认,本 fork 以"全量信息、开箱即用"为目标。
在上游 18 个 key 基础上新增 5 个(另同步上游 label.cost,共 23 key):
| Key | 英文 | 中文 | 用途 |
|---|---|---|---|
label.cost | Cost | 费用 | 原生费用标签(同步上游) |
label.tokens | Tokens | 词元 | 会话词元行标题 |
label.ccVersion | CC v | CC 版本 | Claude Code 版本前缀 |
label.sessionTokenPrefix | tok | 词元 | 紧凑模式词元前缀 |
format.minutes | m | 分钟 | 时长分钟单位 |
format.hours | h | 小时 | 时长小时单位 |
project.ts 新增推理深度显示,在模型标签中追加 effort 等级:
CLAUDE_CODE_EFFORT_LEVEL 环境变量 > ~/.claude/settings.json 的 effortLevel[Opus 4.6 | Max]、[Opus 4.6 | High]、[Opus 4.6 | Medium]、[Opus 4.6 | Low]default 值不显示[Opus 4.6 | Bedrock]、[Opus 4.6 | API]environment.ts 大幅扩展,上游仅显示配置计数,本 fork 新增:
数据来源(需配合对应 hook 脚本):
~/.claude/logs/hook-counters.csv — 各 hook 触发计数~/.claude/logs/stop-phrase-violations.log — 违规拦截记录~/.claude/logs/research-first-violations.log — 研究优先拦截记录~/.claude/logs/subagent.log — 子代理生命周期~/.claude/logs/hook-events.log — 防护/事件/空闲详情(新增)上游 session-tokens.ts 和 session-line.ts 使用硬编码英文,本 fork 改用 t() 函数实现多语言。
上游已升级为 resolveSessionCost(),支持原生 cost.total_cost_usd 字段。本 fork 仍使用 estimateSessionCost()(label.cost i18n key 已同步,渲染逻辑待跟进)。
'unknown' 改为 subagent_type → name → 'agent' 三级回退,避免显示 unknownrenderSessionInfoLinegetProviderLabel() 检测 Bedrock 模型 ID 和 ANTHROPIC_API_KEY 环境变量/install-plugin https://github.com/mason369/claude-hud-overwatch
然后运行 setup 并重启 Claude Code:
/claude-hud-overwatch:setup
~/.claude/claude-hud-overwatch/cd ~/.claude/claude-hud-overwatch
npm ci && npm run build
/claude-hud-overwatch:setup 配置 statusLine配置文件位于 ~/.claude/plugins/claude-hud/config.json
| 模式 | 说明 |
|---|---|
expanded(展开模式) | 多行显示,每个信息段独占一行 |
compact(紧凑模式) | 单行显示,所有信息压缩到一行 |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub mason369/claude-hud-overwatch --plugin claude-hudPlugins from other owners that cover similar ground