Manages furusato nozei (Japan's hometown tax donation system) by reading receipt images, tracking donations across municipalities, and calculating deduction limits. It delegates the actual OCR work to a separate reading-receipt skill with dual verification, cross-checks the results, then stores everything in a SQLite database. The skill walks you through registering multiple donations, warns you if you've exceeded your deduction cap, and crucially reminds you that One-Stop Special provisions get invalidated if you're filing a full tax return for side income. Built as part of a larger tax filing workflow where it hands off deduction data to downstream income tax calculations. Most useful if you're juggling several donation receipts and want to avoid manual spreadsheet work.

skills.sh installs
315
GitHub stars
368
last updated
Aug 21, 2026

Install

$ npx -y skills add kazukinagata/shinkoku --skill furusato --agent claude-code

Installs into .claude/skills of the current project.

Files

ふるさと納税管理(Furusato Nozei Management)

ふるさと納税の寄附金受領証明書を読み取り、寄附データを管理し、控除額を計算するスキル。

設定の読み込み(最初に実行)

  1. shinkoku.config.yaml を Read ツールで読み込む
  2. ファイルが存在しない場合は /setup スキルの実行を案内して終了する
  3. 設定値を把握する:
    • db_path: CLI スクリプトの --db-path 引数に使用(CWD基準で絶対パスに変換)
    • tax_year: 対象年度
    • furusato_receipts_dir: 受領証明書の格納ディレクトリ(任意)

進捗情報の読み込み

設定の読み込み後、引継書ファイルを読み込んで前ステップの結果を把握する。

  1. .shinkoku/progress/progress-summary.md を Read ツールで読み込む(存在する場合)
  2. 以下の引継書を Read ツールで読み込む(存在する場合):
    • .shinkoku/progress/01-setup.md
  3. 読み込んだ情報を以降のステップで活用する(ユーザーへの再質問を避ける)
  4. ファイルが存在しない場合はスキップし、ユーザーに必要情報を直接確認する

ステップ1: 受領証明書の画像読み取り

1-1. ファイルの確認

import_data.py furusato-receipt --file-path PATH でファイルの存在を確認する。

1-2. 画像の読み取り

重要: 画像の読み取りは対応する reading- スキルに委任する。*

単一の受領証明書の場合

画像ファイルの読み取りには /reading-receipt スキルを使用する。 スキルの指示に従い、デュアル検証(2つの独立した読み取り結果の照合)を行って結果を取得する。

結果照合: 両方の読み取り結果から amount, date, municipality_name を比較する

一致の場合: そのまま採用。「2つの独立した読み取りで結果が一致しました」と報告

不一致の場合: ユーザーに元画像パスと両方の結果を提示し、正しい方を選択してもらう:

  • 差異のあるフィールドを明示する
  • A を採用 / B を採用 / 手動入力 の3択を AskUserQuestion で提示する

読み取り結果の ---FURUSATO_RECEIPT_DATA--- ブロックから以下の情報を取得する:

Sponsors

Details

Repository
github.com/kazukinagata/shinkoku
License
MIT
First seen
Jun 3, 2026

More from kazukinagata/shinkoku

All 24

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs