Agent Token Auditor Lite

0•

Audits local Claude Code session logs to diagnose token consumption and identify costly context patterns.

Agent Token Auditor Lite helps developers track and optimize their Claude Code token consumption by analyzing local session logs without sending any telemetry or private data over the network. It calculates weighted token usage across sessions, days, and models, pinpointing costly bottlenecks like context window bloat, subagent fan-outs, cache rebuilds, and massive tool outputs. Ideal for developers hitting rate limits or usage caps, this skill delivers clear usage breakdowns and actionable one-line fixes to immediately cut token waste.

主要功能

01100% private, offline analysis of local session logs with zero network telemetry
02Supports flexible filtering by time window, specific project, and JSON export
030 GitHub stars
04Calculates weighted token usage using Anthropic API pricing ratios
05Identifies costly patterns such as subagent fan-outs, cache rebuilds, and oversized tool outputs
06Delivers actionable, one-line recommendations to quickly reduce context consumption

使用场景

01Diagnosing sudden rate limit hits or quota exhaustion during intensive development
02Identifying token-heavy subagent workflows and unoptimized prompt caching behaviors
03Benchmarking token efficiency improvements across project sessions over time