claude

subagent-metrics

Logs token usage for every subagent (Task tool) call to ~/.claude/subagent-metrics.jsonl

0 on GitHubv0.1.1MITupdated 7 months agoobservability
/

Plugin subagent-metrics from marketplace clemux-claude-code-plugins in clemux/claude-code-plugins. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Hooks (1)

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/log-subagent-usage.sh

View source on GitHub

More from clemux/claude-code-plugins

All 7 plugins →

commit

claude

Smart conventional commits with automatic change analysis and splitting

1 skill · 1 agent

0

Asks for confirmation when entering plan mode with a non-Opus model

hooks

0

Diagnose slow pytest suites, profile with pyinstrument, apply targeted fixes, and produce a performance report

1 skill

0

safer-git

claude

Blocks dangerous git commands (force-push, amend, reset --hard, etc.) for all agents

hooks

0

Run tests with coverage and baseline tracking (pytest, with JS/TS support planned)

1 agent

0

worktree

claude

Manage git worktrees using git gtr (create, copy files, navigate)

1 skill

0

Similar plugins

CMEM Pro

claude

CMEM Pro for the Claude app - hooks stream tool use to cmem.ai and inject observations into new sessions and agents

3 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

Token usage tracking, model cost attribution per agent, budget alerts, and optimization recommendations

24 skills · 1 command · 1 agent · hooks

ruvnet/ruflo 81,589

Skill: add headroom-ai compress() to a Python or TypeScript app to cut LLM input tokens (tool outputs, logs, JSON, chat history). No API key.

1 skill

headroomlabs-ai/headroom 79,508

mem0

claudecodex

Cross-session memory and token savings for coding agents.

6 skills · 1 agent · 1 MCP server · hooks

mem0ai/mem0 68,893

duende-skills

claudecodex

Duende development skills and agents for Claude Code — covering OAuth/OIDC protocols, IdentityServer, token management, ASP.NET Core authentication/authorization, BFF patterns, and secure identity architecture

24 skills · 2 agents

anthropics/claude-plugins-official 47,076

Maintain subagent-metrics?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins7 plugins