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/contractsWrote 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/contracts)<a href="https://agentmods.dev/skills/dithiothreitol/jdg-ksiegowy/contracts"><img src="https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/contracts/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/contracts"><img src="https://agentmods.dev/badge/skills/dithiothreitol/jdg-ksiegowy/contracts.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.00117 | $0.00727 |
| Opus 5 | $0.00059 | $0.00364 |
| Sonnet 5 | $0.00023 | $0.00145 |
| Haiku 4.5 | $0.00012 | $0.00073 |
Grade A, and why
contracts 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.
What it actually says
Cykliczne kontrakty + śledzenie płatności
1. Auto-fakturowanie
# Uruchom na dziś (z crona lub ręcznie)
python3 skills/contracts/scripts/run_contracts.py
# Symulacja na konkretny dzień
python3 skills/contracts/scripts/run_contracts.py --date 2026-04-30
2. Oznacz fakturę jako zapłaconą
python3 skills/contracts/scripts/mark_paid.py "A1/04/2026"
python3 skills/contracts/scripts/mark_paid.py "A1/04/2026" --date 2026-04-25
3. Import CSV z banku
# Podgląd dopasowań (bez zapisu)
python3 skills/contracts/scripts/import_bank_csv.py wyciag_kwiecien.csv
# Automatyczne oznaczenie zapłaconych po dopasowaniu
python3 skills/contracts/scripts/import_bank_csv.py wyciag_kwiecien.csv --auto-mark
Obsługiwane formaty CSV:
- mBank: nagłówek
#Data operacji;Opis operacji;...;Kwota;Waluta - Generyczny:
date/data, amount/kwota, description/opis
4. Dodawanie kontraktu (Python API)
from jdg_ksiegowy.registry.db import ContractRecord, save_contract, init_db
import uuid
init_db()
save_contract(ContractRecord(
id=str(uuid.uuid4()),
buyer_name="Firma XYZ",
buyer_nip="5260250274",
buyer_address="ul. Przykładowa 1, 00-001 Warszawa",
buyer_email="[email protected]",
description="Obsługa IT — miesięczna",
net_amount=2000,
vat_rate=23,
cycle="monthly",
day_of_month=-1, # -1 = ostatni dzień roboczy
))
Parametry kontraktu
| Pole | Opis |
|---|---|
cycle |
monthly (jedyne obsługiwane) |
day_of_month |
-1 = ostatni dzień roboczy, 1-28 = konkretny dzień |
auto_send_ksef |
Oznaczenie (wysyłkę KSeF wywołujesz osobno skill ksef) |
auto_send_email |
Oznaczenie (email wysyłasz osobno skill invoice-send) |
Cron (codziennie rano)
0 7 * * * cd /opt/jdg && python3 skills/contracts/scripts/run_contracts.py >> logs/contracts.log 2>&1
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.
- 10d ago First seen · 74 lines · 117 tokens per session scan A a2b1a62077ed
contracts is a skill published in the GitHub repository dithiothreitol/jdg-ksiegowy (5 stars, last pushed 1mo ago), licensed MIT. It adds 117 tokens to every session and 727 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
tax-calculator
Calculate tax implications of trades and generate tax reports.
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.
jangbu-connect
A setup guide for connecting Korean tax, bank, card, and social-insurance data through CODEF, an external API service. It explains how users obtain their own CODEF credentials and store them locally.
jangbu-tax
A financial-reporting tool that summarizes categorized transactions into a profit-and-loss statement and a simplified balance sheet. A profit-and-loss statement covers income and expenses over a period; a balance sheet shows assets, liabilities, and equity at a date.
accountant-expert
Expert-level accounting, tax, financial reporting, and accounting systems. Use when the user mentions accounting, tax, financial reporting, GAAP, or IFRS, or when the task involves Accounting Principles, Financial Statements, Tax & Compliance, or Accounting Systems.
jaz-recipes
Use this skill when modeling complex multi-step accounting transactions — anything that spans multiple periods, involves changing amounts, or requires linked entries. Covers 16 IFRS-compliant recipes (prepaid amortization, deferred revenue, loans, IFRS 16 leases, hire purchase, fixed deposits, asset disposal, FX…