Install any skill in seconds. Free to start, no credit card required.
Get Started Free →レシート・領収書・ふるさと納税受領証明書の画像を読み取り構造化データを返す。 他のスキルから呼び出されるほか、直接ユーザーが呼び出すことも可能。
.claude/skills/kazukinagata-reading-receipt/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 30% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-20 | ✗→✓ | ▲ Improved | -4% | 0% |
レシート・領収書・ふるさと納税受領証明書の画像を読み取り、構造化データとして返すスキル。
ファイルが PDF(.pdf)の場合、画像 OCR の前にテキスト抽出を試みる。
shinkoku pdf extract-text --file-path <path> を実行するshinkoku pdf to-image --file-path <path> --output-dir <dir> で PNG に変換し、以下の画像読み取りフローに進む精度を高めるため、同じ画像を2つの独立したコンテキストで並列に読み取り、結果を照合する。
サブエージェントが使える環境では、2つのサブエージェントを並列で起動し、それぞれ独立に画像を読み取る。 各サブエージェントには以下の「基本ルール」と「出力フォーマット」をプロンプトとして渡し、画像ファイルパスを指定する。
サブエージェントが利用できない環境では、以下の手順で読み取る:
⚠ デュアル検証が利用できないため、必ずユーザーに目視確認を依頼してください。
画像を読み取り、以下の形式で返す:
---RECEIPT_DATA---
date: YYYY-MM-DD
vendor: 店舗名
total_amount: 金額(int)
tax_included: true/false
items:
- name: 品目名
amount: 金額(int)
quantity: 数量(int)
---END---画像を読み取り、以下の形式で返す:
---FURUSATO_RECEIPT_DATA---
municipality_name: 自治体名(市区町村名)
prefecture: 都道府県名
amount: 寄附金額(int)
date: YYYY-MM-DD
receipt_number: 受領証明書番号(記載がなければ UNKNOWN)
---END---複数のファイルパスが指示された場合、または Glob パターンでファイル一覧を取得した場合:
## file1.jpg
---RECEIPT_DATA---
...
---END---
## file2.jpg
---RECEIPT_DATA---
...
---END---| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-02 | fail→fail | 8,804 | 5,155 | -41% | 1 | 1 | 0% | 1,532 | 1,432 | -7% | 0 | 0 | — |
case-03 | fail→fail | 18,929 | 2,640 | -86% | 1 | 1 | 0% | 3,609 | 1,456 | -60% | 0 | 0 | — |
case-17 | pass→pass | 7,233 | 4,127 | -43% | 1 | 1 | 0% | 1,225 | 1,422 | +16% | 0 | 0 | — |
case-01 | fail→fail | 2,683 | 2,428 | -10% | 1 | 1 | 0% | 258 | 1,530 | +493% | 0 | 0 | — |
case-04 | fail→pass | 6,774 | 4,118 | -39% | 1 | 1 | 0% | 1,231 | 1,591 | +29% | 0 | 0 | — |
case-05 | pass→pass | 3,216 | 1,983 | -38% | 1 | 1 | 0% | 427 | 1,491 | +249% | 0 | 0 | — |
case-06 | pass→pass | 5,020 | 1,953 | -61% | 1 | 1 | 0% | 874 | 1,509 | +73% | 0 | 0 | — |
case-07 | pass→pass | 3,805 | 2,330 | -39% | 1 | 1 | 0% | 547 | 1,547 | +183% | 0 | 0 | — |
case-23 | pass→pass | 12,546 | 6,508 | -48% | 1 | 1 | 0% | 1,631 | 2,323 | +42% | 0 | 0 | — |
case-08 | pass→pass | 4,529 | 1,864 | -59% | 1 | 1 | 0% | 665 | 1,399 | +110% | 0 | 0 | — |
case-09 | fail→pass | 7,642 | 2,514 | -67% | 1 | 1 | 0% | 1,169 | 1,515 | +30% | 0 | 0 | — |
case-10 | fail→pass | 9,359 | 2,606 | -72% | 1 | 1 | 0% | 1,563 | 1,573 | +1% | 0 | 0 | — |
case-11 | pass→pass | 10,199 | 3,778 | -63% | 1 | 1 | 0% | 1,806 | 1,906 | +6% | 0 | 0 | — |
case-12 | pass→pass | 12,061 | 3,188 | -74% | 1 | 1 | 0% | 1,998 | 1,688 | -16% | 0 | 0 | — |
case-13 | pass→pass | 8,004 | 2,063 | -74% | 1 | 1 | 0% | 1,238 | 1,510 | +22% | 0 | 0 | — |
case-14 | fail→pass | 8,545 | 2,380 | -72% | 1 | 1 | 0% | 1,397 | 1,540 | +10% | 0 | 0 | — |
case-15 | pass→pass | 5,165 | 1,778 | -66% | 1 | 1 | 0% | 803 | 1,392 | +73% | 0 | 0 | — |
case-16 | pass→pass | 7,404 | 3,397 | -54% | 1 | 1 | 0% | 1,185 | 1,582 | +34% | 0 | 0 | — |
case-18 | pass→pass | 10,802 | 1,718 | -84% | 1 | 1 | 0% | 1,408 | 1,415 | +0% | 0 | 0 | — |
case-19 | pass→pass | 7,336 | 2,788 | -62% | 1 | 1 | 0% | 1,236 | 1,541 | +25% | 0 | 0 | — |
case-20 | fail→pass | 10,376 | 2,600 | -75% | 1 | 1 | 0% | 1,704 | 1,629 | -4% | 0 | 0 | — |
case-21 | pass→pass | 8,522 | 3,320 | -61% | 1 | 1 | 0% | 1,452 | 1,631 | +12% | 0 | 0 | — |
case-22 | pass→pass | 10,080 | 2,121 | -79% | 1 | 1 | 0% | 1,737 | 1,478 | -15% | 0 | 0 | — |
case-24 | pass→pass | 12,809 | 7,576 | -41% | 1 | 1 | 0% | 2,140 | 2,321 | +8% | 0 | 0 | — |
case-25 | pass→pass | 13,223 | 10,699 | -19% | 1 | 1 | 0% | 2,651 | 3,205 | +21% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 25 cases were attempted, and 24 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +20 percentage points is the difference between those two pass rates over the 24 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.