Author: @skills-il
Convert currencies to/from Israeli New Shekel (NIS/ILS) using Bank of Israel official exchange rates. Use when user asks to convert shekels, NIS, ILS, asks about exchange rates, "shaar yatzig" (representative rate), or needs currency conversion for Israeli tax or business purposes. Supports 30+ currencies with current and historical rates. Do NOT use for cryptocurrency or unofficial money exchange rates.
npx skills-il add skills-il/tax-and-finance --skill shekel-currency-converterParse the user's request for:
Common currency codes:
| Code | Currency | Hebrew |
|---|---|---|
| ILS | Israeli New Shekel | shekel chadash |
| USD | US Dollar | dolar |
| EUR | Euro | euro |
| GBP | British Pound | lira sterling |
| JPY | Japanese Yen | yen |
| CHF | Swiss Franc | frank shveitzi |
Use Bank of Israel API to get the rate:
Current rate:
Fetch: https://www.boi.org.il/currency.xml
Parse XML for the requested currency code
Extract: rate, unit, change from previous dayHistorical rate:
Fetch: https://www.boi.org.il/PublicApi/GetExchangeRates?date=YYYY-MM-DD
Parse response for requested currency
Note: Rates not available for Shabbat/holidays -- use last available business dayIf converting FROM NIS:
result = amount / rate * unit
If converting TO NIS:
result = amount * rate / unit
If converting between two foreign currencies:
nis_amount = amount * rate_source / unit_source
result = nis_amount / rate_target * unit_targetNote: Bank of Israel rates express how many NIS per unit(s) of foreign currency. Example: USD rate = 3.65, unit = 1 means 1 USD = 3.65 NIS. JPY rate = 2.45, unit = 100 means 100 JPY = 2.45 NIS.
Format the result with:
User says: "Convert 1000 dollars to shekels" Result: "1,000 USD = 3,650.00 NIS (at Bank of Israel rate of 3.6500, published Feb 24, 2026)"
User says: "What was the dollar rate on January 1, 2026?" Result: "USD/ILS representative rate on Jan 1, 2026: 3.5800 (Bank of Israel shaar yatzig)"
User says: "I need the EUR rate for my VAT report for December 2025" Result: Provides the representative rate for the relevant date, noting it is the official rate for tax purposes.
scripts/fetch_rates.py — Fetches official Bank of Israel representative exchange rates (shaar yatzig) and performs currency conversions to/from NIS. Supports current rates, historical date lookups, and listing all available currencies. Run: python scripts/fetch_rates.py --helpreferences/boi-api-guide.md — Bank of Israel exchange rate API documentation including endpoints, XML response structure, update schedule (daily ~15:30 IST), and historical rate query parameters. Consult when troubleshooting API calls or understanding rate publication timing.references/currency-codes.md — Supported currency codes with Hebrew names, typical NIS rate ranges, and unit values (important for JPY and other multi-unit currencies). Consult when parsing user currency requests or handling unit-based conversions.Cause: Requested date is Shabbat, holiday, or future date Solution: Use the last available business day rate. Bank of Israel publishes rates Sunday-Thursday.
Cause: Bank of Israel does not publish a rate for this currency Solution: Suggest using USD or EUR as intermediate currency for conversion.
Supported Agents
Trust Score
This skill can execute scripts and commands on your system.
1 occurrences found in code
This skill can make network requests to external services.
1 occurrences found in code
Works across all agents
Fetch and analyze Bank of Israel (BOI) economic data: interest rates, CPI (madad hamchirim), exchange rates (sha'ar yatzig), and CBS statistics. Use when user asks about BOI interest rate, exchange rates, CPI index, or Israeli economic indicators. Foundation skill for Israeli financial analytics. Do NOT use for stock market data (use tase-stock-analysis instead) or for currency conversion (use shekel-currency-converter instead).
Israeli payment gateway with integrated invoicing -- Low Profile, OpenFields, tokenization, Bit/Google Pay/PayPal, recurring billing, tax invoices, receipts, and credit notes per Israeli law.
Analyze Tel Aviv Stock Exchange securities, indices, and corporate disclosures
Want to build your own skill? Try the Skill Creator · Submit a Skill