cc-token-ledger
A CLI tool that totals only token usage from local Claude Code records.
What does it do?
Run ledger.js in the project folder whose tokens you want to check to find that project's Claude Code records and display usage in a table. You can specify a records folder with an option or select all records. Defining agent-name prefix groups in a configuration file also provides tables by team. It does not print or save conversation content and runs without network access or external dependencies.
Key features
- Print token usage tables by date, agent, and model
- Specify a records folder or aggregate all records
- Create team tables by agent using prefix groups in a configuration file
- Run offline without printing or saving conversation content