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.

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 · 36,026 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.

Its marketplace also offers this one on its own, as the plugin receipts/plugin install receipts after adding the marketplace above.

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.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.svg" alt="Measured on agentmods" 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 20 Jul 2026
  • Snyk pass 20 Jul 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 $0.00067 $0.02131
Sonnet 5 $0.00027 $0.00852
Haiku 4.5 $0.00013 $0.00426

Measured 5d ago against content hash 5b2f407ff406, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 5d 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. 5d 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 (36,026 stars, last pushed yesterday), licensed Apache-2.0. It adds 134 tokens to every session and 4,261 once invoked, about $0.0007 per session on Opus 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

Other skills, from other repositories

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and generates guidance to design and deploy a governed, secure agentic-analytics solution for data that's distributed across Google Cloud, other cloud providers, or on-premises. Data that's outside Google Cloud (such as data from Databricks, Snowflake, Salesforce, SAP, or Oracle systems) is…

google/skills · 138 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens