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.
git clone --depth 1 https://github.com/dithiothreitol/jdg-ksiegowynpx agentmods add skills/dithiothreitol/jdg-ksiegowy/invoiceWrote 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.
[](https://agentmods.dev/skills/dithiothreitol/jdg-ksiegowy/invoice)<a href="https://agentmods.dev/skills/dithiothreitol/jdg-ksiegowy/invoice"><img src="https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/invoice/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.
<a href="https://agentmods.dev/skills/dithiothreitol/jdg-ksiegowy/invoice"><img src="https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/invoice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00108 | $0.00735 |
| Opus 5 | $0.00054 | $0.00367 |
| Sonnet 5 | $0.00022 | $0.00147 |
| Haiku 4.5 | $0.00011 | $0.00073 |
Grade A, and why
invoice 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.
What it actually says
Wystawianie faktury VAT (JDG)
Generuje fakturę w dwóch formatach jednocześnie:
DOCX— do wysyłki mailem lub drukuXML FA(3)— wymagany format KSeF (obowiązkowy od 1.04.2026)
Zapisuje rekord do data/registry.sqlite i pliki do data/faktury/YYYY/MM/.
Wymagane dane od usera
Zanim odpalisz skrypt, upewnij się że masz:
- buyer-name — nazwa nabywcy
- buyer-nip — NIP (10 cyfr)
- netto — kwota netto w PLN (Decimal — nie float!)
Opcjonalnie: buyer-address, buyer-email, description, period (DD.MM.YYYY-DD.MM.YYYY).
Jeśli czegoś brakuje — dopytaj usera, nie zgaduj.
Wywołanie
python3 skills/invoice/scripts/generate.py \
--buyer-name "Firma ABC Sp. z o.o." \
--buyer-nip "1234567890" \
--buyer-address "ul. Przykladowa 1, 00-001 Warszawa" \
--description "Konsultacja w zakresie AI i automatyzacji" \
--netto 10500 \
--period "01.04.2026-30.04.2026"
Skrypt zwraca JSON na stdout:
{
"number": "A1/04/2026",
"netto": "10500.00",
"vat": "2415.00",
"brutto": "12915.00",
"docx_path": "data/faktury/2026/04/faktura_A1_04_2026.docx",
"xml_path": "data/faktury/2026/04/faktura_A1_04_2026.xml",
"payment_due": "2026-05-01",
"status": "generated"
}
Po wygenerowaniu
Pokaż userowi numer faktury, kwotę brutto, termin płatności i ścieżki plików (jako klikalne markdown linki).
Jeśli user chce od razu wysłać do KSeF — użyj skilla ksef, przekazując xml_path zwrócone tutaj.
Zmienne środowiskowe (z .env)
Skrypt sam czyta dane sprzedawcy: SELLER_NAME, SELLER_NIP, SELLER_ADDRESS, SELLER_BANK_ACCOUNT, SELLER_BANK_NAME. Jeśli skrypt zwróci błąd o braku zmiennej — powiedz userowi że trzeba uzupełnić .env.
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.
- 11d ago First seen · 59 lines · 108 tokens per session scan A b35c498ba7d4
invoice is a skill published in the GitHub repository dithiothreitol/jdg-ksiegowy (5 stars, last pushed 1mo ago), licensed MIT. It adds 108 tokens to every session and 735 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-31.
Other skills, from other repositories
jangbu-import
A data-import workflow for turning bank files, card records, spreadsheets, receipts, tax invoices, and statement PDFs into a standard set of 13 transaction fields. OCR, or optical character recognition, is used to read information from document images and PDFs.
extract-bank-statement
Extract bank PDF/CSV to transactions.json with running-balance proof (pull bank lines with balance proof). Prefer CSV; Maybank Islamic PDF adapter when needed.
creditcard-aflettering
Deze skill moet gebruikt worden wanneer de gebruiker een creditcard- of PSP-afschrift volledig in Exact Online wil verwerken: transacties uit de PDF halen, openstaande inkoopfacturen matchen, als BankEntry importeren en afletteren via MatchSets. Regels zonder factuur gaan nooit automatisch naar een kostenrekening.…
extract
Extract bank statements to proved transaction lines.
tax-calculator
Calculate tax implications of trades and generate tax reports.
invoice
A printable invoice page — sender + recipient block, line items table, tax breakdown, totals, and payment instructions. Use when the brief mentions "invoice", "bill", "billing statement", or "发票".