reading-withholding SKILL.md skillA
reading-withholding from kazukinagata/shinkoku is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kazukinagata/shinkoku/reading-withholding@git:20260224.5f6f2c8Pins git:20260224.5f6f2c8 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kazukinagata/shinkoku
- Path
skills/reading-withholding/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260224.5f6f2c8, committed Feb 24, 2026
- First version recorded
- Feb 19, 2026
- Size
- 4,795 bytes
- Repository stars
- 367
- License
- MIT
源泉徴収票の画像を読み取り構造化データを返す。 他のスキルから呼び出されるほか、直接ユーザーが呼び出すことも可能。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 源泉徴収票 画像読み取り 源泉徴収票の画像を読み取り、構造化データとして返すスキル。 ## PDF ファイルの場合 ファイルが PDF(`.pdf`)の場合、画像 OCR の前にテキスト抽出を試みる。 1. `shinkoku pdf extract-text --file-path <path>` を実行する 2. 抽出テキストに必要な情報(支払金額・源泉徴収税額等)が含まれていれば、テキストから構造化データを生成する 3. テキストが不十分(スキャン PDF 等)の場合は `shinkoku pdf to-image --file-path <path> --output-dir <dir>` で PNG に変換し、以下の画像読み取りフローに進む ## 画像読み取り方法 ### 推奨: デュアル検証(並列2コンテキスト) 精度を高めるため、同じ画像を2つの独立したコンテキストで並列に読み取り、結果を照合する。 1. **2つの独立した読み取りを実行する:** サブエージェントが使える環境では、2つのサブエージェントを並列で起動し、それぞれ独立に画像を読み取る。 各サブエージェントには以下の「基本ルール」と「出力フォーマット」をプロンプトとして渡し、画像ファイルパスを指定する。 2. **結果照合:** 両方の読み取り結果から主要フィールド(金額等)を比較する。 3. **一致の場合:** そのまま採用。「2つの独立した読み取りで結果が一致しました」と報告する。 4. **不一致の場合:** ユーザーに元画像パスと両方の結果を提示し、正しい方を選択してもらう: - 差異のあるフィールドを明示する - A を採用 / B を採用 / 手動入力 の3択を提示する ### フォールバック(サブエージェント非対応の場合) サブエージェントが利用できない環境では、以下の手順で読み取る: 1. 画像ファイルを直接 Read ツールで読み取る 2. 以下の「基本ルール」と「出力フォーマット」に従ってデータを抽出する 3. 抽出結果をユーザーに提示し、**必ず目視確認を依頼する** ⚠ デュアル検証が利用できないため、必ずユーザーに目視確認を依頼してください。 ## 基本ルール - 画像ファイルは Read ツールで読み取る(Claude Vision が自動的に画像を認識する) - 金額は必ず int(円単位の整数)で返す。カンマや「円」は除去する - 日付は YYYY-MM-DD 形式で返す - 和暦は西暦に変換する(令和7年 → 2025、令和6年 → 2024、平成31年 → 2019) - 読み取れないフィールドは UNKNOWN(文字列)または 0(金額)とする …
Read the whole file at its exact version.
How to install
mdr add kazukinagata/shinkoku/reading-withholding@sha256:869065eb703ca80dThe line at the top of this page pins the label git:20260224.5f6f2c8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_xmfkjlskvn2kuxob)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Feb 19, 2026 and Feb 24, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260224.5f6f2c8 latest | 2026-02-24 | 5f6f2c8 | 4,795 B | A | view · diff |
| git:20260219.0d59a40 | 2026-02-19 | 0d59a40 | 4,243 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4795 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
kazukinagata/shinkoku · 367 stars · license MIT · pushed 2026-09-09 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_xmfkjlskvn2kuxob GET https://markdownregistry.com/api/v1/resolve?ref=kazukinagata/shinkoku/reading-withholding GET https://markdownregistry.com/api/v1/blob/869065eb703ca80da3abf4bbc8dd9a7ff711e03b1bb126a1890a4c132c5b9bff
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.