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

我用自訂 Stream Deck 外掛優化了並行 Claude 編碼工作階段(Claude Code、VS Code + Dev Container)

一個 Stream Deck 外掛,透過脈衝警示和針對 5 小時及每週配額限制的按鍵,顯示每個 Claude Code 工作階段的狀態(工作中、等待許可、完成),使用 `claude agents --json` 和可選的 hook 修改。

已翻譯

關於這個 mod

一個免費的個人使用 Stream Deck 外掛,Code Command Center,為每個 Claude Code 工作階段提供獨立的按鍵:藍色表示工作中,橙色表示等待(附帶原因),綠色表示完成,等待五分鐘後脈衝警示。按一下即可聚焦 Claude 應用程式或確切的 VS Code 視窗,包括 Dev Containers。兩個額外按鍵追蹤 5 小時和每週限制,並標記均勻使用。它只讀取狀態,從不回答提示;工作階段狀態來自 claude agents --json,配額按鍵需要一個小型 Claude Code hook 修改,將數字寫入檔案。

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add ThomasAlbin/code-command-center
claude plugin install deck-bridge@code-command-center
原文 / README

Disclosure: I made this, and it's free for personal use. I usually have a few Claude Code sessions running, some in the Claude app and some in VS Code. Too often one had stopped to ask for permission, and I only noticed much later because I was in another window. So I built Code Command Center, a Stream Deck plugin that gives every session its own key: 🟦 blue: working 🟧 orange: waiting for me, with the reason ("permission") 🟩 green: done After five minutes of waiting, the key starts to pulse. One press brings up the Claude app, or the exact VS Code window the session runs in, Dev Containers included. Two more keys watch the 5-hour and weekly limits. A white tick marks where even use would be right now. If the bar is past it, the key tells me when I'll run out, before the reset comes. How Claude helped: I built it with Claude Code in about a week: plain JavaScript, tests, every key drawn as SVG, etc. It only reads: it never answers a prompt or sends anything into a session. Session status comes from claude agents --json. The quota keys need a tiny Claude Code mod (one hook that writes the numbers to a file); the session keys work without it. I developed and tested it on macOS and Stream Deck. I will also upload a short video on my YouTube channel later this day. Tell me what you think :) https://github.com/ThomasAlbin/code-command-center submitted by /u/MrAstroThomas to r/ClaudeAI [link] [comments]

更多類似作品