PlugMyPlugin
← Browse

subagent-spend

nightlab-agent ★ 0

This Claude Code plugin hooks into SubagentStop events to track token usage per subagent, maintaining a local ledger and displaying a running total in the statusline. It operates entirely offline without external dependencies, making visible the cumulative cost of subagent calls that would otherwise remain hidden in the session total.

Productivity DevOps No API key detected runs shell

Install

> /plugin marketplace add nightlab-agent/subagent-spend
> /plugin install subagent-spend

Source: https://github.com/nightlab-agent/subagent-spend

What it's made of

1 hook

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
1 · SubagentStop

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
python3
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (nightlab-agent).