Agent skill · data analytics · anthropics

receipts

Generate a personal Claude Code usage & impact report ("receipts") from this machine's local session transcripts — for justifying Claude Code usage/spend to a manager, self-review, or "what have I been using this for" check-ins. Mines ~/.claude/projects locally (no extra API calls beyond one final write-up), cross-references local git history, and writes a markdown report plus a self-contained HTML receipt to your home directory. Use when the user asks for "receipts", an "impact report", "usage report", wants to "show my Claude Code activity", "prove the value of Claude Code", or runs `/receipts`.

Why this skill is useful

Adds a local Node script that generates detailed usage reports from session transcripts and git history, which the AI wouldn't reliably generate on its own.

What it needs

Requires node installed locally. About 11k tokens when loaded. Last updated 2026-08-07. 33,212 stars on the source repository.

What this skill does

/receipts — personal Claude Code impact report Generates a markdown report of one developer's own Claude Code activity, built entirely from local data: Source data: this machine's session transcripts at ~/.claude/projects//.jsonl (every session, every project, already on disk — nothing to set up). Cost: the mining step is a local Node script — file I/O + regex, zero API calls. The only model call is one final write-up over a small (~10-20KB) JSON summary, regardless of how much history was scanned. Cross-reference: local git log per repo (no network) to sanity-check commit activity against CC session activity. Step 1 — figure out the period Parse $ARGUMENTS: "week" → 7, "month" → 30 (default if nothing given), "quarter" → 90, "year" → 365 a bare number → that many days a project name/substring (e.g. "for anthropic") → pass through as --repo <substr>. It matches against the resolved project name, case-insensitively, and scopes the entire report — totals included — to matching projects. Step 2 — run the miner The script mine-transcripts.mjs ships alongside this SKILL.md, under scripts/. Use its absolute path: Use that fixed temp path — the real since/until are computed by the script and only known once it has run, so don't try to put them in this filename. Steps 4 and 5 name the final files, by which point the JSON has the dates. This prints one JSON object to stdout and writes a self-contained, styled HTML "receipt" to the --html path — built deterministically from the same data (no extra model cost). The receipt carries an Export CSV button that downloads the by-project table; the CSV is embedded in the page, so it works offline and there's nothing to wire up. Do not separately Read any .jsonl transcript files — the script has already extracted everything relevant. Re-reading raw transcripts would burn a huge number of tokens for no benefit. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills anthropics/receipts

View the source on GitHub

Browse the @skills marketplace