Expand description
Token-accounting analysis passes over the normalized model.
Modules§
- aggregate
- Rollups of DEDUPLICATED usage by session / model / day / tool, with cost.
- anomaly
- Retry-storm and fat-tail detection (CLAUDE.md §6 “Fat tail”, roadmap v0.3).
- classify
- Heuristic task-type classification (debugging vs feature work vs refactor…).
- context
- Context-bloat attribution — the v0.2 headline feature (CLAUDE.md §2.2, §11).
- dedup
- Request-level deduplication — THE critical accounting step (CLAUDE.md §8.1).
- drilldown
- Per-session drill-down view-models for the TUI (session → turns → context).
- flame
- Folded-stack data for a token-spend flamegraph (CLAUDE.md §2.4, roadmap v0.3).