Gooner44/ClaudeMods/tree/main/plugins/staff-board
staff-board
查看这台电脑上的每个 Claude Code session(Claude、Aesop、后台任务)、各自正在做什么,以及正在运行的 agent。
关于这个 mod
ClaudeMods
Claude Code 的 mods,以插件市集的形式打包。
安装
/plugin marketplace add Gooner44/ClaudeMods
/plugin install usage-bar@claude-mods
/plugin install staff-board@claude-mods
也可以不安装就试用一个:
claude --plugin-dir path/to/ClaudeMods/plugins/usage-bar
这些插件使用 Claude Code 的 hooks-module 插件 API(基于 2.1.286);旧版本无法加载。
插件
usage-bar
提示框上方的带状区域显示计划限额的使用量:
- Session:5 小时窗口
- Weekly:7 天窗口
- Fable 5.1:每个模型的每周窗口(如果你的计划提供;否则显示 "no reading yet")
每项都会显示百分比、计量条和重置时间(时间采用 US Central)。达到 70% 后计量条变为琥珀色,达到 90% 后变为红色,并显示 "Nearing limit" / "At limit" 标签,因此状态不只依赖颜色。
桌面应用中计量条是实心条,终端中是细的 ━━━─── 线。使用量数据需要订阅登录,并在第一次回复后出现。
staff-board
查看这台电脑上运行的每个 Claude Code session,例如 Claude、Aesop 和后台任务:每个 session 正在做什么、当前在做什么,以及它运行的 agent。
-
提示框上方的带状区域:每个 session 和它运行的每个 agent 都有一个小 Clawd 角色。角色工作时会行走,闲置时站立(偶尔眨眼)。每个角色旁边有:
- 名称和状态(工作了多久,或闲置)
- 任务:session 当前任务,或 agent 的任务描述
- 此刻正在调用的工具
- 模型,或 agent 所属的 session
当前 session 排在最前,然后是 Claude、Aesop 等,最后是后台任务。两个插件都安装时,这条带状区域位于 usage-bar 的计量条下方。用
[-]或 ctrl+x ctrl+a 收起。 -
状态行:一眼查看其他 session,例如
Aesop working · 1 agent | 2 jobs。 -
/staff:以文字发布同一块看板。手机上的 Remote Control 不绘制带状区域,因此这是手机视图。
终端中的角色是像素画。桌面应用则显示一个小型块状字形。
工作方式:每个 session 每隔几秒把一个小卡片写入 ~/.claude/staff-board/<session id>.json,并读取其他人的卡片。超过 90 秒没有更新的卡片会被视为已关闭。session 名称来自 CLAUDE_STAFF(或 CLAUDE_TASK)环境变量;没有名称的显示为 Session <id>。后台(-p)运行会写入自己的卡片,但不会读取看板。
旧卡片会留在文件夹里(过期后会被忽略);随时可以删除文件夹内容。
安装
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add Gooner44/ClaudeMods claude plugin install staff-board
原文 / README
ClaudeMods
Mods for Claude Code, packaged as a plugin marketplace.
Install
/plugin marketplace add Gooner44/ClaudeMods
/plugin install usage-bar@claude-mods
/plugin install staff-board@claude-mods
Or try one without installing:
claude --plugin-dir path/to/ClaudeMods/plugins/usage-bar
These use Claude Code's hooks-module plugin API (built on 2.1.286); older versions won't load them.
Plugins
usage-bar
A band above the prompt showing how much of your plan's limits you've used:
- Session: the 5-hour window
- Weekly: the 7-day window
- Fable 5.1: a per-model weekly window, when your plan reports one (otherwise "no reading yet")
Each shows the percentage, a meter, and when it resets (times in US Central). The meter turns amber from 70% and red from 90%, with a "Nearing limit" / "At limit" label so the state never relies on color alone.
On the desktop app the meters are solid bars; in the terminal they're thin ━━━─── lines. Usage figures need a subscription login and appear after the first reply.
staff-board
See every Claude Code session running on this PC, such as Claude, Aesop and background jobs: what each is working on, what it's doing right now, and the agents it has running.
-
The band above the prompt: a little Clawd character for every session and every agent it's running. A character walks while it works and stands (blinking now and then) while idle. Next to each one:
- its name and state (working for how long, or idle)
- its job: the session's current task, or the agent's task description
- the tool it's calling right now
- the model, or which session an agent belongs to
This session comes first, then Claude, Aesop and the others, then background jobs. The band sits under usage-bar's meters when both are installed. Collapse it with
[-]or ctrl+x ctrl+a. -
Status line: the other sessions at a glance, e.g.
Aesop working · 1 agent | 2 jobs. -
/staff: posts the same board as text. Remote Control on the phone draws no band, so this is the phone's view.
The characters are pixel art in the terminal. The desktop app shows a small block glyph instead.
How it works: each session writes a small card to ~/.claude/staff-board/<session id>.json every few seconds, and reads everyone else's. A card that hasn't been updated for 90 seconds counts as closed. Sessions are named by the CLAUDE_STAFF (or CLAUDE_TASK) environment variable; unnamed ones show as Session <id>. Background (-p) runs write their card but don't read the board.
Old cards stay in the folder (they're ignored once stale); delete the folder's contents any time.
