ClaudeMods
☰
ZH-CN
● — 人在线 · 浏览 — 次
赞助提交作品
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]

更多类似作品