Skip to content
Testing
Command

/token-usage

Analyze token usage patterns and optimize for efficiency.

From plugin
agentic-qe
436149 skills169 agents149 commands
Install
> /plugin marketplace add proffesor-for-testing/agentic-qe
> /plugin install agentic-qe-fleet@agentic-qe

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/token-usage

Context preview

What this command does when you run it.

Analyze token usage patterns and optimize for efficiency.

Command definition

token-usage.md

token-usage

Analyze token usage patterns and optimize for efficiency.

Usage

npx claude-flow analysis token-usage [options]

Options

  • `--period <time>` - Analysis period (1h, 24h, 7d, 30d)
  • `--by-agent` - Break down by agent
  • `--by-operation` - Break down by operation type

Examples

# Last 24 hours token usage
npx claude-flow analysis token-usage --period 24h

# By agent breakdown
npx claude-flow analysis token-usage --by-agent

# Export detailed report
npx claude-flow analysis token-usage --period 7d --export tokens.csv
Ships withagentic-qe

AI-powered quality engineering agents that generate tests, find coverage gaps, detect flaky tests, and learn your codebase patterns — across 11 coding agent platforms.

Get the whole plugin