agent-cost-report
Cost and failure report for Claude Code agent sessions
Install
See setup instructions on claude-mem.aiWhat it does
Agent Cost Report turns Claude Code and Codex session transcripts into a manager-readable account of what agent work cost and how much of it was wasted. It scans local transcript files for the requested window, counts tokens per assistant reply, prices them against OpenRouter list prices fetched at run time, and writes the resulting dollars as an estimate. Measured provider spend appears only where a sanctioned source exists, so totals are labeled clearly rather than presented as billed amounts.
Sessions are grouped into named work items, each given a work category such as Feature, Bug fix, or Incident, and optionally a failure type such as Looping, Rework, or Wrong turn. Draft labels come from keywords and can be confirmed by a review pass. Outputs include an HTML report with a Timing-style look, optional PDF, a JSON report, a CSV of line items, and an evidence appendix.
It runs as a Claude Code skill with a Python 3.9+ standard-library pipeline, needs no package installs apart from optional timezone data, and defaults to the last seven full Pacific days excluding today.
Skill files
- .gitignore
- CHECKSUMS.txt
- SKILL.md
Repository data
- Stars
- 119,337
- Last push
- Nov 23, 2026
- License
- Apache-2.0
- Archived
- No
Tools similar to agent-cost-report
FAQ
- What license does agent-cost-report use?
- Apache-2.0
- What files are included with agent-cost-report?
- .gitignore, CHECKSUMS.txt, SKILL.md
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/skills/agent-cost-report-3"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.