Agent skill

Furusato

by kazukinagata in kazukinagata/shinkoku

This skill manages furusato nozei (hometown tax) donations. An agent skill from kazukinagata/shinkoku.

MITAuto-check passedBusiness, Finance & HR

Install Furusato

skills CLI
$ npx skills add kazukinagata/shinkoku --skill furusato -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kazukinagata/shinkoku furusato --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kazukinagata/shinkoku.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/furusato .claude/skills/furusato && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
furusato
GitHub stars
365
Token cost
~1.5k tokens
SKILL.md length
267 words
Files
4 (incl. references)
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

This skill manages furusato nozei (hometown tax) donations. An agent skill from kazukinagata/shinkoku.

  • Works in 3 steps: shinkoku.config.yaml を Read ツールで読み込む → ファイルが存在しない場合は /setup スキルの実行を案内して終了する → 設定値を把握する
  • The user wants to register donation data
  • SKILL.md covers 設定の読み込み(最初に実行), 進捗情報の読み込み, ステップ1: 受領証明書の画像読み取り and ステップ2: 寄附データの登録, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Furusato is an agent skill from kazukinagata/shinkoku. This 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", "寄附金", "寄付金", "ふるさと納税の控除", "寄附金受領証明書", "ワンストップ特例".

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `README.md`, `references/furusato-consultation-guide.md` and `references/furusato-tax-rules.md`).

It sits in Business, Finance & HR. The repository describes itself as: 確定申告自動化 AI エージェントプラグイン — 帳簿管理から e-Tax 入力代行まで. The licence is MIT.

When your agent uses it

  • The user wants to register donation data
  • Read donation receipts
  • Check deduction limits
  • Manage their furusato nozei records

Example prompts

  • “ふるさと納税”
  • “furusato”
  • “ふるさと納税の控除”
  • “/furusato”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. shinkoku.config.yaml を Read ツールで読み込む
  2. ファイルが存在しない場合は /setup スキルの実行を案内して終了する
  3. 設定値を把握する

What it can do on your machine

Read from SKILL.md and the folder at commit 607574d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Furusato loads about 1.5k tokens when it runs, and up to ~7.9k if it reads all its reference files. Until then it costs about 74 tokens; SKILL.md has 267 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~74
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kazukinagata/shinkoku at commit 607574d, republished under its MIT licence (© kazukinagata). 267 words, ~1,475 tokens.

Download SKILL.mdSave it as .claude/skills/furusato/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
furusato
description
This 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", "寄附金", "寄付金", "ふるさと納税の控除", "寄附金受領証明書", "ワンストップ特例".

