jpk

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

A Polish VAT reporting skill that creates JPK_V7M, an XML file combining a monthly VAT record and declaration for the tax office.

In plain words
What is it for?
Use it to generate a JPK_V7M file for a specified month and year, then send that file through the Polish Ministry of Finance gateway or e-Mikrofirma.
Why use it?
It prepares the required file from invoices stored in a local SQLite database, avoiding manual XML preparation while leaving submission to the user.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 skills/jpk/scripts/generate_jpk.py --month 3 --year 2026.

Good fit Use it to generate a JPK_V7M file for a specified month and year, then send that file through the Polish Ministry of Finance gateway or e-Mikrofirma.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/dithiothreitol/jdg-ksiegowy
agentmods
npx agentmods add skills/dithiothreitol/jdg-ksiegowy/jpk

Made for: Claude Code.

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 jpk

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dithiothreitol/jdg-ksiegowy/jpk"><img src="https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/jpk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 887 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.00089 $0.00887
Opus 5.5 $0.00036 $0.00355
Sonnet 5.5 $0.00018 $0.00177
Haiku 4.5 $0.00009 $0.00089

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

Security

Grade A, and why

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 5d 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.

.claude/skills/jpk/SKILL.md · 64 lines

How it starts

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

Generator JPK_V7M

Generuje miesięczną deklarację VAT (JPK_V7M(3)) na podstawie faktur zapisanych w data/jdg_ksiegowy.db. Plik wynikowy: data/jpk/JPK_V7M_YYYY_MM.xml — gotowy do wysyłki przez bramkę MF lub e-Mikrofirma.

Wymagane dane

  • month — miesiąc (1-12)
  • year — rok (np. 2026)

Jeśli user mówi "JPK za poprzedni miesiąc" — policz miesiąc/rok względem daty bieżącej (2026-04-17), nie wymyślaj.

Wywołanie

python3 skills/jpk/scripts/generate_jpk.py --month 3 --year 2026

Zwraca JSON:

{
  "period": "03/2026",
  "invoice_count": 4,
  "total_net": "42000.00",
  "total_vat": "9660.00",
  "file_path": "data/jpk/JPK_V7M_2026_03.xml"
}

Korekta złożonego JPK

--correction (+ opcjonalnie --reason "...") generuje korektę z CelZlozenia=2 do osobnego pliku data/jpk/JPK_V7M_YYYY_MM_K1.xml (oryginał zostaje jako dowód). Pełny przebieg — skill jpk-korekta.

Po wygenerowaniu

Pokaż userowi: okres, liczbę faktur, sumę netto + VAT, ścieżkę pliku (jako klikalny markdown link). Przypomnij: termin wysyłki JPK_V7M to 25-ty następnego miesiąca. Przed wysyłką zwaliduj XSD: python3 skills/jpk/scripts/validate_jpk.py --xml-path <plik> (bramka nie waliduje lokalnie). Wysyłka — skill jpk-submit.

Wymagane dane sprzedawcy (z .env)

SELLER_NIP, SELLER_FIRST_NAME, SELLER_LAST_NAME, SELLER_BIRTH_DATE, SELLER_TAX_OFFICE_CODE. Jeśli skrypt rzuci błąd o braku któregoś — przerwij i powiedz userowi żeby uzupełnił .env.

Import usług / odwrotne obciążenie

Koszty oznaczone reverse_charge (skill expense --reverse-charge) są rozliczane automatycznie: samonaliczony VAT należny trafia do K_27/K_28 (dostawca spoza UE) lub K_29/K_30 (dostawca z UE, art. 28b) po stronie sprzedaży, a jednocześnie do odliczenia (K_42/K_43) — więc dla działalności opodatkowanej efekt na kwotę do zapłaty (P_51) jest zerowy. Ta sama faktura pojawia się w ewidencji sprzedaży i zakupu.

Uwagi

  • Skrypt liczy sumy z rejestru, nie z surowych XML — upewnij się że wszystkie faktury miesiąca zostały wygenerowane przez skill invoice (czyli są w SQLite).
  • Jeśli invoice_count == 0 — ostrzeż usera, prawdopodobnie zapomniał wystawić faktury albo pomylił miesiąc.

Read the full file on GitHub · 64 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. 5d ago Changed · +6 lines 8a05c5df7811
  2. 1mo ago First seen · 58 lines · 89 tokens per session scan A e5b62ad86fd4

Subscribe to this mod's changes

jpk is a skill published in the GitHub repository dithiothreitol/jdg-ksiegowy (9 stars, last pushed 5d ago), licensed MIT. It adds 89 tokens to every session and 887 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

jangbu-jongso

A Korean tax-document checklist generator for individuals, freelancers, sole-company owners, mixed earners, and certain business owners.

kimlawtech/korean-jangbu-for · 139 tokens

brazil-vat

> Use esta skill sempre que perguntarem sobre tributos indiretos brasileiros, IVA, tributos sobre o consumo, PIS, Cofins, ICMS, ISS, IPI, CBS, IBS, Imposto Seletivo, NF-e (Nota Fiscal Eletronica), NFS-e, Simples Nacional, registro de CNPJ, reforma tributaria (EC 132/2023, LC 214/2025, LC 227/2026) ou qualquer questao…

openaccountants/openaccountants · 213 tokens

az-payroll

Tier 2 Arizona content skill for employer payroll compliance covering tax year 2025. Includes the 2.5% flat PIT (phased down from 4.5% over 2022-2023), A-4 state W-4 expressed as percentage of federal withholding (0.5-3.5% options), A1-QRT quarterly withholding, A1-R annual reconciliation, AZ UI wage base $8,000 with…

openaccountants/openaccountants · 132 tokens

bb-income-tax

Use this skill whenever asked about Barbados personal income tax, NIS contributions, or payroll obligations. Trigger on phrases like "how much tax do I pay in Barbados", "BRA", "Barbados Revenue Authority", "TAMIS", "PAYE Barbados", "NIS contributions", "National Insurance Barbados", "self-employed tax Barbados"…

openaccountants/openaccountants · 193 tokens

at-income-tax

Austrian income tax (Einkommensteuer) for resident individuals, tax year 2026: employees, pensioners, sole traders, freelancers and private landlords. Covers the 2026 bands (0/20/30/40/48/50/55%) as indexed by two thirds of 2.6% inflation, the credits (Verkehrsabsetzbetrag, sole-earner and single-parent, pensioner…

openaccountants/openaccountants · 278 tokens

bulgaria-vat-return

Use this skill whenever asked to prepare, review, or classify transactions for a Bulgarian VAT return (Spravka-deklaratsiya po DDS) for any client. Trigger on phrases like "prepare VAT return", "do the DDS", "fill in DDS return", "create the return", "Bulgarian VAT", or any request involving Bulgaria VAT filing. Also…

openaccountants/openaccountants · 158 tokens