
Subagent Metrics
Logs token usage for every subagent (Task tool) call to a JSONL file for later observability and analysis.
Overview
subagent-metrics logs token usage for every subagent (Task tool) call to ~/.claude/subagent-metrics.jsonl. Developers use it to observe and analyze how much each subagent invocation costs in tokens. It provides a simple data trail for agent cost monitoring.
Install
npx skills add https://github.com/clemux/claude-code-plugins --skill subagent-metricsWhat is this skill?
- Logs subagent token usage
- Per Task-tool call
- JSONL metrics file
Recommended Skills
Microsoft Foundrymicrosoft/azure-skills
Azure Aimicrosoft/azure-skills
Azure Hosted Copilot Sdkmicrosoft/azure-skills
Lark Eventlarksuite/cli
Running Claude Code Via Litellm Copilotxixu-me/skills
Setup Matt Pocock Skillsmattpocock/skills