cost-tracking
Track and report Claude Code token usage, spending, and budgets from the local ECC cost-tracker metrics log. Use when the user asks about costs, spending, usage, tokens, budgets, or cost breakdowns by model, session, or date.
- installs 8w
- 1,704
- 30-day movement
- starts with the next reading
- Related entries
- 4
- Connections
- 0
An agent skill that tracks and reports Claude Code token usage, spending, and budgets by reading the local ECC cost-tracker metrics log at ~/.claude/metrics/costs.l. The skill instructs the agent on how to parse the JSONL log with node, reduce cumulative per-session snapshots to latest rows, and present summaries, per-model breakdowns, and date-range reports.
Use it when you want your agent to answer questions about costs, spending, usage, tokens, or budgets from the ECC cost-tracker log.
Use it to
- Answer 'how much have I spent today?' from the metrics log
- Produce cost breakdowns by model
- Report per-session costs and token usage
- Generate a last-7-days spend summary or CSV export
- Check spending against budgets and limits
For Claude Code users tracking their token spend
- Host repository
- affaan-m/ECC
- Installs, lifetime
- 3,000
- Installs, 8 weeks
- 1,704
- Host stars
- 261k
- Host language
- JavaScript