vat-jpk

vat-jpk is a skill for Claude Code from dithiothreitol/jdg-ksiegowy. It costs 147 tokens per session (1,550 once invoked), scanned A, original, MIT.

A helper for preparing and submitting Polish tax files: monthly VAT JPK_V7M records and the annual flat-rate revenue record JPK_EWP. JPK is a standard electronic tax file sent to Poland's tax authority, and XSD validation checks that its XML structure is valid.

In plain words
What is it for?
Use it to build, validate, submit, track, and correct VAT or annual revenue JPK files, including checking the tax due, deductible VAT, and carried-forward surplus.
Why use it?
It builds the files from recorded invoices, validates their structure, and keeps submission status and the official receipt available. This reduces manual preparation and helps catch malformed files before sending them.

Skill for Claude Code

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

Part of the jdg-ksiegowy plugin — 5 skills, 1 hook, 1 MCP server shipped together

Good fit Use it to build, validate, submit, track, and correct VAT or annual revenue JPK files, including checking the tax due, deductible VAT, and carried-forward surplus.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dithiothreitol/jdg-ksiegowy/vat-jpk
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 dithiothreitol/jdg-ksiegowy --skill vat-jpk
Clone the repo
git clone --depth 1 https://github.com/dithiothreitol/jdg-ksiegowy

Made for: Claude Code.

Or install jdg-ksiegowy, the plugin that ships this one along with the rest of its 5 skills, 1 hook, 1 MCP server.

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 vat-jpk

README.md
[![agentmods](https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/vat-jpk/github.svg)](https://agentmods.dev/skills/dithiothreitol/jdg-ksiegowy/vat-jpk)
Your own site
<a href="https://agentmods.dev/skills/dithiothreitol/jdg-ksiegowy/vat-jpk"><img src="https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/vat-jpk/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 vat-jpk

Your own site · 80×15
<a href="https://agentmods.dev/skills/dithiothreitol/jdg-ksiegowy/vat-jpk"><img src="https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/vat-jpk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,550 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.00147 $0.01550
Opus 5.5 $0.00059 $0.00620
Sonnet 5.5 $0.00029 $0.00310
Haiku 4.5 $0.00015 $0.00155

Measured 17d ago against content hash 7c67481d9e78, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vat-jpk 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 17d 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.

plugins/jdg-ksiegowy/skills/vat-jpk/SKILL.md · 76 lines

How it starts

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

JPK_V7M i JPK_EWP

Narzedzia: serwer MCP jdg, gdy jest dostepny — kazda komenda z tego opisu to narzedzie o nazwie z podkreslnikami (jdg invoice issue → invoice_issue, --buyer-nip → buyer_nip). Bez MCP: CLI jdg (gdy nie ma go w PATH: uv run jdg w katalogu repozytorium). Kontrakt wyniku i kody bledow: jdg schema.

Budowa

jdg jpk build                                # poprzedni miesiac (domyslnie)
jdg jpk build --year 2026 --month 10
jdg jpk build-ewp --year 2026                # ewidencja ryczaltu, sklada sie do 30.04
jdg jpk validate data/jpk/JPK_V7M_2026_10.xml

Wynik zawiera P_38 (vat_due), P_39 (vat_carry_forward — nadwyzka z poprzedniej deklaracji, pobierana automatycznie z P_62 poprzedniego okresu), P_48 (vat_deductible), P_51 (vat_to_pay), P_62 (vat_surplus — przechodzi na nastepny miesiac) i xsd_valid. invoice_count == 0 → ostrzez usera (brak faktur albo zly miesiac). Faktury z numerem KSeF dostaja w JPK NrKSeF, pozostale BFK — przed budowa sprawdz, czy faktury z okresu zostaly wyslane do KSeF. Sprzedaz z kodami np, zw, 0_wdt, 0_exp trafia do wlasciwych pol (K_11/K_12, K_10, K_21, K_22); GTU z pozycji faktury.

Wysylka — nieodwracalna

jdg jpk submit data/jpk/JPK_V7M_2026_10.xml            # kod 4: summary + token
jdg jpk submit data/jpk/JPK_V7M_2026_10.xml --confirm <token>
  1. Pierwsze wywolanie (bez --confirm / confirm) waliduje XSD i zwraca podsumowanie (formularz, okres, cel, P_38/P_48/P_51/P_62, srodowisko) oraz token. Nic nie wysyla. W podsumowaniu sa tez:
    • poprzednio — obowiazujaca deklaracja do porownania (przy zlozeniu: za poprzedni okres, przy korekcie: korygowana) z wartoscia i zmiana kazdego pola, albo informacja, ze jej brak;
    • uwaga (tylko przy rozbieznosci) — kwoty pliku roznia sie od rejestru, np. deklaracja zerowa mimo faktur za okres albo plik zbudowany przed dopisaniem faktury.
  2. Pokaz podsumowanie razem ze zmianami wzgledem poprzednio i zapytaj usera o zgode. env: prod = realna deklaracja w urzedzie. Pole uwaga pokaz na poczatku i zapytaj wprost, czy wysylac mimo niego; zwykle wlasciwe jest przebudowanie pliku (jdg jpk build).
  3. Dopiero po wyraznym "tak" na to podsumowanie — --confirm <token>. Nigdy bez zgody; zgoda "z gory", zanim user zobaczyl podsumowanie, nie wystarcza.

Read the full file on GitHub · 76 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. 17d ago First seen · 76 lines · 147 tokens per session scan A 7c67481d9e78

Subscribe to this mod's changes

vat-jpk is a skill published in the GitHub repository dithiothreitol/jdg-ksiegowy (15 stars, last pushed yesterday), licensed MIT. It adds 147 tokens to every session and 1,550 once invoked, about $0.0006 per session on Opus 5.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-11-14.

Related

vat-jpk compared with skills from other repositories

vat-jpk next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vat-jpkdithiothreitol/jdg-ksiegowySkill15yesterdayMITA147Claude Code
americas-corridorsopenaccountants/openaccountantsSkill524todayAGPL-3.0A32Claude Code, Codex
au-rental-propertyopenaccountants/openaccountantsSkill524todayAGPL-3.0A208Claude Code, Codex
argentina-income-taxopenaccountants/openaccountantsSkill524todayAGPL-3.0A209Claude Code, Codex
ax-income-taxopenaccountants/openaccountantsSkill524todayAGPL-3.0A162Claude Code, Codex
albania-vatopenaccountants/openaccountantsSkill524todayAGPL-3.0A274Claude Code, Codex
asia-pacific-corridorsopenaccountants/openaccountantsSkill524todayAGPL-3.0A121Claude Code, Codex