Parses the JSONL metrics log that ECC's cost-tracker hook writes to ~/.claude/metrics/costs.jsonl and gives you breakdowns by model, session, or date. The rows are cumulative snapshots per session, so you need to dedupe to the latest row per session_id before summing or you'll multiply-count everything. Useful when you want to know how much you spent today versus yesterday, which models are eating your budget, or need a CSV export for expense reports. The one-liner examples use Node because the log is JSONL and Node ships everywhere. If the log doesn't exist yet, it just tells you to run a session with the hook enabled first.
npx -y skills add affaan-m/ecc --skill cost-tracking --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
juliusbrussee/caveman
mattpocock/skills
obra/superpowers
forrestchang/andrej-karpathy-skills
vercel-labs/skills