---
title: "session-receipt"
url: "https://claudemods.dev/ja/builds/session-receipt-d679d7"
source: "https://github.com/sreshtalluri/claude-mods/tree/main/plugins/session-receipt"
source_type: "github"
repo: "https://github.com/sreshtalluri/claude-mods/tree/main/plugins/session-receipt"
author: "sreshtalluri"
author_handle: "sreshtalluri"
stars: 0
category: "ツール・連携"
categories: ["tools"]
tags: ["claude-code", "cost-tracking", "hooks", "plugin", "receipt", "session-stats"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add sreshtalluri/claude-mods\nclaude plugin install session-receipt@claude-mods"
added: "2026-10-05T15:30:42.903Z"
updated: "2026-10-10T14:24:39Z"
locale: "ja"
content_locale: "ja"
---

# session-receipt

Claude Code プラグインです。/receipt でモデル、時刻、ターン、ツール、ファイル、トークン、キャッシュヒット、コストなどを含む共有可能なセッションレシートを作成し、1200×1200 PNG 画像として書き出せます。

## Description

session-receipt は sreshtalluri/claude-mods マーケットプレイスにある Claude Code プラグインです。function-hooks plugin API を通じて tool.call イベントを捕捉し、セッション情報を集計します。コマンドには /receipt（現在のセッションのモデル、時刻、ターン、ツール、ファイル、トークン、キャッシュヒット、コスト、その他の楽しい統計）、/receipt week（7日間の集計）、/receipt last（直前のセッションのレシート）があります。Copy image では macOS、Windows、Linux のクリップボードに 1200×1200 PNG を入れられます。描画できない場合はファイルに保存してパスを表示します。各セッションの終了時にレシートは ~/.claude/receipts/ に保存され、データがローカルマシンから出ることはありません。ターミナルではテキストの伝票として、デスクトップアプリでは紙のようなレシートとして表示されます。/plugin marketplace add sreshtalluri/claude-mods でインストールし、続けて /plugin install session-receipt@claude-mods を実行します。MIT ライセンスです。

## Install

```
claude plugin marketplace add sreshtalluri/claude-mods
claude plugin install session-receipt@claude-mods
```

## Original README

# claude-mods

Claude Code mods by [@sreshtalluri](https://github.com/sreshtalluri).

![session-receipt: a receipt for every Claude Code session](assets/session-receipt-hero.png)

## Install

```
/plugin marketplace add sreshtalluri/claude-mods
/plugin install session-receipt@claude-mods
/plugin install daily-grind@claude-mods
```

Mods use Claude Code's function-hooks plugin API, which is early access, so you need a current Claude Code.

## Mods

| Mod | What it does |
| --- | --- |
| [session-receipt](#session-receipt) | `/receipt` prints a shareable receipt of your session. `/receipt week` totals your week. **Copy image** gives you a square PNG to post. |
| [daily-grind](plugins/daily-grind) | `/grind` opens a hub of daily puzzles to play while Claude works. **Developer:** Git Golf (reshape a commit graph under par), Heisenbug (find the buggy line), Install Order (dependency logic). **Everyone:** Ladder, Pixel Logic, Codebreaker. A **Classics** tab holds Lexer, Buckets and Daemons. Streaks, and `/grind share` for a shareable result. |

### session-receipt

![session-receipt demo](assets/session-receipt-demo.gif)

| Command | |
| --- | --- |
| `/receipt` | This session: model, time, turns, tools, files, tokens, cache hit, cost, and how many times Claude said you were absolutely right. |
| `/receipt week` | The last seven days: sessions, busiest day, top project, usual model, total. |
| `/receipt last` | The previous session's receipt. |

- **Copy image** puts a 1200×1200 PNG on your clipboard on macOS, Windows and Linux. If nothing can draw it, the image is saved and its path is shown.
- Every session's receipt is saved to `~/.claude/receipts/` when it ends. Nothing leaves your machine.
- In the terminal it's a text slip; in the desktop app it's drawn as paper.

## Adding a mod

1. Put it in `plugins/<name>/` (with `.claude-plugin/plugin.json`).
2. Add an entry to `.claude-plugin/marketplace.json`.
3. `claude plugin validate plugins/<name>`, `claude plugin test plugins/<name>` and `claude plugin validate .`

The demo clip is a [HyperFrames](https://github.com/heygen-com/hyperframes) composition in `media/receipt-demo`: `bun build.ts && npm run render`.

## License

MIT
