receipts
Fungsinya
Skill ini membaca catatan sesi Claude Code yang sudah tersimpan di komputer Anda dan menulis laporan tentang apa saja yang sudah Anda gunakan. Skill ini ditujukan untuk evaluasi diri atau untuk menjelaskan pemakaian kepada manajer.
Kapan dipakai
- βSaat Anda ingin menunjukkan kepada manajer bagaimana Anda menggunakan Claude Code.
- βSaat Anda ingin meninjau pekerjaan AI terbaru Anda secara pribadi untuk evaluasi kinerja.
- βSaat Anda penasaran untuk apa saja Anda menggunakan Claude Code selama sebulan terakhir.
Link skill
https://github.com/anthropics/claude-plugins-official/blob/main/plugins/receipts/skills/receipts/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBuatkan saya laporan pemakaian Claude Code saya selama sebulan terakhir.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skrip lokal memindai file sesi yang tersimpan dan mencocokkannya dengan riwayat git Anda. Setelah itu AI menulis ringkasan singkat berdasarkan angka yang ditemukan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
/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 logper 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:
node <skill-dir>/scripts/mine-transcripts.mjs --days <N> [--repo <substr>] --html /tmp/cc-receipt.html
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.
It reads every transcript file in the window and shells out to git, so it
takes a few seconds β roughly 1s for a week, 5s for a year on a large history.
That's local CPU time, not API spend. No need to warn the user.
What the numbers mean
Everything here is scoped to work done with Claude Code, mapped to the project it was done on. Two rules follow from that, and they explain most of the shapes below:
- Claude Code's own machinery is not the dev's work. The agent's
scratchpad, its per-session tool output, and
~/.claudeare excluded. Files Claude wrote to talk to itself are not files the dev shipped. - A project is where work landed, not where the shell was. Each session is attributed to the project(s) its file operations touched β reads included, since reading a repo to answer a question is work in that repo β resolved to the git root, or to the containing directory when it isn't a repo. Subagents share their parent's session, so their work ladders into the same project automatically. There is no "delegated" bucket; delegation is a mechanism, not a kind of work.
{
"generatedAt": "2026-06-08T17:04:22.000Z",
"userName": "Ada Lovelace" | null, // `git config --global user.name`, to personalize the receipt
"since": "2026-05-10", "until": "2026-06-08", "periodDays": 30,
// How much was read to build this β provenance, not an achievement. Don't
// put these in the report; they are not sessions and not files touched.
"filesScanned": 189, "linesScanned": 36536,
"totals": {
"sessions": 131, "prompts": 681,
"activeDays": 24, "calendarDays": 30, // activeDays <= calendarDays, always
"filesTouched": 24, "linesTouched": 4447,
"prCreateCmds": 3, // `gh pr create` commands CC ran
// There is no `git commit` counter: a Bash call carries no working
// directory, so a commit in a throwaway fixture repo under /tmp can't be
// told apart from one in the dev's project. Commits are counted against
// git instead β see commitsWithOurWork.
// Commits whose changed files include something CC touched, de-duplicated
// by SHA. NOT "commits by your git identity": that counts snapshot crons,
// release bots and formatters running under the dev's name, and it is how
// a report ends up claiming thousands of commits. This number requires the
// commit to be BOTH authored by the dev AND to
Pertanyaan umum
Apakah pemindaian memerlukan koneksi internet?
Skill ini menyebutkan pemindaian berjalan di komputer Anda, dan pemeriksaan git hanya memakai riwayat lokal.
Periode apa saja yang bisa saya pilih?
Anda bisa meminta seminggu, sebulan, sekuartal, setahun, atau sejumlah hari tertentu.
Bisakah laporan dibatasi pada satu proyek?
Bisa. Anda bisa memberikan nama proyek, dan total hanya dihitung dari proyek yang cocok.
Detail
Deskripsi asli dari pembuat
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 `/receip
Popularitas
- Bintang GitHub
- 46k
- Peringkat
- #6352
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
access
46kMemungkinkan Anda mengatur siapa yang dapat mengirim pesan ke asisten Anda melalui kanal Discord, termasuk persetujuan pairing dan daftar izin.
configure
46kMenyiapkan kanal Discord untuk asisten Anda dengan menyimpan token bot dan memeriksa siapa yang dapat menghubunginya.
access
46kMemungkinkan Anda mengatur siapa yang dapat mengirim pesan teks ke asisten Anda melalui kanal iMessage, termasuk persetujuan dan daftar izin.
configure
46kMemeriksa pengaturan kanal iMessage Anda, termasuk Full Disk Access, dan menjelaskan siapa yang dapat menghubungi asisten Anda.
Skill serupa
blucli
394kMembantu agent Anda menemukan, memutar, menjeda, mengelompokkan, dan mengatur volume speaker Bluesound dan NAD lewat perintah blu.
camsnap
394kMembantu agent Anda mengambil foto, klip pendek, atau peristiwa gerakan dari kamera jaringan dan webcam lokal yang sudah Anda atur.
eightctl
394kMembantu agent Anda memeriksa dan mengendalikan perangkat Eight Sleep, termasuk suhu, alarm, dan jadwal tidurnya.