israeli-gov-form-automator

Automate Israeli government form filling via Playwright browser automation and PDF population.

Updated Jan 9, 2026
One-click install
npx skills add https://github.com/amitpo23/cfo --skill israeli-gov-form-automator-amitpo23
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: israeli-gov-form-automator
Source: https://github.com/amitpo23/cfo/tree/main/.claude/skills/israeli-gov-form-automator
Command: npx skills add https://github.com/amitpo23/cfo --skill israeli-gov-form-automator-amitpo23

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, pikepdf, PyPDF2, and includes scripts (resource) and references (resource) components.

What problem does it solve? Filling Israeli government forms on portals like gov.il, misim.gov.il, and btl.gov.il requires Hebrew RTL input, strict field validation (Teudat Zehut check digits, mikud postal codes, IBAN), and portal-specific knowledge, making manual submission slow and error-prone. ## Core Features & Use Cases - Browser Automation: Drive Playwright with he-IL locale to fill online forms on gov.il, Rashut HaMisim, Bituach Leumi, and the Companies Registrar portals. - Israeli Field Validation: Validate Teudat Zehut numbers with Luhn-variant check digit, Israeli phone numbers, addresses with mikud, and Israeli IBANs via the bundled fill_form.py script. - PDF Form Population: Fill downloadable government PDFs with pikepdf or PyPDF2, enumerating field names before writing values. - Use Case: An accountant needs to file a Tofes 1301 annual tax return for a client. The skill validates the client's ID and income data, navigates the Tax Authority personal area, fills the required fields in DD/MM/YYYY format, and captures the confirmation number after submission. ## Quick Start Ask the assistant to fill a specific Israeli government form, for example: help me fill Tofes 101 for my new employee using the israeli-gov-form-automator skill.

Frequently Asked Questions about israeli-gov-form-automator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate filling Israeli government forms with Playwright?

Install Playwright with pip and run playwright install chromium, then launch a browser context with locale he-IL for Hebrew RTL portals. Enumerate the DOM with page.content() before filling fields, since selectors are not stable across gov.il portals.

How to validate an Israeli Teudat Zehut ID number in Python?

Pad the number to 9 digits, reject the all-zeros placeholder, then apply the Luhn-variant check: multiply alternating digits by 1 and 2, subtract 9 from values over 9, and verify the total is divisible by 10. The bundled fill_form.py script exposes this as validate-tz.

Should I use pikepdf or PyPDF2 for filling government PDF forms?

pikepdf is recommended for Hebrew PDF forms because it handles embedded Hebrew fonts and RTL text better. PyPDF2 works for basic field filling, but always call reader.get_fields() first since field names differ between form versions and ministries.

Can the skill digitally sign Israeli government forms automatically?

No. Digital signatures on Israeli government portals require interactive user authentication via smart card, biometric ID with password, or a verified digital signature per the National Digital Agency standard. The user must complete the signing step manually.

Why does my gov.il session expire during form filling?

Government portal sessions time out after roughly 20 minutes of inactivity. Save partial progress frequently, and if the session expires, re-authenticate and resume from the last saved step. Expect slower responses during tax filing season from March to May.

What are common reasons Israeli government forms get rejected?

Common rejections include Teudat Zehut numbers with stripped leading zeros, mikud postal codes that do not match the city, Hebrew name spellings that differ from Interior Ministry records, wrong tax year on Tofes 106, and signatures placed in the wrong field.