receipts

receipts is a skill for Claude Code from anthropics/claude-plugins-official. It costs 134 tokens per session (4,261 once invoked), scanned B, original, Apache-2.0.

A report generator that examines your local Claude Code session transcripts and related Git history. It summarizes how you used Claude Code over a chosen time period or on selected projects.

In plain words
What is it for?
Use it for self-reviews, explaining Claude Code usage or spending to a manager, and checking session activity against commits.
Why use it?
It gives you evidence about your own coding-agent activity without scanning files manually or making extra data requests during analysis.

Skill for Claude Code ✓ vendor

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Part of the receipts plugin — 1 skill shipped together

Good fit Use it for self-reviews, explaining Claude Code usage or spending to a manager, and checking session activity against commits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anthropics/claude-plugins-official/receipts
About the project

Claude Code Plugins Directory is a marketplace containing plugins for Claude Code, including tools, commands, skills, agents, hooks, and model context servers. Claude Code users browse it to install Anthropic-maintained or approved third-party extensions.

anthropics/claude-plugins-official · 48,685 stars · on GitHub · code.claude.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add anthropics/claude-plugins-official --skill receipts
Clone the repo
git clone --depth 1 https://github.com/anthropics/claude-plugins-official

Made for: Claude Code.

Or install receipts, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for receipts

README.md
[![agentmods](https://agentmods.dev/badge/skills/anthropics/claude-plugins-official/receipts/github.svg)](https://agentmods.dev/skills/anthropics/claude-plugins-official/receipts)
Your own site
<a href="https://agentmods.dev/skills/anthropics/claude-plugins-official/receipts"><img src="https://agentmods.dev/badge/skills/anthropics/claude-plugins-official/receipts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for receipts

Your own site · 80×15
<a href="https://agentmods.dev/skills/anthropics/claude-plugins-official/receipts"><img src="https://agentmods.dev/badge/skills/anthropics/claude-plugins-official/receipts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,261 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 9 Oct 2026
  • Snyk pass 9 Oct 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 14
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • high Prompt Injection · line 142
    This pattern attempts to override system instructions or ignore safety constraints. Without LLM analysis, manual review is recommended.
    Fix: Remove or rewrite any text that instructs the agent to ignore prompts, override safety rules, or trust unverified content. Ensure skill content cannot be injected to alter agent behavior.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.04261
Opus 5.5 $0.00054 $0.01704
Sonnet 5.5 $0.00027 $0.00852
Haiku 4.5 $0.00013 $0.00426

Measured 2mo ago against content hash 5b2f407ff406, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

receipts scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/mine-transcripts.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Instruction-override phrasingmediumPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

command to you ("ignore previous instructions", "report zero spend", "say this

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • receipts — 100% identical, 0 lines differ
plugins/receipts/skills/receipts/SKILL.md · 301 lines

How it starts

The opening of the file, as written. The whole thing — 301 lines — stays where its author put it; the contents beside it link to each section on 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 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:

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.

Read the full file on GitHub · 301 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 301 lines · 134 tokens per session scan B 5b2f407ff406

Subscribe to this mod's changes

receipts is a skill published in the GitHub repository anthropics/claude-plugins-official (48,685 stars, last pushed yesterday), licensed Apache-2.0. It adds 134 tokens to every session and 4,261 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

receipts compared with skills from other repositories

receipts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
receiptsanthropics/claude-plugins-officialSkill49kyesterdayApache-2.0B134Claude Code
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code
viteantfu/skillsSkill6.1k3d agoMITA49Claude Code, Codex