ふるさと納税管理(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--- ブロックから以下の情報を取得する:

  • 自治体名: 寄附先の市区町村名
  • 都道府県名: 寄附先の都道府県
  • 寄附金額: 円単位の整数
  • 寄附日: YYYY-MM-DD 形式
  • 受領証明書番号: 記載があれば
複数の受領証明書を一括処理する場合
  1. Glob ツールで受領証明書画像の一覧を取得する(例: furusato_receipts/*.jpg, furusato_receipts/*.png)

  2. shinkoku import furusato-receipt --file-path PATH で各ファイルの存在を確認する

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

    結果照合: ファイル単位で両方の読み取り結果の amount, date, municipality_name を比較する

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

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

    • 差異のあるフィールドを明示する
    • A を採用 / B を採用 / 手動入力 の3択を AskUserQuestion で提示する
  4. 各証明書の結果をまとめてユーザーに提示する

1-3. ユーザーに確認

抽出した情報を一覧表示し、正しいか確認する。修正があればユーザーの入力を反映する。

ステップ2: 寄附データの登録

確認が完了したら furusato.py add で登録する。

bash
shinkoku furusato add --db-path DB --input FILE

入力 JSON ファイルのフォーマット:

json
{
  "fiscal_year": 2025,
  "municipality_name": "自治体名",
  "amount": 30000,
  "date": "2025-06-15",
  "municipality_prefecture": "都道府県",
  "receipt_number": "受領証明書番号",
  "one_stop_applied": false
}
ワンストップ特例の確認

登録時に「ワンストップ特例を申請しましたか?」と確認する。

重要な注意: 副業で確定申告する場合、ワンストップ特例は無効化される。 確定申告時に全額を寄附金控除として申告する必要がある。

ステップ3: 複数の証明書を繰り返し処理

「他に受領証明書はありますか?」と確認し、あればステップ1~2を繰り返す。

ステップ4: 集計と控除上限チェック

すべての寄附データを登録したら furusato.py summary で集計する。

bash
shinkoku furusato summary --db-path DB --fiscal-year YEAR [--estimated-limit N]

表示する情報:

  • 寄附先自治体数と合計金額
  • 所得控除額(合計 - 2,000円)
  • ワンストップ特例申請数
  • 控除上限の推定(所得情報がある場合)
控除上限の推定

所得情報が把握できている場合は shinkoku tax calc-furusato-limit で上限を推定する。

bash
shinkoku tax calc-furusato-limit --input FILE

推奨(詳細推定): 所得税と住民税では所得控除額が異なる(基礎控除: 所得税58〜104万 vs 住民税43万 等)ため、 住民税側の控除・調整控除を考慮した詳細推定を使う。入力 JSON は calc-deductions と同じ粒度で控除の元データを渡す:

json
{
  "fiscal_year": 2026,
  "total_income": 4_500_000,
  "social_insurance": 750_000,
  "life_insurance_detail": {"general_new": 80_000},
  "earthquake_insurance_premium": 20_000,
  "medical_expenses": 0,
  "ideco_contribution": 276_000,
  "spouse_income": null,
  "dependents": [
    {"name": "子", "relationship": "子", "birth_date": "2010-04-01", "income": 0}
  ]
}
  • total_income は総所得金額等(給与所得控除後の給与所得 + 事業所得(青色申告特別控除後)+ 雑所得 等)
  • 出力には estimated_limit のほか、住民税課税所得・所得割額・調整控除・特例控除の税率・上限(193万キャップ)の内訳が含まれる
  • 特例控除の所得税率は「住民税課税所得 − 人的控除差 − (所得税の基礎控除 − 48万)」で判定する(地方税法37条の2第2項)。令和8年分は基礎控除104万の影響で所得税率が下がり、上限が令和7年分より小さくなる層がある
  • 住宅ローン控除の住民税控除分は考慮されないため、該当者は結果を少なめに見る

簡易推定(後方互換): {"total_income": N, "total_income_deductions": M} を渡すと所得税の所得控除合計から逆算する。 所得税の基礎控除の方が大きいため上限を過少に見積もる(令和8年分では1〜2万円程度の差が出る)。

上限超過の場合は警告を表示: 「寄附合計額が推定上限を超えています。超過分は自己負担となります。」

ステップ5: 確定申告との関係

以下を説明する:

  • 副業で確定申告する場合、ワンストップ特例は使えない
  • 確定申告で寄附金控除(所得控除)として申告する
  • 所得税からの控除 = (寄附合計 - 2,000) x 所得税率
  • 住民税からの控除は別途計算される(特例分含む)
令和7年10月以降の制度変更(ユーザーに伝えるべき点)
  • 令和7年10月1日以降、ポータルサイト経由の寄附へのポイント付与は禁止(総務省告示)。クレジットカード自体のポイントは対象外
  • 令和8年10月1日以降の指定から、自治体の「寄附金活用可能額」を寄附額の6割以上とする基準(経過措置: R8.10〜52.5%、R9.10〜55%、R10.10〜57.5%)と地場産品基準の厳格化が適用される。返礼品の内容・還元率が変わる可能性がある
  • 令和9年中以後の寄附(令和10年度分住民税)から、住民税特例控除額に193万円の上限が設けられる(合計所得金額4,000万円超程度の高所得者のみ影響)

リファレンスファイル参照ガイド

質問カテゴリ参照ファイル
ふるさと納税の税制ルール・計算式references/furusato-tax-rules.md
上限額・返礼品・タイミング・相談全般references/furusato-consultation-guide.md

次のステップの案内

  • income-tax スキルで所得税の計算に進む(寄附金控除が自動反映される)
  • 他の控除(医療費控除等)がある場合は先にそちらを処理する

引継書の出力

サマリー提示後、以下のファイルを Write ツールで出力する。 これにより、セッションの中断や Compact が発生しても次のステップで結果を引き継げる。

ステップ別ファイルの出力

.shinkoku/progress/05-furusato.md に以下の形式で出力する:

---
step: 5
skill: furusato
status: completed
completed_at: "{当日日付 YYYY-MM-DD}"
fiscal_year: {tax_year}
---

# ふるさと納税管理の結果

## 登録済み寄附一覧

| 自治体名 | 都道府県 | 金額 | 寄附日 | ワンストップ |
|---------|---------|------|--------|------------|
| {自治体名} | {都道府県} | {金額}円 | {日付} | {申請済み/未申請} |

## 集計

- 寄附先自治体数: {件数}
- 寄附合計額: {合計金額}円
- 控除額(合計 - 2,000円): {控除額}円

## 控除上限との比較

- 推定控除上限: {上限額}円(所得情報がある場合)
- 上限超過: {なし/あり(超過額: {金額}円)}

## 次のステップ

/income-tax で所得税の計算に進む

寄附がない場合(スキップ)は status を skipped とし、内容は「該当なし」と記載する。

進捗サマリーの更新

.shinkoku/progress/progress-summary.md を更新する(存在しない場合は新規作成):

  • YAML frontmatter: fiscal_year、last_updated(当日日付)、current_step: furusato
  • テーブル: 全ステップの状態を更新(furusato を completed または skipped に)
  • 次のステップの案内を記載
出力後の案内

ファイルを出力したらユーザーに以下を伝える:

  • 「引継書を .shinkoku/progress/ に保存しました。セッションが中断しても次のスキルで結果を引き継げます。」
  • 次のステップの案内

© kazukinagata, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/furusato of kazukinagata/shinkoku.

  • SKILL.md
  • README.md
  • references/furusato-consultation-guide.md
  • references/furusato-tax-rules.md

Open the folder on GitHubat commit 607574d

Compare with similar skills

Furusato next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Furusato compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Furusato this skillkazukinagata/shinkoku365—~1.5kAutomated safety check: PassMIT
Technical Analysttradermonty/claude-trading-skills3k4 repos~4.6kAutomated safety check: PassMIT
Theme Detectortradermonty/claude-trading-skills3k2 repos~4.9kAutomated safety check: PassMIT
Creating Financial ModelsChen-zexi/open-ptc-agent7293 repos~1.3kAutomated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Itr Walakaranb192/itr-wala871—~3.6kAutomated safety check: PassMIT

Similar skills

  • Technical Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.

    3k GitHub starsUsed in 4 repos~4.6k tokens
    Business, Finance & HRAuto-check passed
  • Theme Detector

    tradermonty/claude-trading-skills

    Detect and analyze trending market themes across sectors. An agent skill from tradermonty/claude-trading-skills.

    3k GitHub starsUsed in 2 repos~4.9k tokens
    Business, Finance & HRAuto-check passed
  • Creating Financial Models

    Chen-zexi/open-ptc-agent

    This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions

    729 GitHub starsUsed in 3 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Itr Wala

    karanb192/itr-wala

    File Indian income tax returns (ITR) for FY 2025-26 / AY 2026-27.

    871 GitHub stars~3.6k tokensUpdated 6 days ago
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    321 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed

More from kazukinagata/shinkoku

All 24 skills in this repo
  • Consumption Tax

    kazukinagata/shinkoku

    This skill should be used when the user needs to calculate consumption tax (消費税) or determine their tax method (2割特例, 簡易課税, or 本則課税).

    365 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Incorporation

    kazukinagata/shinkoku

    法人成り(個人事業主から法人への移行)に関する相談。税額比較シミュレーション、 法人形態の選択、設立手続き、役員報酬戦略、社会保険の比較を支援する。

    365 GitHub stars~687 tokensUpdated 1 mo ago
    Auto-check passed
  • Invoice System

    kazukinagata/shinkoku

    This skill should be used when the user asks about the invoice system (インボイス制度), qualified invoices (適格請求書), registration numbers (登録番号), input tax credits (仕入税額控除), the 20% special measure (2割特例)…

    365 GitHub stars~778 tokensUpdated 1 mo ago
    Auto-check passed
  • Journal

    kazukinagata/shinkoku

    This skill should be used when the user wants to record bookkeeping entries (仕訳), import transaction data from CSV files, receipts, or invoices, or manage their general ledger.

    365 GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Settlement

    kazukinagata/shinkoku

    This skill should be used when the user needs to perform year-end closing adjustments (決算整理), review financial statements (決算書), compute depreciation, or review their trial balance.

    365 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Submit

    kazukinagata/shinkoku

    This skill should be used when the user is ready to submit their tax return, needs a final review checklist, wants to know how to submit (e-Tax, mail, or in-person), or asks about common mistakes…

    365 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Furusato

What does Furusato do?

This skill manages furusato nozei (hometown tax) donations. An agent skill from kazukinagata/shinkoku. Furusato is an agent skill from kazukinagata/shinkoku. This skill manages furusato nozei (hometown tax) donations.

When should I use Furusato?

Furusato fits situations like: the user wants to register donation data; read donation receipts; check deduction limits; manage their furusato nozei records.

How do I install Furusato in Claude Code?

Run `npx skills add kazukinagata/shinkoku --skill furusato -a claude-code`. Or copy the skill folder (skills/furusato in kazukinagata/shinkoku) into .claude/skills/furusato in your project. Claude Code loads it when a task matches its description.

How do I install Furusato in Codex?

Run `npx skills add kazukinagata/shinkoku --skill furusato -a codex`. Or copy the skill folder (skills/furusato in kazukinagata/shinkoku) into .agents/skills/furusato in your project. Codex loads it when a task matches its description.

Can I use Furusato in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kazukinagata/shinkoku --skill furusato -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/furusato, .gemini/skills/furusato, .github/skills/furusato and .opencode/skills/furusato in your project.

What does Furusato need to run?

SKILL.md names no scripts, command-line tools or credentials: Furusato is instructions for the agent only.

Does Furusato access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Furusato safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Furusato use?

Furusato is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Furusato use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.4k tokens, read only when the agent opens those files.

What are the alternatives to Furusato?

Skills that share tags, products or a category with Furusato: Technical Analyst (tradermonty/claude-trading-skills, 3k stars), Theme Detector (tradermonty/claude-trading-skills, 3k stars), Creating Financial Models (Chen-zexi/open-ptc-agent, 729 stars) and Stock API (zhangxiangliang/stock-api, 2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Furusato?

kazukinagata (a GitHub user) maintains it in kazukinagata/shinkoku, which has 365 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on September 9, 2026.

Source: kazukinagata/shinkoku on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.