Sign in
Explore
Skills · SkillEveryday codingReviewed

receipts

Builds a personal usage and impact report from local Claude Code session transcripts, as a markdown file.

Kind
Skill
Works with
Claude Code
Source
anthropics/claude-plugins-official @ 58267944f921
Path
plugins/receipts/skills/receipts/SKILL.md
License
Apache-2.0
Jobs
Documentation
InstallInstall it from a plugin marketplace.
/plugin install receipts@claude-plugins-official
# /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:

```bash
…