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/invoice-sendWrote 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-send)<a href="https://agentmods.dev/skills/dithiothreitol/jdg-ksiegowy/invoice-send"><img src="https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/invoice-send/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-send"><img src="https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/invoice-send.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.00116 | $0.00690 |
| Opus 5 | $0.00058 | $0.00345 |
| Sonnet 5 | $0.00023 | $0.00138 |
| Haiku 4.5 | $0.00012 | $0.00069 |
Grade A, and why
invoice-send 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 12d 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
Wysyłka faktury mailem
Konwertuje DOCX fakturę na PDF (przez LibreOffice) i wysyła mailem z załącznikiem.
Wymagane dane
- --number LUB --latest — która faktura (numer albo ostatnia)
- --to — email kontrahenta
Opcjonalnie: --cc, --subject, --body.
Wymagane w .env
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587 # 465 dla SSL, 587 dla STARTTLS
[email protected]
SMTP_PASSWORD=<app-password> # Gmail wymaga App Password, nie glownego hasla
SMTP_FROM= # pusty = uzywa SMTP_USERNAME
SMTP_USE_SSL=false # true dla portu 465
Wymagania systemowe
- LibreOffice zainstalowany (
apt install libreoffice/brew install libreoffice) - Alternatywa: ustaw
LIBREOFFICE_BINw.envna ścieżkę dosoffice
Wywołanie
# Wyślij konkretną fakturę:
python3 skills/invoice-send/scripts/send.py \
--number "A1/04/2026" \
--to "[email protected]"
# Wyślij ostatnią fakturę z CC:
python3 skills/invoice-send/scripts/send.py \
--latest \
--to "[email protected]" \
--cc "[email protected]"
Zwraca JSON:
{
"success": true,
"to": "[email protected]",
"subject": "Faktura A1/04/2026",
"pdf_path": "data/faktury/2026/04/faktura_A1_04_2026.pdf"
}
Po wysłaniu
Pokaż userowi: adresata, subject, ścieżkę PDF-a.
Domyślny subject: Faktura {numer}, domyślna treść po polsku z kwotą brutto i terminem.
Uwagi bezpieczeństwa
- Nigdy nie loguj treści maila ani hasła SMTP.
- Gmail blokuje "less secure apps" od 2022 → użyj App Password (panel Google → Bezpieczeństwo → Hasła do aplikacji).
- Dla Office 365: SMTP wymaga włączonego SMTP AUTH w Exchange (może być wyłączony dla nowych tenantów).
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.
- 12d ago First seen · 68 lines · 116 tokens per session scan A 9b752401481d
invoice-send is a skill published in the GitHub repository dithiothreitol/jdg-ksiegowy (5 stars, last pushed 1mo ago), licensed MIT. It adds 116 tokens to every session and 690 once invoked, about $0.0006 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 "发票".