jpk-ewp

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

A generator for Poland’s annual JPK_EWP XML file, the electronic revenue register for people using the flat-rate tax scheme. It builds the file from sales invoices for a selected tax year and can use a specified flat-rate percentage.

In plain words
What is it for?
Use it to generate JPK_EWP for a tax year, choose an allowed flat-rate percentage, and prepare the file for the relevant annual submission.
Why use it?
It turns invoice data into the required tax-file format and reports the year, invoice count, revenue total, and saved file path.

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-ewp/scripts/generate_ewp.py --year 2026.

Good fit Use it to generate JPK_EWP for a tax year, choose an allowed flat-rate percentage, and prepare the file for the relevant annual submission.

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-ewp

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-ewp

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dithiothreitol/jdg-ksiegowy/jpk-ewp"><img src="https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/jpk-ewp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 687 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.00131 $0.00687
Opus 5 $0.00066 $0.00344
Sonnet 5 $0.00026 $0.00137
Haiku 4.5 $0.00013 $0.00069

Measured 11d ago against content hash 845d89cb38ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

jpk-ewp 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 11d 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-ewp/SKILL.md · 52 lines

What it actually says

Generator JPK_EWP (ewidencja ryczałtu, roczna)

Generuje plik JPK_EWP_{rok}.xml na podstawie wszystkich faktur sprzedażowych z rejestru za dany rok.

Wymagane dane

  • year — rok podatkowy (4 cyfry)

Opcjonalnie:

  • ryczalt-rate — stawka ryczałtu jako procent (12, 8.5, 15...). Domyślnie z .env (SELLER_RYCZALT_RATE).

Stawki dozwolone (słownik MF): 17, 15, 14, 12.5, 12, 10, 8.5, 5.5, 3.

Wywołanie

python3 skills/jpk-ewp/scripts/generate_ewp.py --year 2026

Lub z inną stawką:

python3 skills/jpk-ewp/scripts/generate_ewp.py --year 2026 --ryczalt-rate 8.5

Zwraca JSON:

{
  "year": 2026,
  "invoice_count": 48,
  "total_revenue": "245000.00",
  "file_path": "data/jpk/JPK_EWP_2026.xml"
}

Po wygenerowaniu

Pokaż userowi: rok, liczbę faktur, sumę przychodów, ścieżkę pliku (jako klikalny link). Przypomnij: termin = 30.04 następnego roku (razem z PIT-28). Po wygenerowaniu możesz wysłać do MF skillem jpk-submit.

⚠️ Ważne

  • JPK_EWP ma inny schemat niż JPK_V7M (XML namespace inny, struktura wierszy inna).
  • Pierwsza obligatoryjna wysyłka dla ryczałtowców z VAT: 2026 (do złożenia 30.04.2027).
  • Dla pozostałych ryczałtowców (bez VAT lub z kwartalnym JPK) — od 2027.
  • Implementacja MVP: namespace XSD JPK_EWP(4) jest ustawiony jako placeholder — przed wysyłką na PROD zweryfikuj zgodność ze schematem opublikowanym przez MF (do potwierdzenia po publikacji na gov.pl).
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. 11d ago First seen · 52 lines · 131 tokens per session scan A 845d89cb38ca

Subscribe to this mod's changes

jpk-ewp is a skill published in the GitHub repository dithiothreitol/jdg-ksiegowy (5 stars, last pushed 1mo ago), licensed MIT. It adds 131 tokens to every session and 687 once invoked, about $0.0007 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

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

belgium-vat-return

Use this skill whenever asked to prepare, review, or classify transactions for a Belgian VAT return (déclaration périodique TVA / periodieke BTW-aangifte) for a self-employed individual or small business in Belgium. Trigger on phrases like "prepare Belgian VAT return", "Belgian BTW", "déclaration TVA Belgique"…

openaccountants/openaccountants · 168 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-income-tax

> Use esta skill sempre que for solicitado sobre o imposto de renda brasileiro para pessoas físicas autônomas (autônomos / profissionais liberais). Ative com frases como "quanto de imposto eu pago no Brasil", "DIRPF", "IRPF", "Carnê-Leão", "livro caixa", "imposto de renda", "CPF", "declaração de imposto de renda…

openaccountants/openaccountants · 226 tokens