e-bookkeeping-compliance

e-bookkeeping-compliance is a skill for Claude Code from kazukinagata/shinkoku. It costs 91 tokens per session (2,589 once invoked), scanned A, original, MIT.

A compliance checker for Japan's rules on keeping high-quality electronic accounting books. It checks whether accounting records and related documentation meet specified requirements for electronic storage.

In plain words
What is it for?
Use it to check system documentation, readable reports, CSV export, correction and deletion histories, and links between accounting records for a selected fiscal year.
Why use it?
It helps reveal gaps before a tax inspection and checks conditions connected with the special electronic-book deduction. It also confirms whether the required prior notice has been submitted.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the shinkoku plugin — 24 skills shipped together

Good fit Use it to check system documentation, readable reports, CSV export, correction and deletion histories, and links between accounting records for a selected fiscal year.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kazukinagata/shinkoku/e-bookkeeping-compliance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kazukinagata/shinkoku --skill e-bookkeeping-compliance
Clone the repo
git clone --depth 1 https://github.com/kazukinagata/shinkoku

Made for: Claude Code.

Or install shinkoku, the plugin that ships this one along with the rest of its 24 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for e-bookkeeping-compliance

README.md
[![agentmods](https://agentmods.dev/badge/skills/kazukinagata/shinkoku/e-bookkeeping-compliance/github.svg)](https://agentmods.dev/skills/kazukinagata/shinkoku/e-bookkeeping-compliance)
Your own site
<a href="https://agentmods.dev/skills/kazukinagata/shinkoku/e-bookkeeping-compliance"><img src="https://agentmods.dev/badge/skills/kazukinagata/shinkoku/e-bookkeeping-compliance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for e-bookkeeping-compliance

Your own site · 80×15
<a href="https://agentmods.dev/skills/kazukinagata/shinkoku/e-bookkeeping-compliance"><img src="https://agentmods.dev/badge/skills/kazukinagata/shinkoku/e-bookkeeping-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,589 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.02589
Opus 5 $0.00046 $0.01295
Sonnet 5 $0.00018 $0.00518
Haiku 4.5 $0.00009 $0.00259

Measured 13d ago against content hash 3610db821aab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

e-bookkeeping-compliance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/e-bookkeeping-compliance/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

優良な電子帳簿コンプライアンス診断

税務調査への備え、または優良な電子帳簿の要件充足状況を診断するスキル。 電子帳簿保存法施行規則第5条第5項(優良な電子帳簿の要件)に基づき、 shinkoku の帳簿データが要件を満たしているかを自動チェックする。

前提知識

  • 電帳法の要件詳細: /tax-ebookkeeping-context を実行する
  • システム概要書: docs/system-overview.md

Step 0: 前提確認

ユーザーに以下を確認する:

  1. DB パス: --db-path に使用するデータベースファイルのパス
  2. 対象年度: --fiscal-year に使用する会計年度
  3. 届出書の提出状況: 「国税関係帳簿の電磁的記録等による保存等に係る届出書」を所轄税務署に提出済みか

届出について: 優良な電子帳簿の保存を適用するには、あらかじめ届出書の提出が必要です。 令和9年分から適用する場合は、令和8年中に届出書を提出する必要があります。 届出書の様式は国税庁ウェブサイトからダウンロードできます。


Step 1: 自動診断 & サマリー出力

以下のコマンドを実行してシステムの適合状況を診断する。 結果はテーブル形式でユーザーに提示する。

チェック項目と実行コマンド

# 要件 条文 チェック方法
G1 システム関係書類の備付け 施行規則2条2項1号 docs/system-overview.md ファイルの存在を確認
G2 見読可能性の確保 施行規則2条2項2号 shinkoku ledger trial-balance --db-path <db> --fiscal-year <year> を実行し、正常出力を確認
G3 ダウンロード対応 施行規則2条2項3号 shinkoku ledger search --db-path <db> --input <params> --format csv を実行し、CSV出力を確認
G4 訂正・削除履歴 施行規則5条5項1号イ shinkoku ledger audit-log --db-path <db> を実行し、テーブルが機能することを確認
G5 相互関連性の確保 施行規則5条5項1号ロ shinkoku ledger general-ledger --db-path <db> --fiscal-year <year> --account-code <code> を実行し、仕訳帳⇔総勘定元帳の関連を確認
G6 取引先検索 施行規則5条5項1号ハ counterparty_contains パラメータで検索を実行
G7 日付・金額の範囲指定検索 施行規則5条5項1号ハ date_from/date_to/amount_min/amount_max パラメータで検索を実行
G8 組合せ検索 施行規則5条5項1号ハ 日付+取引先+金額を組み合わせた検索を実行

診断手順

  1. G1: docs/system-overview.md の存在を確認する
  2. G2: 残高試算表を生成する
    shinkoku ledger trial-balance --db-path <db> --fiscal-year <year>
    
  3. G3: 仕訳をCSV形式で出力する
    shinkoku ledger search --db-path <db> --input <params> --format csv
    
    (params には {"fiscal_year": <year>, "limit": 5} を指定)
  4. G4: 監査ログを取得する
    shinkoku ledger audit-log --db-path <db>
    
  5. G5: 任意の勘定科目で総勘定元帳を出力する(仕訳が存在する科目を使用)
    shinkoku ledger general-ledger --db-path <db> --fiscal-year <year> --account-code <code>
    
  6. G6-G8: 検索機能のテスト
    # G6: 取引先検索
    shinkoku ledger search --db-path <db> --input <params>
    # params: {"fiscal_year": <year>, "counterparty_contains": "<取引先名の一部>"}
    
    # G7: 範囲指定検索
    # params: {"fiscal_year": <year>, "date_from": "<開始日>", "date_to": "<終了日>", "amount_min": 1, "amount_max": 1000000}
    
    # G8: 組合せ検索
    # params: {"fiscal_year": <year>, "date_from": "...", "counterparty_contains": "...", "amount_min": 1}
    

Read the full file on GitHub · 199 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 199 lines · 91 tokens per session scan A 3610db821aab

Subscribe to this mod's changes

e-bookkeeping-compliance is a skill published in the GitHub repository kazukinagata/shinkoku (359 stars, last pushed 3d ago), licensed MIT. It adds 91 tokens to every session and 2,589 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bionic-safety-net

Unified survival infrastructure: health, finance, legal safety, circuit breakers, and structural protection against all ruin classes. The last line of defense.

winstonkoh87/Athena-Public · 34 tokens

internal-controls-and-audit

Designs and tests controls over financial reporting — segregation of duties, approval limits, evidence, and preparing for audit. Use this to design controls for a process, prepare for an external audit, respond to an audit finding, set approval thresholds, or assess where a small team's segregation of duties is…

cbrock84/headcount · 67 tokens

capital-structure-and-covenants

Decides how the business is financed and what that financing then requires of it — debt versus equity, weighted average cost of capital as a hurdle rate, how much leverage cash flow can carry, and the financial, affirmative and negative covenants, definitions, test dates and cure rights that come attached. Use this to…

cbrock84/headcount · 102 tokens

revenue-recognition

Determines when and how revenue is recognized — performance obligations, contract terms that change the answer, and the deal structures that create accounting problems. Use this to work out how a contract should be recognized, review a non-standard deal before it is signed, understand deferred revenue, or spot terms…

cbrock84/headcount · 69 tokens

tax

Structures the tax questions a growing business faces — corporate income, sales and use, payroll, nexus, and the obligations created by hiring or selling somewhere new. Use this to work out what a new state or country obligates you to, prepare for a tax filing or audit, understand sales tax on your product, or check…

cbrock84/headcount · 75 tokens

802-regulations-dora

Use when reviewing, designing, or modifying Java enterprise systems that may support financial entities, critical ICT services, third-party ICT provider integrations, or operational resilience obligations under DORA. This should trigger for requests such as Review a Java platform for DORA ICT risk controls; Design…

jabrena/plinth · 97 tokens