jpk

jpk is a skill for Claude Code from dithiothreitol/jdg-ksiegowy. It costs 89 tokens per session (774 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 774 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.00774
Opus 5 $0.00044 $0.00387
Sonnet 5 $0.00018 $0.00155
Haiku 4.5 $0.00009 $0.00077

Measured 10d ago against content hash e5b62ad86fd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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 · 58 lines

What it actually says

Generator JPK_V7M

Generuje miesięczną deklarację VAT (JPK_V7M(2)) na podstawie faktur zapisanych w data/registry.sqlite. 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"
}

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. Plik trzeba wysłać przez bramkę MF — ten skill nie wysyła automatycznie (na razie).

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.
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. 10d 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 (5 stars, last pushed 1mo ago), licensed MIT. It adds 89 tokens to every session and 774 once invoked, about $0.0004 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-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

br-freelance-intake

SEMPRE USE ESTA SKILL quando um usuário pedir ajuda para preparar declarações fiscais brasileiras E mencionar trabalho autônomo, freelancing, MEI, microempreendedor individual, ou Simples Nacional. Acione com frases como "me ajude com minhas declarações", "preparar meu IRPF", "sou freelancer no Brasil", "sou MEI"…

openaccountants/openaccountants · 237 tokens

br-return-assembly

Skill orquestrador final que monta o pacote completo de declarações do Brasil para autônomos e pequenos empresários residentes no Brasil (MEI, Simples Nacional, autônomo/pessoa física). Consome os outputs de todos os content skills do Brasil (br-irpf para Declaração de Ajuste Anual, br-simples para reconciliação de…

openaccountants/openaccountants · 209 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

canada-gst-hst

Use this skill whenever asked to prepare, review, or classify transactions for a Canadian GST/HST return (Form GST34) for a self-employed individual or small business in Canada. Trigger on phrases like "prepare GST return", "file HST", "Canadian sales tax", "GST/HST return", "Form GST34", "input tax credits", "ITC…

openaccountants/openaccountants · 193 tokens