Tooluck logoTooluck
SKILL.md

Agent Cost Report

Agent skill fromthedotmack/claude-mem

Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.

How to install Agent Cost Report

install Agent Cost Report
# install the claude-mem pack with the skills CLI
npx skills add thedotmack/claude-mem

# or add only this skill to Claude Code: copy the folder

claude-mem-cursor/skills/agent-cost-report/

# into

~/.claude/skills/agent-cost-report/ (all projects)

.claude/skills/agent-cost-report/ (one project)

claude-mem-cursor/skills/agent-cost-report/SKILL.md

Apache-2.0Full file
1# Agent Cost Report
2
3**Claude-Mem / Claude Code skill.** Runtime is the `scripts/` pipeline (transcripts → tokens → dollars → Timing-style report) plus a progressive Mem Search review pass that confirms the drafted labels. The Notion draft is SPEC history only — never the product, never the runtime, never the ship vehicle.
4
5Resolve the absolute directory containing this `SKILL.md`; all helper paths are relative to that directory. `${CLAUDE_SKILL_DIR}` is the shortcut: `python3 "${CLAUDE_SKILL_DIR}/scripts/acr.py" …`. Python 3.9+ standard library only, with IANA timezone data for `America/Los_Angeles`; no pip installs. `tzdata` is the only exception to the no-pip-installs rule, and only when `acr.py` exits saying that timezone data is unavailable (stock Windows Python ships none): show the user the lines it printed and ask (AskUserQuestion) before installing it. On a yes, run the line for your shell (the plain quoted line in Bash or cmd, the `PowerShell:` line in PowerShell), then rerun the failed command. Setting `PYTHONTZPATH` instead needs no install. The look lives in `scripts/acr/render.py`, never here.
6
7## Purpose
8
9Turn Claude-Mem activity into a **manager-readable cost and failure report**.
10
11Product idea: a reusable skill that searches Claude-Mem via Mem Search, reconstructs real units of work, assigns cost and failure categories, and renders a printable report.
12
13## Insight north star
14…

Excerpt shown under the repository's Apache-2.0 license.

More skills in claude-mem

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates