agent-cost-report

Estimate Claude Code agent spend and failure costs from transcripts.

Install

See setup instructions on claude-mem.ai

What it does

Agent Cost Report builds a manager-readable cost and failure report for a chosen period, defaulting to the last seven full days in Pacific Time, not counting today. It reads local Claude Code and Codex transcripts, counts tokens per assistant reply, prices them at OpenRouter list rates, and labels every dollar figure as measured, estimated, extrapolated, or unavailable so no unknown is shown as zero. Work is grouped into named outcomes with categories such as feature, incident, or investigation, alongside failure types like looping, rework, or premature completion.

It is aimed at people who need to justify agent spend to leadership and to see what mistakes cost. Outputs are a self-contained HTML report (with optional PDF), report.json, line-items.csv, and evidence.json. A review pass using Claude-Mem search lets you confirm or change drafted labels; anything left unreviewed is marked as a draft. It runs on Python 3.9+ using only the standard library, calling scripts inside the skill directory. Timezone data may need installing on stock Windows Python, and the classifier is optional, off by default, and capped.

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

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/skills/agent-cost-report-4"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options