bassemustafa/watchducks
WatchDucks を構築しました — Claude Code サブエージェントと委任エージェント用のライブダッシュボード
WatchDucks は、サブエージェント、委任エージェント、バックグラウンド CLI 実行を追跡するためのインタラクティブな /flock サイドバーを追加するオープンソースの Claude Code モッドです。ライブステータス、モデル、エフォート、トークン、キャッシュ使用量、コスト、実行ごとのドシエ、レビュー結果を表示します。Claude Code フックに基づいて構築され、プロンプトやツール出力を保存せず、claude plugin install watchducks --marketplace bassemustafa/watchducks でインストールします。
この mod について
著者は、マルチエージェントワークフロー向けの MIT ライセンスの Claude Code モッドである WatchDucks の構築について説明しています。関数フックを使用して、委任された作業が開始されると自動的に /flock サイドバーを開き、サブエージェント、リレースクリプト、エージェント CLI 実行(Codex と Gemini CLI のステータスと経過時間を含む)、バックグラウンドシェルコマンドを追跡します。ダッシュボードには、ライブステータス、モデル、エフォートレベル、トークンとキャッシュの使用量と利用可能な場合のコスト、個々の実行ドシエ、現在のセッションまたは過去 30 日間の実装者とモデル別の使用量、および発見されたバグや編集呼び出しなどのレビュー結果が表示されます。サイドバーが非表示の場合、プロンプトの上にコンパクトなステータスバンドが表示され、デスクトップアプリとターミナルの両方がサポートされています。インストール: claude plugin install watchducks --marketplace bassemustafa/watchducks。GitHub: https://github.com/bassemustafa/watchducks
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add bassemustafa/watchducks claude plugin install watchducks@watchducks
原文 / README
I've been using Claude Code with multiple agents and delegating tasks to other coding agents, including OpenCode and Codex. The problem I kept running into was visibility. Once several agents were working in parallel, it became difficult to answer some basic questions: Which agents are still running? Which model and effort level is each one using? How many tokens are they consuming? How much is the whole workflow costing? Which runs finished, failed, or were reviewed? I was using multiple plugins to piece together this information, but I wanted one place to see everything without leaving Claude Code. So I built WatchDucks 🦆 — an open-source Claude Code mod using function hooks. Planned and implemented with Opus and my agent fleet. It adds an interactive /flock sidebar directly inside Claude Code. What it does: Automatically opens the sidebar when delegated work starts Tracks subagents, relay scripts, agent CLI runs, and background shell commands Displays live status, model, effort, tokens, cache usage, and cost where available Provides an individual dossier for each run Shows usage grouped by implementer and model, for the current session or last 30 days Records review outcomes, including bugs found and edit calls Supports Claude Code's desktop app as well as the terminal There's also a small status band above the prompt when the sidebar isn't visible. I went with a spy-duck theme: running agents are "IN FIELD", completed ones are "DEBRIEFED", and failed ones "WENT DARK". Under the hood: WatchDucks uses Claude Code hooks and structured metadata from supported delegation workflows. It doesn't store prompts, responses, or tool output, and it doesn't send telemetry. Some agents expose more usage information than others. For example, Codex and Gemini CLI runs can be tracked for status and elapsed time, but token and cost data aren't always available. It's free, open-source, and MIT licensed. Install: claude plugin install watchducks --marketplace bassemustafa/watchducks GitHub: https://github.com/bassemustafa/watchducks I'd love feedback from people running multi-agent workflows. How are you currently tracking delegated agents and their usage? And what would you want to see in a tool like this? submitted by /u/Bassemustafa to r/ClaudeCode [link] [comments]