Fetches official NBP exchange rates, converts foreign currency invoices per Polish tax law, and retrieves gold prices. Activates on queries about Polish zloty rates, invoice conversion, or gold prices.
Ships in Narodowy Bank Polski (NBP). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Fetches official currency exchange rates and gold prices from Narodowy Bank Polski using
scripts/nbp.py. Always outputs structured JSON.
Run from this skill's directory (or use relative path from repo root):
| OS | Command |
|---|---|
| Linux / macOS | python3 scripts/nbp.py <command> … |
| Windows | py scripts/nbp.py <command> … (or python) |
Zero external dependencies required (standard library only).
Foreign Currency Invoices (Tax conversion):
python3 scripts/nbp.py invoice <amount> <currency> <invoice_date>
Example: python3 scripts/nbp.py invoice 1500 EUR 2026-09-28tableNumber, taxEffectiveDate, exchangeRate, and amountPln.Single Currency Rate:
python3 scripts/nbp.py rate EUR
python3 scripts/nbp.py rate USD --date 2026-09-15General Currency Conversion:
python3 scripts/nbp.py convert 250 USD EURGold Price:
python3 scripts/nbp.py goldFull Tables:
python3 scripts/nbp.py table A| Command | Description | Returns |
|---|---|---|
invoice <amount> <currency> <date> | Convert invoice to PLN according to Polish tax law (preceding business day) | invoiceDate, taxEffectiveDate, tableNumber, exchangeRate, amountPln, legalBasis |
rate <currency> [--date D] | Get mid exchange rate for currency (Table A or B) | currency, mid, tableNumber, effectiveDate |
convert <amount> <from> <to> [--date D] | Convert between any two currencies | amount, convertedAmount, effectiveRate, date |
table [A|B|C] [--date D] | Fetch complete exchange rates table | tableNumber, effectiveDate, rates list |
gold [--date D] | Get official gold price in PLN (per gram and troy ounce) | pricePerGramPln, pricePerTroyOuncePln, priceFormatted |
Field reference and statutory tax rules: references/output.md.
JSON goes to stdout; errors go to stderr as {"error": "...", "type": "..."}.
| Code | Meaning | What to do |
|---|---|---|
0 | Success | Use the JSON output |
2 | Not found | Invalid currency code or date out of range / holiday |
64 | Bad usage / validation | Invalid date format (expected YYYY-MM-DD) or missing arguments |
69 | Network / NBP server error | Retry once; check internet connection |
invoice rather than rate — Polish tax law strictly forbids using the rate from the same day as the invoice.tableNumber (e.g. 187/A/NBP/2026) in your answer to ensure full legal audit compliance.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/nbp:nbpfrom Narodowy Bank Polski (NBP)
npx claudepluginhub b44x/ai-polish-skills --plugin nbp2 plugins in one repository ship this exact skill · first indexed Sep 29, 2026
Other plugins' skills for the same job