Fazzani/claude-mods/tree/main/plugins/subagents-monitor
subagents-monitor
現在のセッションの全 subagent をリアルタイムの側面パネルに一覧表示し、作業中/完了数とコストをステータス行にまとめる Claude Code プラグイン。
この mod について
subagents-monitor は Claude Code プラグインです。逐字稿の右側にパネルを固定し、現在のセッションの各 subagent をリアルタイムカードとして表示します。各カードには agent の状態(Working / Done / Aborted / Failed / Killed。turn.complete と agent.list() から整合)、壁時計の経過時間、作業時間(モデル要求とツール実行の重複は 1 回だけ計上)、turn.step ごとのモデルと effort レベル、hooks/pricing.ts の定価に token 使用量を掛けて算出した推定コストが表示されます。ステータス行には '⚙ 2 working · 3 done · ≈$0.41 / $1.20' のような概要が出ます。/subagents でパネルを開き、/subagents clear で完了した subagent を削除します。パネルは全画面端末(110+ 列)とデスクトップアプリでは逐字稿の横に、狭い端末ではプロンプトの上に開きます。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add Fazzani/claude-mods claude plugin install subagents-monitor
原文 / README
subagents-monitor
A side pane, docked to the right of the transcript, showing every subagent of the current Claude Code session as a live card:
◆ Subagents ◐ 2 ✓ 3
──────────────────────────────────────────
╭────────────────────────────────────────╮
│ ◐ Explore auth flow WORKING │
│ Explore · sonnet 5.5 · medium │
│ ▰▰▰▰▰▰▱▱▱▱ ⏱ 01:42 ⚡ 00:58 │
│ 312k tok ≈$0.08 │
╰────────────────────────────────────────╯
| Field | Source |
| --- | --- |
| Status | turn.complete of the agent's loop (Done / Aborted / Failed), reconciled with $.agent.list() (Failed / Killed) |
| ⏱ Elapsed | Wall-clock time from spawn to end, live while the agent is working |
| ⚡ Working | Time spent in model requests and tool runs, with overlapping work counted once |
| Model, effort | Each turn.step of the agent's loop |
| Cost | Token usage of each step multiplied by list prices (hooks/pricing.ts). This is an estimate; the footer shows the session's actual total. |
The status line shows ⚙ 2 working · 3 done · ≈$0.41 / $1.20.
Commands
/subagents: open the pane/subagents clear: remove finished subagents from the pane
The pane docks beside the transcript in the terminal's fullscreen layout (110+ columns) and in the desktop app; on a narrower terminal it opens above the prompt.
