/shinkoku:reading-deduction-certfrom shinkoku
Reads Japanese tax deduction certificates (life insurance, earthquake insurance, social insurance, iDeCo) from images/PDFs and returns structured JSON. Supports dual-verification OCR for accuracy.
Ships in shinkoku. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
控除証明書(生命保険料控除証明書、地震保険料控除証明書、社会保険料控除証明書等)の画像を読み取り、構造化データとして返すスキル。
ファイルが PDF(.pdf)の場合、画像 OCR の前にテキスト抽出を試みる。
shinkoku pdf extract-text --file-path <path> を実行するshinkoku pdf to-image --file-path <path> --output-dir <dir> で PNG に変換し、以下の画像読み取りフローに進む精度を高めるため、同じ画像を2つの独立したコンテキストで並列に読み取り、結果を照合する。
2つの独立した読み取りを実行する: サブエージェントが使える環境では、2つのサブエージェントを並列で起動し、それぞれ独立に画像を読み取る。 各サブエージェントには以下の「基本ルール」と「出力フォーマット」をプロンプトとして渡し、画像ファイルパスを指定する。
結果照合: 両方の読み取り結果から主要フィールド(金額等)を比較する。
一致の場合: そのまま採用。「2つの独立した読み取りで結果が一致しました」と報告する。
不一致の場合: ユーザーに元画像パスと両方の結果を提示し、正しい方を選択してもらう:
サブエージェントが利用できない環境では、以下の手順で読み取る:
⚠ デュアル検証が利用できないため、必ずユーザーに目視確認を依頼してください。
JSON オブジェクトとして返す。金額は必ず int(円単位の整数)とする。
{
"certificate_type": "life_insurance",
"policy_type": "新制度 or 旧制度",
"category": "一般 or 介護医療 or 個人年金",
"company_name": "保険会社名",
"policy_number": "証券番号",
"annual_premium": 120000,
"dividend": 0
}
{
"certificate_type": "earthquake_insurance",
"company_name": "保険会社名",
"policy_number": "証券番号",
"annual_premium": 50000,
"is_old_long_term": false
}
{
"certificate_type": "social_insurance",
"insurance_type": "national_pension",
"annual_premium": 200000,
"period": "対象期間"
}
{
"certificate_type": "small_business_mutual_aid",
"sub_type": "ideco or small_business or disability",
"annual_contribution": 276000
}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ocr, tax-deduction, japan-tax, structured-data, image-reading
npx claudepluginhub kazukinagata/shinkoku --plugin shinkoku24 skills in this plugin
/assessThis skill should be used when the user asks to determine what tax filings they need, wants to know if they must file a tax return (確定申告), asks about consumption tax obligations (消費税), or needs help understanding their filing requirements. Trigger phrases include: "確定申告が必要か", "申告の種類", "消費税の届出", "課税事業者かどうか", "何を申告すればいい", "申告要否", "税金の申告", "住民税の申告".
/capabilitiesDisplay shinkoku's current capabilities, supported personas, and known limitations. Use when the user asks "what can you do?", "what's supported?", or similar questions.
/consumption-taxThis skill should be used when the user needs to calculate consumption tax (消費税) or determine their tax method (2割特例, 簡易課税, or 本則課税). Trigger phrases include: "消費税を計算", "消費税の申告", "消費税申告書", "2割特例", "簡易課税", "本則課税", "課税売上", "消費税額", "インボイス", "みなし仕入率", "課税仕入".
/e-bookkeeping-compliance優良な電子帳簿の要件チェック・コンプライアンス診断を実行する。 「優良な電子帳簿」「電帳法対応」「電子帳簿の要件確認」 「税務調査の準備」「75万円控除の条件」「帳簿の要件を満たしているか」 「e-bookkeeping compliance」で起動。
/e-taxThis skill should be used when the user wants to file their tax return electronically via the 確定申告書等作成コーナー (NTA Tax Return Preparation Corner) using Claude in Chrome, Antigravity Browser Sub-Agent, or Playwright CLI (fallback). It guides the browser-based input of calculated tax data. Trigger phrases include: "e-Tax提出", "電子申告", "e-Taxで申告", "作成コーナーに入力", "確定申告書等作成コーナー", "作成コーナー", "申告書を提出".
/furusatoThis skill manages furusato nozei (hometown tax) donations. Use when the user wants to register donation data, read donation receipts, check deduction limits, or manage their furusato nozei records. Trigger phrases: "ふるさと納税", "furusato", "寄附金", "寄付金", "ふるさと納税の控除", "寄附金受領証明書", "ワンストップ特例".
Other plugins' skills for the same job