Logo Restaurant Reservation

Restaurant Reservation

Tổ chứcPhổ biến
vellum-ai
restaurant-reservation

Book reservations on OpenTable or Resy with explicit confirmations

Tổng quan

Nhà phát hànhvellum-ai
Kho mãvellum-assistant
Tên kỹ năngrestaurant-reservation
Sao
1.4K
Bản fork
208
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được vellum-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Restaurant Reservation trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/vellum-ai/vellum-assistant/tree/main/skills/restaurant-reservation
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vellum-ai/vellum-assistant.git /tmp/vellum-assistant
mkdir -p .claude/skills
cp -r /tmp/vellum-assistant/skills/restaurant-reservation .claude/skills/restaurant-reservation
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Restaurant Reservation trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Restaurant Reservation ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Restaurant Reservation với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Book restaurant reservations on OpenTable or Resy using browser automation. All browser operations are executed through the assistant browser CLI, invoked via host_bash.

Anti-Loop Guardrails

Each step has a retry budget of 3 attempts. An attempt is one try at the step's primary action (e.g., clicking a button, filling a form, navigating a page). If a step fails after 3 attempts:

  1. Stop trying. Do not continue retrying the same approach.
  2. Fall back to manual. Tell the user what you were trying to do and ask them to complete that step manually in the browser. Give them the direct URL and clear instructions.
  3. Resume automation at the next step once the user confirms the manual step is done.

If two or more steps require manual fallback, inform the user the automated flow is unreliable and offer to provide the remaining steps as text instructions with links.

Booking Flow - Follow These Steps IN ORDER

Step 1: Collect Reservation Details

Before doing anything, gather the following from the user:

  • Party size (required)
  • Date (required)
  • Time or time window (required)
  • Location / neighborhood / city (required)
  • Restaurant name (optional - if not provided, will search)
  • Any preferences (outdoor seating, dietary needs, etc.)

Do not proceed until all required details have been provided.

Step 2: Choose Provider

  • If the user hasn't specified a provider, ask them to choose between OpenTable and Resy.
  • Do NOT attempt to browse provider sites to check restaurant availability before signing in - authentication is required first. If the user names a specific restaurant but isn't sure which provider has it, pick the more common one (OpenTable) and fall back to the other if it's not found after searching in Step 4.

Step 3: Navigate and Sign In FIRST

