git-subtree-dir: vendor/ruvector git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
26 lines
566 B
Markdown
26 lines
566 B
Markdown
# token-usage
|
|
|
|
Analyze token usage patterns and optimize for efficiency.
|
|
|
|
## Usage
|
|
```bash
|
|
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
|
|
```bash
|
|
# 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
|
|
```
|