Opentable 标志

Opentable

社区
win4r
opentable

Find restaurants on OpenTable, check availability, and make, change, or cancel reservations. Use for restaurant booking and live reservation data.

概览

发布者win4r
代码仓库MuseAI-Skills
技能名称opentable
星标数
382
复刻数
116
附带文件
2
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 win4r 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Opentable AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/win4r/MuseAI-Skills/tree/main/opt/hatch/skills/opentable
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/win4r/MuseAI-Skills.git /tmp/MuseAI-Skills
mkdir -p .claude/skills
cp -r /tmp/MuseAI-Skills/opt/hatch/skills/opentable .claude/skills/opentable
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Opentable,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Opentable。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Opentable 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

OpenTable

For a user-facing restaurant search or booking, first read /opt/hatch/skills/booking/SKILL.md, /opt/hatch/skills/booking/references/restaurants.md, and /opt/hatch/skills/booking/references/presentation.md. Those files define the end-to-end booking, fallback, and presentation rules. Use this file for the OpenTable CLI contract. Keep reservation choices in plain Markdown. Do not call create_options or a comparison/list widget during a restaurant booking.

Connecting

OpenTable needs a one-time in-chat consent before any command returns data. Run opentable status. For a direct reservation request, if it is not_connected, recommend connecting OpenTable as the preferred low-friction path and post the exact returned connect_url. Do not invent one. Explain briefly that this enables live availability, saved-profile use, and smoother booking. Do not wait idle for the connection or make it a prerequisite: continue the same request through the venue's official reservation link, another reputable platform, and phone.place_call when available. If the user connects after a fallback path started, follow the duplicate-protection rule in /opt/hatch/skills/booking/references/restaurants.md before resuming the OpenTable request. If status is unavailable, skip the connection offer and use those fallback paths immediately. If the request is specifically to connect OpenTable rather than reserve a table, post the link immediately and wait for the user to connect. Disconnect with opentable disconnect. Do not send the user to Settings.

Common flows

Find a table

Use lookup-rid to resolve a named restaurant or discover restaurants by city, cuisine, and price. When the city is known, include --city. If there is no clear match, vary the restaurant name or adjust the filters. For example, try common spacing or punctuation variants, pass only the city name to --city, or drop --country-code. Keep the requested location fixed.

Then use search-availability to check open tables for the requested time and party size.

Book

After search-availability, resolve the exact slot from the user's request. Use authorized stored contact details when available; ask only for the name, email, or phone fields still required at checkout. Then book with book-reservation (it locks the slot and books in one step). After book-reservation returns a confirmation, offer to remind the user 30 minutes before the reservation. If they accept or choose another lead time, use cron.add to create a run-once reminder for their chosen time, resolved from the confirmed reservation time.

Modify

Find the new time with search-availability, resolve the exact requested slot, then update with modify-reservation-with-lock. Needs the reservation's confirmation id.

Cancel or look up a reservation

Use cancel-reservation or get-reservation, both by the reservation's confirmation id.

Book an experience

Find it with list-experiences, check times with search-availability --include-experiences true, resolve the exact requested experience and slot, then book with book-reservation --experience-json (include the experience id and version).

Other commands

