ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 Gooner44

staff-board

查看這台電腦上的每個 Claude Code 工作階段(Claude、Aesop、背景工作)、各自正在做什麼,以及正在執行的 agent。

Gooner44@Gooner44

Gooner44/ClaudeMods/tree/main/plugins/staff-board

已翻譯

關於這個 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 工作階段,例如 Claude、Aesop 和背景工作:每個工作階段正在做什麼、現在正在做什麼,以及它執行的 agent。

  • 提示列上方的帶狀區域:每個工作階段和它執行的每個 agent 都有一個小 Clawd 角色。角色工作時會行走,閒置時站立(偶爾眨眼)。每個角色旁邊有:

    • 名稱和狀態(工作了多久,或閒置)
    • 任務:工作階段目前的任務,或 agent 的任務描述
    • 此刻正在呼叫的工具
    • 模型,或 agent 所屬的工作階段

    目前的工作階段排在最前,接著是 Claude、Aesop 等,最後是背景工作。兩個外掛都安裝時,這條帶狀區域位於 usage-bar 的計量條下方。用 [-] 或 ctrl+x ctrl+a 收起。

  • 狀態列:一眼查看其他工作階段,例如 Aesop working · 1 agent | 2 jobs。

  • /staff:以文字發布同一個看板。手機上的 Remote Control 不會繪製帶狀區域,因此這是手機檢視畫面。

終端機中的角色是像素畫。桌面應用程式則顯示小型區塊字形。

工作方式:每個工作階段每隔幾秒把一張小卡片寫入 ~/.claude/staff-board/<session id>.json,並讀取其他人的卡片。超過 90 秒沒有更新的卡片會被視為已關閉。工作階段名稱來自 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.

更多類似作品