ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by Fazzani

subagents-monitor

A Claude Code plugin that adds a live side pane listing all subagents in the current session, showing status, elapsed and working time, model, effort and estimated cost, with the status line summarizing working/done counts and cost.

Fazzani@Fazzani

Fazzani/claude-mods/tree/main/plugins/subagents-monitor

Translated

About this mod

subagents-monitor is a Claude Code plugin that docks a side pane to the right of the transcript, displaying every subagent of the current session as a live card. Each card shows the agent's status (Working / Done / Aborted / Failed / Killed, reconciled from turn.complete and agent.list()), wall-clock elapsed time, working time (model requests and tool runs with overlaps counted once), model and effort level per turn.step, and an estimated cost derived from token usage multiplied by list prices in hooks/pricing.ts. The status line shows a summary like '⚙ 2 working · 3 done · ≈$0.41 / $1.20'. Commands include /subagents to open the pane and /subagents clear to remove finished subagents. The pane docks beside the transcript in fullscreen terminals (110+ columns) and in the desktop app, and opens above the prompt on narrower terminals.

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add Fazzani/claude-mods
claude plugin install subagents-monitor
Original text / 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.

Similar projects