receipts
Skill by anthropics
Generate a personal Claude Code usage and impact report from local session transcripts. It is meant for justifying usage to a manager, self-review, or periodic check-ins.
Install receipts
Built from the published package, never by AI.
git clone --depth 1 https://github.com/anthropics/claude-plugins-official /tmp/claude-plugins-official && mkdir -p ~/.claude/skills && cp -r /tmp/claude-plugins-official/plugins/receipts/skills/receipts ~/.claude/skills/receiptsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/anthropics/claude-plugins-official /tmp/claude-plugins-official && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-plugins-official/plugins/receipts/skills/receipts ~/.gemini/antigravity-cli/skills/receiptsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The receipts skill builds a markdown report and a self-contained HTML receipt of one developer's Claude Code activity. It reads session transcripts already stored under ~/.claude/projects and cross-references local git history. The mining step is a local Node script that does file I/O and regex matching, with no API calls. The only model call is one final write-up over a small JSON summary.
The report covers sessions, prompts, active days, files touched, approximate lines touched, and commits that include work Claude Code did. It breaks activity down by project and shows each project's share of relative compute. The HTML receipt includes an Export CSV button. The skill is for developers who want to show or review how they have used Claude Code.
Written from the project's SKILL.md and checked against it.
What it can do
- Period reportReports on the last week, month, quarter, year, or a given number of days.
- Project filterScopes the whole report, including totals, to projects matching a name substring.
- Markdown reportWrites a markdown report to the home directory summarising usage and output.
- HTML receiptWrites a self-contained styled HTML receipt built from the same data.
- CSV exportProvides an Export CSV button on the HTML receipt for the by-project table.
- Git cross-referenceChecks commit activity against local git history per repo, without network access.
What you need
- Claude Code with local session transcripts in ~/.claude/projects
- Node.js to run the mining script
- git installed for the commit cross-reference
Try asking
- /receipts month
- /receipts week for anthropic
- Generate my Claude Code impact report for the last quarter
Good to know
- Spend is shown only as a share per project, not as dollar figures.
- Commit counts depend on the git identity configured on the machine.
- Lines touched is an approximate size of edited regions, not a net diff.
Security check
D- Tells the assistant to ignore its instructions or hide actions from youIn
plugins/receipts/skills/receipts/SKILL.md:ignore previous instructions
Checked automatically: plugins/receipts/skills/receipts/SKILL.md, plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md17 KB -
scripts/mine-transcripts.mjs65 KB
Alternatives to receipts
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
receipts: common questions
Does receipts send my transcripts to an API?
The source says the mining step is a local Node script with zero API calls. The only model call is one final write-up over a small JSON summary.
Where are the report files saved?
The source says the markdown report and HTML receipt are written to your home directory.
Does the report show dollar costs?
No. The source says there are no dollar figures, and spend appears only as a percentage share per project.
How do I install receipts?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is receipts free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is receipts safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade D (tells the assistant to ignore its instructions or hide actions from you). Review the code before you install. How grades work.
What are alternatives to receipts?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
