israel-post-appointment
Skill2 starsChanged 7 months agoMITView on GitHub
Use when the user wants to check the next available appointment, book an appointment, or cancel an appointment at an Israel Post branch (דואר ישראל, doar) — e.g. for package pickup (מסירת דואר ללקוח), general counter service (אשנב כל), foreign currency (מטבע חוץ), or vehicle ownership transfer (העברת בעלות רכב). Resolves the target branch by name / city / address against a bundled dataset of 314 booking-capable branches (each with its `branchnumber`), constructs the direct booking URL, and drives the headless Playwright flow. The booking flow requires only a mobile phone number entered twice — no ID (teudat zehut), no SMS OTP, no captcha, no login. Trigger phrases - "book a post office appointment", "kavia tor b-doar", "schedule appointment at doar", "check next post office slot", "is there a post office appointment today", "post office near me with appointments", "cancel my post office appointment", "find the branch number for [post office name]".
In this repository21 other files it gives its agents.
- add-skill-to-pluginSkill
- ben-gurion-flight-boardSkill
- discover-israel-skillsSkill
- drug-co-il-lookupSkill
- environment-checkSkill
- fiber-availability-checkSkill
- home-front-command-guidelinesSkill
- install-companion-pluginsSkill
- israel-conferencesSkill
- israel-drugs-registry-lookupSkill
- israel-news-rssSkill
- jerusalem-council-meetingsSkill
- jerusalem-municipality-reportSkill
- kol-zchut-lookupSkill
- list-skillsSkill
- maccabi-medicine-lookupSkill
- medicine-availability-checkSkill
- miklatim-lookupSkill
- nsc-travel-threatSkill
- salary-conversionSkill
- update-plugin-readmeSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
No ID / teudat zehut required: Only a mobile phone number.
- Very specific: line 30
Use the matched branch's branchnumber to construct the booking URL.
- Distinctive: line 32
Do NOT ask the user for the branch number — resolve it from the name or address.
- Distinctive: line 53
Not every branch offers every service — the buttons render per branch.
- Very specific: line 98
If the config is missing or default_phone is absent, the book flow must fail with a clear "run the onboard step first" message rather than …
- Distinctive: line 106
If the Reblaze challenge ever escalates and headless stops working, fall back to a visible Playwright window.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Israel Post Appointment
Three sub-flows:
- check-next — report earliest available slot for (branch, service). Read-only.
- book — book at earliest slot or a user-specified slot; returns confirmation details.
- cancel — cancel a just-booked appointment (from the same session).
Surprising facts (confirmed by capture)
- No ID / teudat zehut required. Only a mobile phone number.
- No SMS OTP. Phone is trust-on-first-use; identification happens physically at the branch's queue terminal by typing the phone.
- No captcha, no login. Fully anonymous flow.
- Headless Chromium works end-to-end despite Reblaze-style anti-bot on the page; no stealth plugin required.
Branch lookup (data/branches.json)
Bundled dataset of 314 booking-capable branches (Israel Post has ~1,524 branches total; only those with counter-appointment support are shipped here).
Each branch has: branchnumber, branchname, branchtypename, city, street, house, zip, area, region, telephone, geocode_latitude, geocode_longitude, ExtraServices.
Lookup pattern:
- Filter
branchesbycity+ fuzzy match onbranchname/street. - Confirm the match with the user (show full name + address).
- Use the matched branch's
branchnumberto construct the booking URL.
Do NOT ask the user for the branch number — resolve it from the name or address.
Booking URL
The URL-encoded template is bundled in data/branches.json under booking_url_template. Substitute {branchnumber} with the target branch's branchnumber field. Example:
https://israelpost.co.il/{encoded-hebrew-path}?no=101Service selection
Four service types are exposed as buttons on the picker page:
| Service key | Hebrew label | Notes |
general | אשנב כל | General counter, up to 10 slips per appointment |
forex | מטבע חוץ | Foreign currency |
package_pickup | מסירת דואר ללקוח | Package / mail pickup — the most common |
vehicle_transfer | העברת בעלות רכב | Vehicle ownership transfer |
Not every branch offers every service — the buttons render per branch.
Flow (driven in headless Playwright)
gotothe booking URL with?no={branchnumber}.- Dismiss cookie overlay if present —
role=button[name="סגירה"](visible textהבנתי). - Click the service button by Hebrew label (class
.LeadAppt-services-item). - Date/time picker renders:
- Day tabs — only days with availability appear (e.g. "ראשון 26").
- Daypart tabs —
#LeadAppt-datepick-time-dayparts button[data-for="noon"]andbutton[data-for="afterNoon"]. The.activeone is currently shown; the default is the afternoon tab if it has slots. - Slot buttons — 3-minute intervals, labeled
HH:MM, inside the active daypart only.
- Select day tab → daypart tab → slot button.
- Click continue —
#LeadAppt-datepick-btn-next(firesLeadApptSubmit()). - Phone form:
- Primary input:
#leadmobile - Confirm:
role=textbox[name="*הקלדה חוזרת של מספר טלפון סלולארי"] - Both required; must match.
- Primary input:
- Click continue.
- Confirmation page — look for heading text
פגישתך נקבעה בהצלחה("your appointment has been successfully booked"). Read back:- Branch name + address
- Service
- Day, date (DD-MM-YYYY), time (HH:MM)
- Masked phone (e.g.
0501****76)
Cancel sub-flow
From the confirmation page:
- Click
role=button[name="בטל תור"]on the confirmation card. - An overlay appears: heading
האם ברצונך לבטל את התור?, buttonsבטל תור(confirm) /לא(abort). - Click the overlay's
בטל תור. - Success overlay with text
פגישתך בוטלה בהצלחה. Aחזורbutton closes it.
Cross-session cancel by phone lookup is not currently supported by this skill — the cancel button only appears on the in-session confirmation page.
Local preferences (~/.config/israel-agent-skills/preferences.yaml)
User values are read from a local, gitignored config — never hardcode in the skill.
israel_post:
default_branch_no: 101 # e.g. 101 = מרכזי ירושלים, יפו 23
default_service: package_pickup # one of: general | forex | package_pickup | vehicle_transfer
default_phone: "05XXXXXXXX" # treated as a secretIf the config is missing or default_phone is absent, the book flow must fail with a clear "run the onboard step first" message rather than prompting or defaulting.
Implementation notes
- Chromium headless=true with a realistic user-agent and default viewport is sufficient — no stealth plugin needed.
- For
check-next: stop after the daypart/slot tabs render. Extract the first day-tab label + first enabled slot button under the first non-empty daypart. Do not click anything further — avoids any risk of triggering a booking. - For
book: perform the full flow. Require an explicit user confirmation of the summary (branch, service, day/date/time, phone tail digits) before clicking the final continue button. Verifyפגישתך נקבעה בהצלחהbefore reporting success. - For
cancel: run from the confirmation page only. Verifyפגישתך בוטלה בהצלחהbefore reporting success. - If the Reblaze challenge ever escalates and headless stops working, fall back to a visible Playwright window; do not try to solve the challenge programmatically.
Refreshing data/branches.json
The bundled dataset can go stale (branches added, renumbered, or decommissioned). Refresh is a maintainer task; the upstream source and refresh script are maintained in the skill's development repo, not in this public plugin. If a branch lookup fails or the dataset is older than ~6 months, flag it to the user rather than silently returning stale data.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

