Install any skill in seconds. Free to start, no credit card required.
Get Started Free →控除証明書(生命保険料・地震保険料等)の画像を読み取り構造化データを返す。 他のスキルから呼び出されるほか、直接ユーザーが呼び出すことも可能。
.claude/skills/kazukinagata-reading-deduction-cert/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 559% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 24% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 24% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 126% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 48% | 0% |
控除証明書(生命保険料控除証明書、地震保険料控除証明書、社会保険料控除証明書等)の画像を読み取り、構造化データとして返すスキル。
ファイルが PDF(.pdf)の場合、画像 OCR の前にテキスト抽出を試みる。
shinkoku pdf extract-text --file-path <path> を実行するshinkoku pdf to-image --file-path <path> --output-dir <dir> で PNG に変換し、以下の画像読み取りフローに進む精度を高めるため、同じ画像を2つの独立したコンテキストで並列に読み取り、結果を照合する。
サブエージェントが使える環境では、2つのサブエージェントを並列で起動し、それぞれ独立に画像を読み取る。 各サブエージェントには以下の「基本ルール」と「出力フォーマット」をプロンプトとして渡し、画像ファイルパスを指定する。
サブエージェントが利用できない環境では、以下の手順で読み取る:
⚠ デュアル検証が利用できないため、必ずユーザーに目視確認を依頼してください。
JSON オブジェクトとして返す。金額は必ず int(円単位の整数)とする。
json{ "certificate_type": "life_insurance", "policy_type": "新制度 or 旧制度", "category": "一般 or 介護医療 or 個人年金", "company_name": "保険会社名", "policy_number": "証券番号", "annual_premium": 120000, "dividend": 0 }
json{ "certificate_type": "earthquake_insurance", "company_name": "保険会社名", "policy_number": "証券番号", "annual_premium": 50000, "is_old_long_term": false }
json{ "certificate_type": "social_insurance", "insurance_type": "national_pension", "annual_premium": 200000, "period": "対象期間" }
json{ "certificate_type": "small_business_mutual_aid", "sub_type": "ideco or small_business or disability", "annual_contribution": 276000 }
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 4,763 | 7,624 | +60% | 1 | 1 | 0% | 911 | 1,479 | +62% | 0 | 0 | — |
case-02 | fail→fail | 5,481 | 9,055 | +65% | 1 | 1 | 0% | 828 | 1,935 | +134% | 0 | 0 | — |
case-03 | fail→fail | 5,152 | 6,878 | +34% | 1 | 1 | 0% | 905 | 1,469 | +62% | 0 | 0 | — |
case-04 | pass→pass | 7,766 | 7,000 | -10% | 1 | 1 | 0% | 1,463 | 2,505 | +71% | 0 | 0 | — |
case-05 | fail→pass | 4,401 | 25,048 | +469% | 1 | 1 | 0% | 721 | 4,751 | +559% | 0 | 0 | — |
case-06 | pass→pass | 15,279 | 11,687 | -24% | 1 | 1 | 0% | 2,594 | 3,199 | +23% | 0 | 0 | — |
case-07 | pass→pass | 3,090 | 2,607 | -16% | 1 | 1 | 0% | 618 | 1,640 | +165% | 0 | 0 | — |
case-21 | pass→pass | 4,600 | 2,392 | -48% | 1 | 1 | 0% | 741 | 1,566 | +111% | 0 | 0 | — |
case-08 | pass→pass | 5,219 | 3,019 | -42% | 1 | 1 | 0% | 971 | 1,720 | +77% | 0 | 0 | — |
case-09 | pass→pass | 3,038 | 1,993 | -34% | 1 | 1 | 0% | 541 | 1,499 | +177% | 0 | 0 | — |
case-10 | pass→pass | 4,329 | 1,952 | -55% | 1 | 1 | 0% | 720 | 1,527 | +112% | 0 | 0 | — |
case-11 | fail→pass | 11,326 | 3,246 | -71% | 1 | 1 | 0% | 1,365 | 1,698 | +24% | 0 | 0 | — |
case-22 | fail→pass | 8,136 | 3,019 | -63% | 1 | 1 | 0% | 1,351 | 1,679 | +24% | 0 | 0 | — |
case-12 | fail→pass | 4,483 | 1,906 | -57% | 1 | 1 | 0% | 641 | 1,448 | +126% | 0 | 0 | — |
case-13 | fail→pass | 5,922 | 1,861 | -69% | 1 | 1 | 0% | 930 | 1,377 | +48% | 0 | 0 | — |
case-14 | fail→fail | 12,080 | 6,030 | -50% | 1 | 1 | 0% | 2,400 | 1,452 | -40% | 0 | 0 | — |
case-15 | fail→pass | 6,712 | 2,737 | -59% | 1 | 1 | 0% | 1,185 | 1,596 | +35% | 0 | 0 | — |
case-16 | fail→pass | 4,548 | 2,244 | -51% | 1 | 1 | 0% | 797 | 1,545 | +94% | 0 | 0 | — |
case-17 | pass→pass | 9,929 | 5,551 | -44% | 1 | 1 | 0% | 1,666 | 2,091 | +26% | 0 | 0 | — |
case-18 | pass→pass | 4,884 | 2,566 | -47% | 1 | 1 | 0% | 852 | 1,597 | +87% | 0 | 0 | — |
case-19 | pass→pass | 10,087 | 2,183 | -78% | 1 | 1 | 0% | 1,661 | 1,527 | -8% | 0 | 0 | — |
case-20 | pass→pass | 8,637 | 2,532 | -71% | 1 | 1 | 0% | 1,634 | 1,656 | +1% | 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. 22 cases were attempted, and 18 counted toward the lift figure. The other 4 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 +32 percentage points is the difference between those two pass rates over the 18 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.