This is the most important step. Reservation sites require authentication before booking.

  1. Navigate directly to the sign-in page.

    • For OpenTable, navigate to: https://www.opentable.com/sign-in
    • For Resy, navigate to: https://resy.com/login
    bash
    assistant browser --session reservation navigate --url "https://www.opentable.com/sign-in"
  2. Take a snapshot. If you see a sign-in form (email input), continue to sub-step 5 below (fill the email).

    bash
    assistant browser --session reservation --json snapshot
  3. If the direct URL fails (404, redirect, or any error): fall back to the homepage approach - navigate to the service's homepage and click the "Sign In" / "Log In" button.

  4. If already signed in (you see an account menu, the user's name, or other logged-in indicators), skip to the next step.

  5. Fill the email using assistant browser fill-credential (e.g. service: "opentable" or "resy", field: "email"). Target the element by its element_id - NEVER type into the browser URL bar.

    bash
    assistant browser --session reservation fill-credential --service opentable --field email --element-id <id>
  6. Click "Continue" / "Sign In" or equivalent submit button.

  7. The site will send a verification code via SMS/email. Use ui_show with surface_type: "form" and await_action: true to ask the user for the code. Wait for the user to submit the form before proceeding - do NOT use any previously collected code. Verification codes expire quickly; only the code from the most recent form submission is valid. Type the freshly submitted code into the verification input on the page.

  8. If the code is rejected, prompt the user again with a fresh ui_show form - never retry an old code.

  9. For password-based login: If the site presents a password field instead of a verification code, fill the password using assistant browser fill-credential (e.g. service: "opentable" or "resy", field: "password").

    bash
    assistant browser --session reservation fill-credential --service opentable --field password --element-id <id>

EVERY snapshot: Dismiss modals FIRST

Before every other action, scan the snapshot for non-functional modal overlays and dismiss them. Modals block all interactions - clicking behind a modal silently fails.

  • DO NOT dismiss sign-in/login modals - if you see an email input or sign-in form inside a modal, that IS the sign-in flow. Fill it in, don't close it.
  • Dismiss only blocker modals: cookie banners, regulatory notices, promotional popups.
  • Look for: "Got It", "Accept", "Close", "OK", "Dismiss" buttons on non-login modals.
  • Take a fresh snapshot after dismissing to confirm the modal is gone.

Step 4: Search for Availability

  1. For OpenTable, navigate directly to: https://www.opentable.com/s?covers=<party_size>&dateTime=<YYYY-MM-DDTHH:MM>&term=<restaurant_or_location> Construct the URL from the details collected in Step 1. URL-encode the term parameter.

  2. For Resy, navigate to https://resy.com/cities/<city> and use the search/filter UI to find available reservations matching the collected details.

  3. If a specific restaurant was named, navigate directly to its page if possible (e.g. https://www.opentable.com/r/<restaurant-slug> or https://resy.com/cities/<city>/venues/<restaurant-slug>). After landing on the restaurant page, reapply the user's date, time, and party size filters - direct restaurant URLs often show default availability that may not match the user's request. Use the on-page date picker, time selector, and party size controls to set the correct values before reviewing slots.

  4. Take a snapshot and review the results:

    bash
    assistant browser --session reservation --json snapshot
  5. If the named restaurant is not found on this provider, tell the user and offer to try the other provider (OpenTable <-> Resy). If they agree, go back to Step 3 to sign in to the other provider.

Step 5: Present Available Slots

  1. Extract available time slots from the page.

  2. Present them to the user in a clear, organized format.

  3. If NO slots match the requested time:

    • Offer nearby times on the same date.
    • Offer the same time on adjacent dates.
    • Suggest trying the other provider (OpenTable <-> Resy).
  4. Let the user choose a slot.

  5. Click the chosen slot on the page to select it. Take a fresh snapshot to confirm the slot is selected and the booking/confirmation form is now visible. Do not proceed to confirmation steps until the slot is actively selected in the site UI.

    bash
    assistant browser --session reservation click --element-id <slot-id>
    assistant browser --session reservation --json snapshot

Step 6: First Confirmation - Reservation Details + Policies

Before proceeding to book, show the user a summary:

  • Restaurant name
  • Date and time
  • Party size
  • Any special notes

CRITICAL: Surface cancellation policies and fees prominently. Look for and extract:

  • Cancellation deadlines (e.g., "Cancel by 4 hours before")
  • No-show fees (e.g., "$25 per person no-show fee")
  • Deposit requirements
  • Credit card hold amounts

If the restaurant charges a cancellation or no-show fee, call it out explicitly in a separate line - do not bury it in other details. Example: "This restaurant charges a $25/person no-show fee."

Ask the user to confirm they want to proceed.

Step 7: Final Confirmation - Pre-Submit Approval

Immediately before clicking the final "Complete Reservation" / "Confirm" button, ask one more time:

  • "Ready to submit this reservation? This action cannot be undone."

Only proceed after explicit user approval.

Step 8: Submit and Confirm

  1. Click the final reservation submit button.

  2. Take a snapshot and screenshot to confirm success:

    bash
    assistant browser --session reservation --json snapshot
    assistant browser --session reservation screenshot --output /tmp/reservation-confirm.jpg
  3. Extract and present to the user:

    • Confirmation number / reference ID (if visible)
    • Confirmation page link
    • Final reservation details as shown on the confirmation page
  4. If the submission fails, take a fresh snapshot and report the error:

    bash
    assistant browser --session reservation --json snapshot

Critical Rules

  • ALWAYS sign in first. Do not attempt to search or browse availability before signing in.
  • NEVER tell the user to sign in themselves. You handle ALL authentication using assistant browser fill-credential and ui_show for verification codes.
  • NEVER give up. If an interaction fails, take a fresh assistant browser --session reservation --json snapshot and retry with updated element IDs - within the 3-attempt budget per step.
  • Target elements by element_id from assistant browser snapshot. Never fabricate CSS selectors.
  • Use assistant browser select-option for native <select> dropdowns (e.g., party size selectors). For non-native dropdowns, ARIA listboxes, and date/time pickers, use ArrowDown/ArrowUp + Enter via assistant browser press-key.
  • Use assistant browser scroll to reveal off-screen time slots or search results before interacting with them.
  • Handle CAPTCHAs: If a Cloudflare/CAPTCHA challenge appears, wait a few seconds - it often auto-resolves. If it persists, the system will hand off to the user automatically.
  • Fresh snapshots after every action that changes the page (assistant browser --session reservation --json snapshot). Element IDs go stale after navigation or DOM updates.
  • Conserve context. Browser flows are token-heavy. Avoid unnecessary snapshots - only take one when the page changes. Combine multiple actions efficiently. Do not narrate every step in detail.
  • ALWAYS surface cancellation and no-show fees. Before confirming any reservation, check for cancellation policies, no-show fees, deposits, and credit card holds. If the restaurant charges any fee, call it out explicitly - do not bury it in other details. The user must acknowledge fees before you proceed.
  • Two confirmations required. Never submit a reservation without both the policy confirmation (Step 6) and the final pre-submit confirmation (Step 7).

Error Handling

  • Search returns no results: Try alternate search terms, broaden the location, or check spelling. If still nothing, suggest the other provider (OpenTable <-> Resy).
  • Expired OTP: Never retry an old verification code. Always prompt the user for a fresh code via ui_show with await_action: true.
  • Login fails repeatedly: After 3 failed attempts, inform the user and ask if they want to try the other provider or handle login manually.
  • Reservation submit fails: Take a fresh snapshot (assistant browser --session reservation --json snapshot), read the error message, and report it to the user. Common causes: credit card required, party size changed, slot no longer available. Suggest rebooking if the slot was taken.
  • Page unresponsive or stuck: Wait up to 10 seconds, then try refreshing (assistant browser --session reservation navigate --url <current-url>). If still stuck, report to the user.
  • Provider-specific errors: If one provider consistently errors, suggest switching to the other.

Câu hỏi thường gặp

Kỹ năng AI Restaurant Reservation làm được gì?

Book reservations on OpenTable or Resy with explicit confirmations

Vì sao nên dùng Restaurant Reservation trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Restaurant Reservation là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Restaurant Reservation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/vellum-ai/vellum-assistant/tree/main/skills/restaurant-reservation. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Restaurant Reservation?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Restaurant Reservation với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Restaurant Reservation với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Restaurant Reservation có miễn phí không?

Có. Kỹ năng này được vellum-ai phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