[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77QAG6XRR41JQ5FSPH4JD03":3,"skill-same:01M77QAG6XRR41JQ5FSPH4JD03":46},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M77QAG6XRR41JQ5FSPH4JD03","opentable-reservations",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fo\u002Fopentable-reservations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: opentable\ndescription: MUST use for any OpenTable \u002F restaurant reservation request. Two entry points — (A) discovery (\"find me 3 italian places tonight\"): call `list_restaurants.py` for a filtered list; (B) direct book (\"reserve Carbone at 8pm\", \"book Park Rose for 2\"): call `book.py` DIRECTLY without searching first. `book.py` is pure URL construction, no verification needed. FORBIDS writing \u002Ftmp\u002Fcdp_*.js, using exec+node for Chrome automation, web_fetch on opentable.com, raw CDP scripting, or calling list_restaurants.py to \"verify\" before book.py. Agent must STOP after producing the booking deep link — never click checkout, never fill forms, never submit reservations.\nhomepage: https:\u002F\u002Fwww.opentable.com\u002F\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"emoji\": \"🍽️\",\n        \"requires\": { \"bins\": [\"python3\"] }\n      }\n  }\n---\n\n# OpenTable\n\n## READ THIS FIRST (before any tool call)\n\nThere are two entry points. Pick ONE based on what the user gave you:\n\n### Entry A — user is discovering (\"find me...\", \"what's available...\")\nThe user has NOT named a specific restaurant. Your first tool call MUST be:\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Flist_restaurants.py \\\n  --location \"\u003Ccity>\" --date-time \"\u003CYYYY-MM-DDTHH:MM>\" \\\n  --party \u003CN> --query \"\u003Ccuisine>\" --limit 5\n```\n\n### Entry B — user already named a restaurant (\"book Park Rose...\", \"reserve Carbone...\")\nThe user HAS named a specific restaurant by name or slug. **SKIP Phase 2 entirely and go straight to Phase 4.** Call `book.py` directly — do NOT search to \"verify\" first:\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Fbook.py \\\n  --rid \"\u003Cslug-or-name>\" \\\n  --date-time \"\u003CYYYY-MM-DDTHH:MM>\" \\\n  --party \u003CN> \\\n  --name \"\u003Cdisplay name>\" \\\n  --url-path \"\u003Cslug if known, else guess from name: lowercase+hyphenate+append -new-york>\"\n```\n\n`book.py` is **pure URL construction** — it does not fetch OpenTable, does not verify the slot is still open, does not guarantee the restaurant exists. It builds a deep link. The user completes the reservation in OpenTable and sees any errors there. **Do NOT call `list_restaurants.py` to \"verify\" before calling `book.py` when the user has named a specific restaurant** — you will waste tokens and block on OpenTable rate limits.\n\n---\n\n**For both entry points: Do not read any HTML. Do not write any CDP script. Do not call `web_fetch` on opentable.com.** This is enforced by the skill's hard rules below.\n\n**You are NOT allowed to:**\n- Write `\u002Ftmp\u002Fcdp_*.js` or any JS file that talks to Chrome DevTools Protocol\n- Run `exec node ...` or `exec python ...` where the command drives a browser\n- Call `web_fetch` on any `opentable.com` URL\n- Call `openclaw browser snapshot` \u002F `click` \u002F `fill` \u002F `navigate` \u002F `evaluate` directly — the skill's primitives already wrap these\n- Read SKILL.md scripts via `read` — the CLI contracts in this file are authoritative\n\nIf you hit any error from `list_restaurants.py`, **stop and tell the user the error**. Do not invent a workaround.\n\n---\n\n## Context (one-shot OpenTable reservation workflow)\n\nThree Python scripts do all the work; you glue them together with short user-facing messages and **stop early and often**.\n\n## Non-negotiable definition\n\nWhen the user says \"**book it for me**\", \"**make the reservation**\", \"**reserve it**\", or any variant, it means:\n\n> Produce a booking deep link that the user taps in OpenTable to complete the reservation with their account and card.\n\nIt does **NOT** mean:\n- ❌ Click the \"Reserve\" \u002F \"Confirm\" \u002F \"Complete Reservation\" button on OpenTable\n- ❌ Fill out the diner name, phone, country code form\n- ❌ Select a Standard Reservation vs Experience option\n- ❌ Navigate past the search results page on the user's behalf\n- ❌ Write JS \u002F CDP scripts that drive Chrome through the booking flow\n\nYour job ends at `book.py`'s output. The user takes it from there.\n\n## Hard forbid list (read this first)\n\nThese are **disqualifying** — if you're about to do any of them, stop and re-read this file.\n\n1. **Do not `exec` `node`, `python`, `curl`, or any other shell command to drive Chrome or talk to the Chrome DevTools Protocol.** OpenClaw has a native browser plugin (`openclaw browser …`). Use it. If it errors, report the error to the user — **do not** hand-roll a workaround.\n2. **Do not `write` temporary JS files to `\u002Ftmp\u002F` for browser automation.** The only scripts allowed in this flow are the three in `~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002F`. No others.\n3. **Do not `WebFetch` any `opentable.com` URL.** Akamai blocks it and burns your context on failure.\n4. **Do not `Read` the skill's Python scripts.** The CLI contracts below are authoritative; reading the scripts wastes tokens.\n5. **Do not call `openclaw browser click`, `openclaw browser fill`, `openclaw browser press`, or any other mutating browser subcommand.** Only `open`, `navigate`, and `evaluate` (the read-only ones, used by the primitive) are allowed in this skill.\n6. **Do not `openclaw browser navigate` to any page under `opentable.com\u002Fbooking\u002F`, `\u002Frestref\u002F`, or `\u002Frestaurant\u002Fprofile\u002F`.** Those are booking-flow pages. The user opens them by tapping the link `book.py` produces.\n7. **Cap: max 3 `openclaw browser …` subcommand invocations per user request.** If you hit that limit and still don't have what you need, stop and report.\n\nIf the agent's reasoning ever says \"let me try this a different way using CDP \u002F exec \u002F a JS file\", **stop**. The rule is: one primitive, or a clear error back to the user. No fallbacks.\n\n## Critical: the right profile\n\n**Always pass `--browser-profile attached` as a top-level flag on `openclaw browser`, before the subcommand.**\n\n| Profile | Driver | State | Use it? |\n|---|---|---|---|\n| `attached` | `existing-session` (chrome-mcp) | **running** with user tabs | ✅ yes |\n| `openclaw` | cdp launcher port 18800 | flaky | ❌ |\n| `manual` | default launcher | stopped | ❌ |\n| `user` | existing-session | stopped | ❌ |\n\nCorrect: `openclaw browser --browser-profile attached open \u003Curl>`\nWrong:   `openclaw browser open --browser-profile attached \u003Curl>` (CLI syntax error)\n\n`browser.defaultProfile = \"attached\"` is set in `~\u002F.openclaw\u002Fopenclaw.json`, but **still pass the flag explicitly** as insurance.\n\n## Workflow — four phases, strict\n\n### Phase 1 — Gather requirements (one question max)\n\n| Field | Format | Default |\n|---|---|---|\n| `location` | city \u002F neighborhood \u002F ZIP | required |\n| `date_time` | `YYYY-MM-DDTHH:MM` local | required — you parse natural language |\n| `party` | integer | 2 |\n| `query` | cuisine \u002F vibe keywords | \"\" |\n\nParse \"tonight 8pm\" \u002F \"tomorrow 7:30\" \u002F \"Friday dinner\" yourself. Do not ask a separate date vs. time question — combine them.\n\nIf location is missing, ask **one** combined question: *\"Where should I look and any cuisine preference? (Defaults: 2 people, tonight if you said 'tonight', otherwise tomorrow 7:30pm)\"*\n\nStop asking questions after one clarification round. Pick reasonable defaults and move on.\n\n### Phase 2 — Get the restaurant list (SINGLE primitive call)\n\nRun **one command**. This navigates OpenClaw's attached browser, queries the OpenTable DOM via `evaluate`, and returns structured JSON.\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Flist_restaurants.py \\\n  --location \"\u003Ccity or neighborhood>\" \\\n  --date-time \"\u003CYYYY-MM-DDTHH:MM>\" \\\n  --party \u003CN> \\\n  --query \"\u003Ccuisine keyword, or empty>\" \\\n  --limit 5\n```\n\nTypical latency: **~8 seconds** (navigate + evaluate). Typical output size: **\u003C1 KB of JSON**.\n\nIf you already opened the search page in Phase 2 and just need to re-extract (e.g., the user changed filters in their tab), call it with no navigation flags and it will use the current tab:\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Flist_restaurants.py --limit 5\n```\n\n**Never orchestrate this by hand with separate `search.py` → `openclaw browser open` → `openclaw browser snapshot` calls.** The primitive does it correctly in one shot; the hand-rolled path is where the old skill burned 233 messages.\n\n`list_restaurants.py` returns a single-line JSON:\n```json\n{\n  \"restaurants\": [\n    {\n      \"name\": \"Little Alley\",\n      \"cuisine\": \"Chinese\",\n      \"neighborhood\": \"Midtown East\",\n      \"price\": \"$$$$\",\n      \"reviews\": 43,\n      \"slots\": [\"7:45 PM\", \"8:00 PM\", \"8:15 PM\"],\n      \"url_path\": \"little-alley-new-york\"\n    },\n    ...\n  ],\n  \"count\": 3\n}\n```\n\nOn `{\"error\": \"...\", \"restaurants\": [], \"count\": 0}`: tell the user the error and suggest adjusting criteria. **Do not retry with different params automatically** — ask first.\n\n**Show the user a compact numbered list**, summarized to at most 5 lines total:\n\n```\n1. Little Alley — Chinese · Midtown East · $$$$ · 43 reviews\n   Slots: 7:45, 8:00, 8:15\n2. Hutong — Chinese · Midtown East · $$$$ · 312 reviews\n   Slots: 7:45, 8:00, 8:15\n3. Jaba — Taiwanese · Midtown East · $$$$ · 36 reviews\n   Slots: 7:30, 8:00, 8:30\n```\n\nAsk **exactly one** question: *\"Which one and what time?\"* Do not recommend a pick unless the user asked. Do not describe the restaurants beyond the compact row — the user can look at OpenTable for more.\n\n**This is a hard STOP point.** You have now used one `openclaw browser … open` and one `openclaw browser … evaluate`. That is 2 of your 3 allowed calls. **Do not make further browser calls until the user replies.**\n\n### Phase 3 — (Skippable) parse a URL the user pasted\n\nIf the user picks a restaurant by name\u002Fnumber from the list, skip this phase — you already have the `url_path` from Phase 2.\n\nIf the user pastes a different OpenTable URL instead:\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Fextract_rid.py \"\u003Curl>\"\n```\n\nOutput: `{\"rid\": \"12345\"|null, \"url_path\": \"...\", \"source\": \"...\"}`\n\n### Phase 4 — Build the booking deep link and stop\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Fbook.py \\\n  --rid \"\u003Crid-or-slug>\" \\\n  --date-time \"\u003CYYYY-MM-DDTHH:MM>\" \\\n  --party \u003CN> \\\n  --name \"\u003Crestaurant name>\" \\\n  --url-path \"\u003Curl_path from Phase 2>\"\n```\n\nOutput:\n```json\n{\n  \"restaurant\": \"Little Alley\",\n  \"date_time\": \"2026-04-11T20:00\",\n  \"party\": 2,\n  \"confirm_url\": \"https:\u002F\u002Fwww.opentable.com\u002Fbooking\u002Fdetails?...\",\n  \"profile_url\": \"https:\u002F\u002Fwww.opentable.com\u002Fr\u002F...\"\n}\n```\n\nPresent it to the user **under 4 lines**:\n\n> **Little Alley** — Saturday, April 11 at 8:00 PM for 2\n>\n> Tap to confirm on OpenTable: `\u003Cconfirm_url>`\n>\n> Restaurant page: `\u003Cprofile_url>`\n\n**STOP.** Do not navigate the browser to `confirm_url`. Do not click anything. Do not verify the reservation succeeded. The user's OpenTable app or browser handles the rest.\n\nIf you're tempted to \"just check if it worked\" by snapshotting the page — **don't**. That's the failure mode that burned 233 messages and accidentally booked a real table last time.\n\n## Budget tracker (re-check before every tool call)\n\n| Resource | Limit | Why |\n|---|---|---|\n| `openclaw browser` invocations | **3** per user request | Anything more means you're hand-rolling a workaround |\n| Clarification questions | **1** per user request | Combine or pick defaults |\n| User-facing message length | **≤ 4 lines** | Bulleted lists are fine; paragraphs aren't |\n| Total turn latency | **\u003C 30 seconds** | If slower, stop and report what you have |\n\n## Troubleshooting — the exact errors you might see\n\n### `Navigation blocked: strict browser SSRF policy requires an IP-literal URL`\n\n`www.opentable.com` is missing from the SSRF allowlist. One-command fix:\n```bash\nopenclaw config set browser.ssrfPolicy.hostnameAllowlist \\\n  '[\"opentable.com\",\"*.opentable.com\",\"www.opentable.com\"]' --strict-json \\\n  && openclaw gateway restart\n```\n\n### `Chrome CDP websocket for profile \"openclaw\" is not reachable after start`\n\nYou used `--browser-profile openclaw` (or no profile flag → it defaulted to `openclaw` before the fix). Always use `--browser-profile attached`. If you did and still see this, run:\n```bash\nopenclaw browser reset-profile\n```\n…but this is a last resort; prefer fixing the command.\n\n### `browser.request cannot mutate persistent browser profiles`\n\nYou ran a mutating browser subcommand (`click`, `fill`, `press`, etc.) against a persistent profile. This is **forbidden by this skill's hard rules** — you should only be using `open`, `navigate`, and `evaluate`. Re-read the hard forbid list.\n\n### `list_restaurants.py` returns `{\"count\": 0}`\n\nEither the location string is too narrow, the current tab isn't an OpenTable search results page, or OpenTable is showing an empty result. Common causes ranked:\n\n1. **Narrow neighborhood names return empty.** OpenTable's search engine is picky: \"Lower Manhattan\" returned 0, \"Manhattan\" \u002F \"New York\" returned 3+ for the same time+query. **If count is 0 and the location is a neighborhood, automatically widen to the city once and retry** — that's the only auto-retry allowed by this skill.\n2. The tab is stuck mid-booking-flow (leftover from a prior session). Fix by re-running `list_restaurants.py` with `--location\u002F--date-time\u002F--party\u002F--query` so it re-navigates.\n3. The time is outside OpenTable's operating hours window (e.g. 3 AM).\n\nDo **not** issue more browser commands beyond the single auto-widen retry to \"figure out what's on the page\". That path leads to runaway.\n\n### Multi-page booking flow (for reference only — the skill doesn't automate this)\n\nIf the user manually taps the `confirm_url` from Phase 4, OpenTable routes them through:\n\n1. `\u002Fr\u002F\u003Cslug>` — profile page with slot buttons\n2. `\u002Fbooking\u002Fseating-options` — pick Atrium \u002F Lounge \u002F Dining Room (when restaurant has multiple rooms)\n3. `\u002Fbooking\u002Fdetails` — final form (diner pre-filled for logged-in users, card optional if `creditCardRequired=false`)\n4. `\u002Fbooking\u002Fconfirmation?confirmationNumber=…&securityToken=…` — success page with Modify \u002F Cancel \u002F Add-to-calendar buttons\n\nThe URL parameter `st=Standard` vs `st=Experience` tells you whether it's a normal reservation or a prepaid menu. Prefer Standard. If the link lands on a seating page with only Experience options, warn the user that a prepaid experience is the only way in at that time.\n\n**This is reference information for explaining to the user what they'll see after tapping the link.** The skill itself never navigates past `\u002Fr\u002F\u003Cslug>`.\n\n## What this skill does NOT do\n\n- **Complete reservations automatically.** Forbidden by design. See the \"Non-negotiable definition\" at the top.\n- **Modify or cancel existing reservations.** Send the user to OpenTable.\n- **Handle waitlists \u002F notify-me \u002F prepaid experiences.** Skip prepaid experience rows if the user asked for a standard reservation.\n- **Search beyond OpenTable.** Resy, Tock, Yelp Reservations are separate systems.\n- **Fetch or parse OpenTable pages via `WebFetch`, `curl`, `urllib`, or `requests`.** Akamai blocks them. Use `list_restaurants.py` exclusively.\n","# OpenTable\n\n## READ THIS FIRST (before any tool call)\n\nThere are two entry points. Pick ONE based on what the user gave you:\n\n### Entry A — user is discovering (\"find me...\", \"what's available...\")\nThe user has NOT named a specific restaurant. Your first tool call MUST be:\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Flist_restaurants.py \\\n  --location \"\u003Ccity>\" --date-time \"\u003CYYYY-MM-DDTHH:MM>\" \\\n  --party \u003CN> --query \"\u003Ccuisine>\" --limit 5\n```\n\n### Entry B — user already named a restaurant (\"book Park Rose...\", \"reserve Carbone...\")\nThe user HAS named a specific restaurant by name or slug. **SKIP Phase 2 entirely and go straight to Phase 4.** Call `book.py` directly — do NOT search to \"verify\" first:\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Fbook.py \\\n  --rid \"\u003Cslug-or-name>\" \\\n  --date-time \"\u003CYYYY-MM-DDTHH:MM>\" \\\n  --party \u003CN> \\\n  --name \"\u003Cdisplay name>\" \\\n  --url-path \"\u003Cslug if known, else guess from name: lowercase+hyphenate+append -new-york>\"\n```\n\n`book.py` is **pure URL construction** — it does not fetch OpenTable, does not verify the slot is still open, does not guarantee the restaurant exists. It builds a deep link. The user completes the reservation in OpenTable and sees any errors there. **Do NOT call `list_restaurants.py` to \"verify\" before calling `book.py` when the user has named a specific restaurant** — you will waste tokens and block on OpenTable rate limits.\n\n---\n\n**For both entry points: Do not read any HTML. Do not write any CDP script. Do not call `web_fetch` on opentable.com.** This is enforced by the skill's hard rules below.\n\n**You are NOT allowed to:**\n- Write `\u002Ftmp\u002Fcdp_*.js` or any JS file that talks to Chrome DevTools Protocol\n- Run `exec node ...` or `exec python ...` where the command drives a browser\n- Call `web_fetch` on any `opentable.com` URL\n- Call `openclaw browser snapshot` \u002F `click` \u002F `fill` \u002F `navigate` \u002F `evaluate` directly — the skill's primitives already wrap these\n- Read SKILL.md scripts via `read` — the CLI contracts in this file are authoritative\n\nIf you hit any error from `list_restaurants.py`, **stop and tell the user the error**. Do not invent a workaround.\n\n---\n\n## Context (one-shot OpenTable reservation workflow)\n\nThree Python scripts do all the work; you glue them together with short user-facing messages and **stop early and often**.\n\n## Non-negotiable definition\n\nWhen the user says \"**book it for me**\", \"**make the reservation**\", \"**reserve it**\", or any variant, it means:\n\n> Produce a booking deep link that the user taps in OpenTable to complete the reservation with their account and card.\n\nIt does **NOT** mean:\n- ❌ Click the \"Reserve\" \u002F \"Confirm\" \u002F \"Complete Reservation\" button on OpenTable\n- ❌ Fill out the diner name, phone, country code form\n- ❌ Select a Standard Reservation vs Experience option\n- ❌ Navigate past the search results page on the user's behalf\n- ❌ Write JS \u002F CDP scripts that drive Chrome through the booking flow\n\nYour job ends at `book.py`'s output. The user takes it from there.\n\n## Hard forbid list (read this first)\n\nThese are **disqualifying** — if you're about to do any of them, stop and re-read this file.\n\n1. **Do not `exec` `node`, `python`, `curl`, or any other shell command to drive Chrome or talk to the Chrome DevTools Protocol.** OpenClaw has a native browser plugin (`openclaw browser …`). Use it. If it errors, report the error to the user — **do not** hand-roll a workaround.\n2. **Do not `write` temporary JS files to `\u002Ftmp\u002F` for browser automation.** The only scripts allowed in this flow are the three in `~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002F`. No others.\n3. **Do not `WebFetch` any `opentable.com` URL.** Akamai blocks it and burns your context on failure.\n4. **Do not `Read` the skill's Python scripts.** The CLI contracts below are authoritative; reading the scripts wastes tokens.\n5. **Do not call `openclaw browser click`, `openclaw browser fill`, `openclaw browser press`, or any other mutating browser subcommand.** Only `open`, `navigate`, and `evaluate` (the read-only ones, used by the primitive) are allowed in this skill.\n6. **Do not `openclaw browser navigate` to any page under `opentable.com\u002Fbooking\u002F`, `\u002Frestref\u002F`, or `\u002Frestaurant\u002Fprofile\u002F`.** Those are booking-flow pages. The user opens them by tapping the link `book.py` produces.\n7. **Cap: max 3 `openclaw browser …` subcommand invocations per user request.** If you hit that limit and still don't have what you need, stop and report.\n\nIf the agent's reasoning ever says \"let me try this a different way using CDP \u002F exec \u002F a JS file\", **stop**. The rule is: one primitive, or a clear error back to the user. No fallbacks.\n\n## Critical: the right profile\n\n**Always pass `--browser-profile attached` as a top-level flag on `openclaw browser`, before the subcommand.**\n\n| Profile | Driver | State | Use it? |\n|---|---|---|---|\n| `attached` | `existing-session` (chrome-mcp) | **running** with user tabs | ✅ yes |\n| `openclaw` | cdp launcher port 18800 | flaky | ❌ |\n| `manual` | default launcher | stopped | ❌ |\n| `user` | existing-session | stopped | ❌ |\n\nCorrect: `openclaw browser --browser-profile attached open \u003Curl>`\nWrong:   `openclaw browser open --browser-profile attached \u003Curl>` (CLI syntax error)\n\n`browser.defaultProfile = \"attached\"` is set in `~\u002F.openclaw\u002Fopenclaw.json`, but **still pass the flag explicitly** as insurance.\n\n## Workflow — four phases, strict\n\n### Phase 1 — Gather requirements (one question max)\n\n| Field | Format | Default |\n|---|---|---|\n| `location` | city \u002F neighborhood \u002F ZIP | required |\n| `date_time` | `YYYY-MM-DDTHH:MM` local | required — you parse natural language |\n| `party` | integer | 2 |\n| `query` | cuisine \u002F vibe keywords | \"\" |\n\nParse \"tonight 8pm\" \u002F \"tomorrow 7:30\" \u002F \"Friday dinner\" yourself. Do not ask a separate date vs. time question — combine them.\n\nIf location is missing, ask **one** combined question: *\"Where should I look and any cuisine preference? (Defaults: 2 people, tonight if you said 'tonight', otherwise tomorrow 7:30pm)\"*\n\nStop asking questions after one clarification round. Pick reasonable defaults and move on.\n\n### Phase 2 — Get the restaurant list (SINGLE primitive call)\n\nRun **one command**. This navigates OpenClaw's attached browser, queries the OpenTable DOM via `evaluate`, and returns structured JSON.\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Flist_restaurants.py \\\n  --location \"\u003Ccity or neighborhood>\" \\\n  --date-time \"\u003CYYYY-MM-DDTHH:MM>\" \\\n  --party \u003CN> \\\n  --query \"\u003Ccuisine keyword, or empty>\" \\\n  --limit 5\n```\n\nTypical latency: **~8 seconds** (navigate + evaluate). Typical output size: **\u003C1 KB of JSON**.\n\nIf you already opened the search page in Phase 2 and just need to re-extract (e.g., the user changed filters in their tab), call it with no navigation flags and it will use the current tab:\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Flist_restaurants.py --limit 5\n```\n\n**Never orchestrate this by hand with separate `search.py` → `openclaw browser open` → `openclaw browser snapshot` calls.** The primitive does it correctly in one shot; the hand-rolled path is where the old skill burned 233 messages.\n\n`list_restaurants.py` returns a single-line JSON:\n```json\n{\n  \"restaurants\": [\n    {\n      \"name\": \"Little Alley\",\n      \"cuisine\": \"Chinese\",\n      \"neighborhood\": \"Midtown East\",\n      \"price\": \"$$$$\",\n      \"reviews\": 43,\n      \"slots\": [\"7:45 PM\", \"8:00 PM\", \"8:15 PM\"],\n      \"url_path\": \"little-alley-new-york\"\n    },\n    ...\n  ],\n  \"count\": 3\n}\n```\n\nOn `{\"error\": \"...\", \"restaurants\": [], \"count\": 0}`: tell the user the error and suggest adjusting criteria. **Do not retry with different params automatically** — ask first.\n\n**Show the user a compact numbered list**, summarized to at most 5 lines total:\n\n```\n1. Little Alley — Chinese · Midtown East · $$$$ · 43 reviews\n   Slots: 7:45, 8:00, 8:15\n2. Hutong — Chinese · Midtown East · $$$$ · 312 reviews\n   Slots: 7:45, 8:00, 8:15\n3. Jaba — Taiwanese · Midtown East · $$$$ · 36 reviews\n   Slots: 7:30, 8:00, 8:30\n```\n\nAsk **exactly one** question: *\"Which one and what time?\"* Do not recommend a pick unless the user asked. Do not describe the restaurants beyond the compact row — the user can look at OpenTable for more.\n\n**This is a hard STOP point.** You have now used one `openclaw browser … open` and one `openclaw browser … evaluate`. That is 2 of your 3 allowed calls. **Do not make further browser calls until the user replies.**\n\n### Phase 3 — (Skippable) parse a URL the user pasted\n\nIf the user picks a restaurant by name\u002Fnumber from the list, skip this phase — you already have the `url_path` from Phase 2.\n\nIf the user pastes a different OpenTable URL instead:\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Fextract_rid.py \"\u003Curl>\"\n```\n\nOutput: `{\"rid\": \"12345\"|null, \"url_path\": \"...\", \"source\": \"...\"}`\n\n### Phase 4 — Build the booking deep link and stop\n\n```bash\npython3 ~\u002F.openclaw\u002Fskills\u002Fopentable\u002Fscripts\u002Fbook.py \\\n  --rid \"\u003Crid-or-slug>\" \\\n  --date-time \"\u003CYYYY-MM-DDTHH:MM>\" \\\n  --party \u003CN> \\\n  --name \"\u003Crestaurant name>\" \\\n  --url-path \"\u003Curl_path from Phase 2>\"\n```\n\nOutput:\n```json\n{\n  \"restaurant\": \"Little Alley\",\n  \"date_time\": \"2026-04-11T20:00\",\n  \"party\": 2,\n  \"confirm_url\": \"https:\u002F\u002Fwww.opentable.com\u002Fbooking\u002Fdetails?...\",\n  \"profile_url\": \"https:\u002F\u002Fwww.opentable.com\u002Fr\u002F...\"\n}\n```\n\nPresent it to the user **under 4 lines**:\n\n> **Little Alley** — Saturday, April 11 at 8:00 PM for 2\n>\n> Tap to confirm on OpenTable: `\u003Cconfirm_url>`\n>\n> Restaurant page: `\u003Cprofile_url>`\n\n**STOP.** Do not navigate the browser to `confirm_url`. Do not click anything. Do not verify the reservation succeeded. The user's OpenTable app or browser handles the rest.\n\nIf you're tempted to \"just check if it worked\" by snapshotting the page — **don't**. That's the failure mode that burned 233 messages and accidentally booked a real table last time.\n\n## Budget tracker (re-check before every tool call)\n\n| Resource | Limit | Why |\n|---|---|---|\n| `openclaw browser` invocations | **3** per user request | Anything more means you're hand-rolling a workaround |\n| Clarification questions | **1** per user request | Combine or pick defaults |\n| User-facing message length | **≤ 4 lines** | Bulleted lists are fine; paragraphs aren't |\n| Total turn latency | **\u003C 30 seconds** | If slower, stop and report what you have |\n\n## Troubleshooting — the exact errors you might see\n\n### `Navigation blocked: strict browser SSRF policy requires an IP-literal URL`\n\n`www.opentable.com` is missing from the SSRF allowlist. One-command fix:\n```bash\nopenclaw config set browser.ssrfPolicy.hostnameAllowlist \\\n  '[\"opentable.com\",\"*.opentable.com\",\"www.opentable.com\"]' --strict-json \\\n  && openclaw gateway restart\n```\n\n### `Chrome CDP websocket for profile \"openclaw\" is not reachable after start`\n\nYou used `--browser-profile openclaw` (or no profile flag → it defaulted to `openclaw` before the fix). Always use `--browser-profile attached`. If you did and still see this, run:\n```bash\nopenclaw browser reset-profile\n```\n…but this is a last resort; prefer fixing the command.\n\n### `browser.request cannot mutate persistent browser profiles`\n\nYou ran a mutating browser subcommand (`click`, `fill`, `press`, etc.) against a persistent profile. This is **forbidden by this skill's hard rules** — you should only be using `open`, `navigate`, and `evaluate`. Re-read the hard forbid list.\n\n### `list_restaurants.py` returns `{\"count\": 0}`\n\nEither the location string is too narrow, the current tab isn't an OpenTable search results page, or OpenTable is showing an empty result. Common causes ranked:\n\n1. **Narrow neighborhood names return empty.** OpenTable's search engine is picky: \"Lower Manhattan\" returned 0, \"Manhattan\" \u002F \"New York\" returned 3+ for the same time+query. **If count is 0 and the location is a neighborhood, automatically widen to the city once and retry** — that's the only auto-retry allowed by this skill.\n2. The tab is stuck mid-booking-flow (leftover from a prior session). Fix by re-running `list_restaurants.py` with `--location\u002F--date-time\u002F--party\u002F--query` so it re-navigates.\n3. The time is outside OpenTable's operating hours window (e.g. 3 AM).\n\nDo **not** issue more browser commands beyond the single auto-widen retry to \"figure out what's on the page\". That path leads to runaway.\n\n### Multi-page booking flow (for reference only — the skill doesn't automate this)\n\nIf the user manually taps the `confirm_url` from Phase 4, OpenTable routes them through:\n\n1. `\u002Fr\u002F\u003Cslug>` — profile page with slot buttons\n2. `\u002Fbooking\u002Fseating-options` — pick Atrium \u002F Lounge \u002F Dining Room (when restaurant has multiple rooms)\n3. `\u002Fbooking\u002Fdetails` — final form (diner pre-filled for logged-in users, card optional if `creditCardRequired=false`)\n4. `\u002Fbooking\u002Fconfirmation?confirmationNumber=…&securityToken=…` — success page with Modify \u002F Cancel \u002F Add-to-calendar buttons\n\nThe URL parameter `st=Standard` vs `st=Experience` tells you whether it's a normal reservation or a prepaid menu. Prefer Standard. If the link lands on a seating page with only Experience options, warn the user that a prepaid experience is the only way in at that time.\n\n**This is reference information for explaining to the user what they'll see after tapping the link.** The skill itself never navigates past `\u002Fr\u002F\u003Cslug>`.\n\n## What this skill does NOT do\n\n- **Complete reservations automatically.** Forbidden by design. See the \"Non-negotiable definition\" at the top.\n- **Modify or cancel existing reservations.** Send the user to OpenTable.\n- **Handle waitlists \u002F notify-me \u002F prepaid experiences.** Skip prepaid experience rows if the user asked for a standard reservation.\n- **Search beyond OpenTable.** Resy, Tock, Yelp Reservations are separate systems.\n- **Fetch or parse OpenTable pages via `WebFetch`, `curl`, `urllib`, or `requests`.** Akamai blocks them. Use `list_restaurants.py` exclusively.\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fo\u002Fopentable-reservations",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill opentable-reservations",{"tool":38,"command":39},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill opentable-reservations",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill opentable-reservations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fo\u002Fopentable-reservations\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]