ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 sreshtalluri

session-receipt

Claude Code 플러그인으로, /receipt를 사용해 모델, 시간, 턴, 도구, 파일, 토큰, 캐시 적중, 비용 등을 담은 공유 가능한 세션 영수증을 만들고 1200×1200 PNG 이미지로 내보낼 수 있습니다.

sreshtalluri@sreshtalluri

sreshtalluri/claude-mods/tree/main/plugins/session-receipt

원본 게시물 이미지1
번역 완료

이 mod 소개

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 라이선스입니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add sreshtalluri/claude-mods
claude plugin install session-receipt
원문 / README

claude-mods

Claude Code mods by @sreshtalluri.

session-receipt: a receipt for every Claude Code session

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 | /receipt prints a shareable receipt of your session. /receipt week totals your week. Copy image gives you a square PNG to post. | | 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

| 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 composition in media/receipt-demo: bun build.ts && npm run render.

License

MIT

동명의 다른 작품

비슷한 프로젝트