The flows above cover the common cases. For anything else (a restaurant's policies, seating and dining-area options, releasing a stuck slot lock), run opentable --help for the full command list and opentable <command> --help for its flags.

Rules

  • Before book-reservation or modify-reservation-with-lock, resolve the exact restaurant, date, time, and party size. Before cancel-reservation, resolve which reservation the user means. For a booking, take the user's name, email, and phone from an authorized profile or the user. Invoke the resolved command directly so connector policy can present any required approval. Do not add a duplicate chat confirmation. A clear, unambiguous cancellation may proceed without an additional confirmation. Do not guess missing details.
  • Read results add UTC and user-local semantic fields when OpenTable supplies an offset-bearing reservation or hold timestamp, plus runtime-generated retrieved_at. A date/time without an offset is restaurant-local civil time; do not guess a timezone or convert it.
  • book-reservation verifies the booking with OpenTable before reporting success. Only report the booking as confirmed when the result explicitly says it is confirmed; a confirmation number alone is not proof. When it is confirmed, say so without hedging, mentioning provider lifecycle states, or predicting a later status transition. If OpenTable requires another action, explain what is needed instead of retrying. If the booking is unconfirmed or cannot be verified, say that plainly, keep the confirmation reference, and never retry automatically. Offer only the OpenTable continuation or recovery link returned by the command; the link itself never proves confirmation, and you must never invent one.
  • For reservation lookups, summarize the returned status in a natural sentence (for example, “Your reservation is confirmed”). Never quote result field names or provider-internal status fields. Describe cancelled, completed, no-show, or unknown results in the same plain language.
  • When OpenTable returns a reservation-management link, include it exactly once as the only web link in the final reply, on its own last line. Do not also link the restaurant profile; multiple links prevent Hatch from rendering the management card.
  • Only tell the user a booking, change, or cancellation went through when the command returns a confirmation. If it fails or comes back empty, say so plainly instead of inventing a confirmation or a workaround.
  • A result carrying resource_authorization with persisted: false means the OpenTable operation succeeded but the main agent could not confirm that its authorization was stored. Do not automatically repeat a mutation. Give the user the confirmation number and explain that the main agent may not be able to manage it later. Reads are safe to retry except after a rate-limit response.
  • Make only one OpenTable connector call at a time. Do not batch calls, run them in parallel or in the background, or put them in shell/Python loops or retry wrappers.
  • If an OpenTable command returns HTTP 429 or says it was rate limited, stop making OpenTable calls for this task and report the partial result. Never repeat book-reservation, modify-reservation-with-lock, or cancel-reservation after a rate limit because the mutation may already have applied. If the result includes a confirmation reference, a later task may retry only get-reservation after the returned retry_after, or after 60 seconds if the response has no value.
  • A reservation the main agent did not book may not be reachable by get-reservation, modify-reservation-with-lock, or cancel-reservation. If one of those commands is refused, say so and point the user to opentable.com or the restaurant. Do not retry with a different rid or confirmation id.
  • Attribute each reservation task to OpenTable. Mention OpenTable when presenting availability. Mention it once more in the final result only when that clarifies who owns the reservation. Do not repeat it in intermediate updates or use promotional language.
  • Only add special requests the user gave you (dietary needs, allergies, seating). Do not put unrelated personal data in the booking.
  • If lookup-rid finds no match after the applicable retries, stop the OpenTable attempt without checking availability or inventing a rid. If the user asked only whether the venue appears on OpenTable, report that result. If the user intends to reserve, continue with the Search and route section in /opt/hatch/skills/booking/references/restaurants.md.
  • If search-availability returns no_availability_reasons, tell the user why in plain language rather than showing the raw code.
  • Present restaurant results through /opt/hatch/skills/booking/references/presentation.md.
  • Keep messages focused on the outcome. Do not quote the command you ran or plan to run, rids, tokens, slot-lock state, or raw result codes like not_connected or NoTimesExist. Tell the user the outcome in normal words. The OpenTable attribution described above is user-facing. It is not an internal implementation detail.

Limits

  • The connector cannot book a slot that needs a card, deposit, or prepayment. These show up as a cancellation_policy on the slot in search-availability, or an experience marked prePaymentRequired. When these requirements are present, or a booking is rejected for needing a card, continue the same reservation with browser.spawn_task following /opt/hatch/skills/booking/references/browser-booking.md. Use the returned booking_url with ref=19075 added if missing, or the restaurant's profile_url if no booking URL is returned.
  • Bookings are for 1 to 20 diners. For a larger party, tell the user to arrange it with the restaurant directly. Do not book a smaller table or split the group to fit.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Opentable AI 技能有什么作用?

Find restaurants on OpenTable, check availability, and make, change, or cancel reservations. Use for restaurant booking and live reservation data.

为什么在 TypingMind 中使用 Opentable?

因为您只需安装一次,就能搭配任何模型使用。Opentable 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Opentable?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/win4r/MuseAI-Skills/tree/main/opt/hatch/skills/opentable。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Opentable?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Opentable 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Opentable 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Opentable AI 技能免费吗?

win4r 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