In short.
Receipts is a Claude Code skill for developers explaining their AI use to a manager or reviewing their own work, but it measures recorded activity rather than verified impact or billed spending. A Node.js script summarizes local transcripts and git history, generates an optional HTML receipt, and supplies JSON for Claude to turn into a Markdown narrative. Project filtering, commit attribution and PR counts have limitations that warrant checking before sharing results. Nothing was executed; runtime reliability and compatibility are unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises plugins/receipts/skills/receipts/SKILL.md and plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs at revision b5b01ac4f889fec0c4c6bb89f27ca7c8574473f6, plus plugins/receipts/LICENSE and the repository LICENSE as related notices. The original GitHub source location and fixed revision are preserved. Other repository content, plugin installation metadata and generated receipts are outside the supplied scope. No code, git commands, model interaction, HTML behavior or CSV export was executed or tested.
The overview
What Receipts is
Receipts is the receipts skill in Anthropic's claude-plugins-official repository. The selected resource contains SKILL.md and scripts/mine-transcripts.mjs. The instructions define the /receipts interaction; the script performs aggregation and renders the HTML receipt.
The original source location is [https://github.com/anthropics/claude-plugins-official/tree/main/plugins/receipts/skills/receipts]. This report concerns that skill folder and its related license notices, rather than the entire plugin collection.
Practical assessment
Receipts offers a useful starting point for a personal account of Claude Code use. It gathers scattered local records into project-level figures and a portable document, reducing the manual work of assembling a self-review.
Its figures need interpretation. Recorded edits, matching commits and command invocations provide evidence of activity, while business outcomes, successful delivery and time saved require additional evidence. The captured implementation also has reporting inconsistencies described below, so a receipt deserves manual review before it supports a management decision.
Who it suits
The intended users are individual Claude Code developers preparing self-reviews, discussing usage with a manager, or checking which projects received attention. Experienced developers can inspect the JSON and attribution rules; beginners receive a formatted receipt and a prose explanation.
Coverage is limited to transcripts on the current machine and accessible local repositories. Team-wide activity, work on other machines and independently verified engineering outcomes are outside that coverage.
What it produces
The skill accepts week, month, quarter and year periods, corresponding to 7, 30, 90 and 365 calendar days, plus a numeric day count. The default is 30 days including today. A case-insensitive project-name substring can restrict the report, and the script separately supports an explicit --since date.
The summary includes sessions, prompts, active days, distinct files with recognized edits, approximate lines touched, PR-create command counts and matching git commits. Project rows are ordered by estimated compute share, with up to twelve named rows and an additional rollup. Outputs include a Markdown narrative, a self-contained HTML receipt and an embedded CSV export.
Using it
What you need
The miner requires Node.js and readable Claude Code JSONL transcripts under ~/.claude/projects. Git is needed for repository resolution and commit cross-referencing. Commit matching also requires a configured user.email resolved in each repository; the optional display name comes from global git configuration.
The complete interaction requires an assistant environment that can load the skill, launch the script and save the narrative. No minimum Node.js, git or Claude Code version is specified. Platform compatibility is unassessed, despite explicit Windows path handling in the code. A missing or unreadable transcript directory can produce an empty summary without a specific setup error.
How it works
The script recursively reads local transcript files, filters entries by date, deduplicates entry UUIDs and groups activity by session. Recognized file reads and writes determine project attribution. A session's estimated compute weight is divided between projects according to file-operation counts; when there are no such operations, repository working directories provide a fallback.
Git matching searches non-merge history for commits within the reporting period whose author email matches the configured identity and whose changed paths overlap recorded edits. Commit timestamps determine the reporting date, and totals deduplicate commit hashes across project rows.
The JavaScript has no explicit network or model API calls; network behavior of its git subprocesses under particular repository configurations is unassessed. The documented prose step sends a summary containing counts, project names and an optional display name to Claude. The HTML writer requests owner-only file permissions and refuses an existing symlink; HTML labels and spreadsheet-sensitive CSV cells receive escaping.
Getting started
Obtain SKILL.md and scripts/mine-transcripts.mjs together, preserving their directory relationship. The documented miner invocation is node <skill-dir>/scripts/mine-transcripts.mjs --days 30 --html /tmp/cc-receipt.html, replacing <skill-dir> with the skill's absolute local path. The script prints JSON and optionally writes HTML; --repo supplies a project-name substring.
Once the skill is loaded, its intended entry point is /receipts. The instructions use the dates returned by the miner to name the final Markdown and HTML files in the home directory. A plugin installation command is not established by the selected files.
Example use
For a monthly self-review, /receipts month requests the last 30 calendar days including today. The intended result combines project activity, matching commits and estimated compute shares, followed by a short suggested explanation for a manager.
The documented output names are ~/claude-code-receipts-<since>-to-<until>.md and ~/claude-code-receipts-<since>-to-<until>.html. The HTML includes a CSV export button. A developer can add concrete feature, migration or incident outcomes to explain why the recorded activity mattered. This is an illustrative use, not an observed run or generated receipt.
Assessment & evidence
Important limitations
File and line figures are derived from recognized tool inputs, excluding calls explicitly marked as errors. They are not verified filesystem changes. Shell-based edits can be missed, repeated edits count the same region again, and reads affect attribution without increasing edited-file totals. Repository basename and shortened-name collisions can combine unrelated projects.
Commit matching establishes an author-email and file-path overlap, rather than proving that a particular Claude edit reached a commit. Automation using the same identity and files can qualify. PR figures count gh pr create invocations without confirming success, yet the HTML labels them PRs opened and adds them to commits in a shipped total. That total can also count the same work through both its commit and PR.
For sessions spanning projects, --repo retains whole-session prompt and day memberships and redistributes the session's full compute weight among matching projects. The overall PR total can retain commands assigned to an excluded main project. A filtered receipt therefore needs additional checking before it supports project-specific accounting.
Git uncertainty is not consistently preserved. A failed clone can lose its error flag when another clone supplies commits, and the other-projects rollup drops git error flags. The HTML can also claim there were no repositories when a null commit count instead resulted from missing identity information. No execution evidence establishes the frequency or practical impact of these cases.
How to interpret the figures
The strongest interpretation is a personal record of activity visible to this machine's Claude Code logs. The documented decision to avoid dollar estimates, activity-level spending allocations and invented time savings keeps several unsupported conclusions out of the intended narrative.
Project attribution and commit matching remain heuristics. Sessions and active days can appear in several project rows, while shared history can repeat commits across rows; adding those columns can overstate totals. Rounded spending percentages can also differ from a displayed total of 100. These properties make explanatory notes essential when a receipt travels beyond its author.
Other approaches
The included miner can produce JSON and HTML without the final model-written narrative. That is an option when structured local figures or the deterministic receipt are sufficient.
For billed spending, use actual billing records. For organization-level engineering claims, the skill itself recommends verified organizational metrics and concrete outcomes as supporting evidence. Local git history can supply commit records without providing the same Claude-session context. Comparative performance or feature claims against named competing products are not established.
Evidence and confidence
SKILL.md establishes the intended invocation, reporting structure and sharing behavior. The accompanying JavaScript establishes the implemented aggregation, git queries, HTML generation and CSV handling. The two license notices establish the stated source distribution terms.
The evidence contains no executed reports, measured bills, benchmark results or compatibility tests. Documentation examples and performance claims are not treated as observed results. Findings about implementation behavior come from the captured source.
Access & freshness
Costs and spending estimates
The miner uses local file reads, computation and git subprocesses, with no model API call implemented in the script. The instructions describe one final Claude write-up over an approximately 10–20 KB summary. Actual summary size, model usage, execution time and monetary cost are unmeasured, and exact Claude access requirements and pricing are unknown.
The Spend percentage is a relative estimate, not a billing figure. It applies fixed weights to input, output and cached tokens, then attributes session weight using project file-operation counts. It does not account for differences between model prices. The resource supplies no measured dollar savings, hours saved or return on investment.
License and redistribution
The plugin-level and repository-level LICENSE files both contain Apache License 2.0. Its terms permit use, modification and redistribution, subject to including the license, retaining applicable notices, marking changed files and carrying applicable NOTICE attributions when present.
The license provides the work without warranties and does not generally grant trademark rights. These source-code permissions do not establish the price or terms of Claude access. The captured skill files can be redistributed unchanged with their applicable license notices.
Source version
The source snapshot was captured on 2026-11-16 at revision b5b01ac4f889fec0c4c6bb89f27ca7c8574473f6. The corresponding fixed source location is [https://github.com/anthropics/claude-plugins-official/tree/b5b01ac4f889fec0c4c6bb89f27ca7c8574473f6/plugins/receipts/skills/receipts].
No release version or supported transcript-format version is specified in the selected files. Whether later revisions changed the reported behavior, or current Claude Code logs remain compatible, is unknown.
Before relying on a receipt
Confirm that the relevant transcripts and repositories are available, then compare the reporting period and a few familiar edits, commits and PRs with their original records. Check filtered totals particularly carefully when sessions span projects. Treat unavailable git information as unknown rather than silently converting it to zero.
Review the display name and project labels before the model write-up or external sharing, because directory names can reveal clients or internal work. The documented default keeps receipt files on disk. Add concrete outcomes manually, and use billing records or verified organizational metrics for claims about spending or impact.
