subagent-monitor
by enginahmetbodur · ★ 1 · updated 13 days ago
0
A live Subagents pane and band: session cost at API prices, token breakdown, a map of who spawned and messaged whom, and each subagent's model, effort, elapsed time, context, tokens and cost, with a click-through detail view.
Install
/plugin marketplace add enginahmetbodur/subagent-monitor/plugin install subagent-monitor@subagent-monitorThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runui.closeprompt.submitagent.spawnsession.sendtool.callturn.stepturn.completesession.measureui.render- API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.session.id$.session.messages$.session.root$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.close$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve- Draws
PaneAbovePrompt- Can see
every promptsubagent spawnsevery tool call- Reach
- level 1 of 3 reads filesreads env varsreads the transcriptreads mod statepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/enginahmetbodur/subagent-monitor
- Path in repo
- repository root
- Source commit
a70072cthe exact code the scan read- Author
- @enginahmetbodur
- License
- No license declared — ask the author before reusing code.
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
Related mods
Other mods in Panes, close to this one by stars.