
我的 Claude Code 状态栏现在以 mod 运行,终于能在桌面版看到额度了
Reddit 展示帖:claude-dashboard v1.35 是一个由状态栏插件改成 mod 的作品,在桌面版加入仪表板面板和提示输入框上方的横幅,附安装命令与 GitHub 仓库。

关于这个 mod
claude-dashboard 的作者介绍,他把原来的状态栏插件改成了 mod,这样仪表板(上下文用量 %、会话花费、5 小时/7 天额度与重置倒计时)在桌面版也能看到。
/claude-dashboard-pane在对话记录旁打开仪表板面板。/claude-dashboard-band把它画在提示输入框上方。- 两者都能像终端状态栏一样自定义。
这个 mod 会构造和状态栏相同的 stdin JSON,再交给原有的渲染程序处理。v1.35.1 修复了 WSL 的 PATH 里找不到 node 的问题:它会先向登录 shell 查询一次,查不到再回退到 nvm、fnm、volta、Homebrew 的路径。
限制:只支持本地会话,云端会话不支持面板和横幅;mod API 目前也不提供每次请求的缓存 token。
安装:/plugin marketplace add uppinote20/claude-dashboard、/plugin install claude-dashboard、/claude-dashboard:setup。
安装
安装方法请查看原始来源。
原文 / README
https://preview.redd.it/op31ig1rmxth1.png?width=2210&format=png&auto=webp&s=013fe2037cbcfe679517bf226305e6d83f75609f I've been building claude-dashboard, a status line plugin for Claude Code, since January. It shows context %, session cost, and the 5h / 7d limits with a countdown to reset. The one place I couldn't see it was the desktop app. When mods came out I got sidetracked and made a pixel pet first, but v1.35 finally does what I originally wanted. /claude-dashboard-pane opens the dashboard in a pane next to the transcript, and /claude-dashboard-band draws it right above the prompt input. Both can be customized the same way as the terminal status line, so you can pick a preset or your own widget lines for each. Under the hood the mod builds the same stdin JSON a status line gets and runs the existing renderer, so every widget, theme and language works without a second implementation. Then I shipped it and the pane was blank on my WSL setup. The terminal status line was fine, but every pane render failed with ENOENT: Executable not found in $PATH: "node". The desktop app starts the CLI without sourcing ~/.bashrc, and $.process.run execs directly with no shell, so a node installed through nvm just isn't there. v1.35.1 only reacts to that failure: it asks your login shell once, falls back to the usual nvm / fnm / volta / Homebrew paths, and remembers the answer for the session. About 4 seconds on my machine, once per session. If you're writing your own mod that shells out to node, you'll probably run into the same thing. It works in local sessions only. Cloud sessions in the desktop app don't seem to support panes or bands, and the mod API doesn't expose per-request cache tokens, so the last-request cache hit widget is hidden there. https://github.com/uppinote20/claude-dashboard /plugin marketplace add uppinote20/claude-dashboard /plugin install claude-dashboard /claude-dashboard:setup Setup asks whether you want the pane, the band, or both. submitted by /u/uppinote [link] [comments]
