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()에서 조정), 벽시계 경과 시간, 작업 시간(모델 요청과 도구 실행의 겹침은 한 번만 계산), turn.step별 모델과 effort 수준, 그리고 token 사용량에 hooks/pricing.ts의 정가를 곱해 계산한 예상 비용이 표시됩니다. 상태 줄에는 '⚙ 2 working · 3 done · ≈$0.41 / $1.20' 같은 요약이 표시됩니다. /subagents로 패널을 열고 /subagents clear로 완료된 subagent를 제거합니다. 패널은 전체 화면 터미널(110+ columns)과 데스크톱 앱에서는逐字稿 옆에, 좁은 터미널에서는 프롬프트 위에 열립니다.
설치
먼저 작성자의 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.
