opentable-agent

opentable-agent is an agent for Claude Code from omarshahine/restaurant-cli. It costs 38 tokens per session (722 once invoked), scanned A, original, MIT.

An OpenTable reservation assistant that searches for venues and gives you an OpenTable booking link.

In plain words
What is it for?
It can search OpenTable venues and provide booking links; it does not support checking availability, booking, cancelling, or listing reservations.
Why use it?
It lets you find a suitable venue while leaving the final reservation submission in your own browser and account.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the AskUserQuestion tool.

Part of the restaurant-cli plugin — 1 skill, 5 commands, 3 agents shipped together

Good fit It can search OpenTable venues and provide booking links; it does not support checking availability, booking, cancelling, or listing reservations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/omarshahine/restaurant-cli/opentable-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/omarshahine/restaurant-cli

Made for: Claude Code.

Or install restaurant-cli, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for opentable-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/omarshahine/restaurant-cli/opentable-agent/github.svg)](https://agentmods.dev/agents/omarshahine/restaurant-cli/opentable-agent)
Your own site
<a href="https://agentmods.dev/agents/omarshahine/restaurant-cli/opentable-agent"><img src="https://agentmods.dev/badge/agents/omarshahine/restaurant-cli/opentable-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for opentable-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/omarshahine/restaurant-cli/opentable-agent"><img src="https://agentmods.dev/badge/agents/omarshahine/restaurant-cli/opentable-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 722 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00722
Opus 5.5 $0.00015 $0.00289
Sonnet 5.5 $0.00008 $0.00144
Haiku 4.5 $0.00004 $0.00072

Measured 1mo ago against content hash cf96c69a2444, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opentable-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/opentable-agent.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

opentable-agent

You handle OpenTable reservations via the restaurant CLI. You never invoke OpenTable's API directly and you never complete a booking on the user's behalf.

Critical safety invariant

You do not click Confirm. OpenTable requires a logged-in account and anti-bot protection for the actual booking submission. Your job stops at producing a deep link. The user completes the booking themselves in their own browser.

This is deliberate and hard-coded. Even if asked to "just book it", you produce the deep link and remind the user they complete it.

OpenTable capabilities today

  • search: live (via browser automation — patchright + persistent Chrome profile). Off by default — requires the user to set RESTAURANT_CLI_ENABLE_SITE_AUTOMATION=1 (live-site automation with no official API). If search errors with "off by default", relay it to the user and let them enable it; do not set the env var yourself.
  • bookUrl: live (deep-link hand-off) — not gated.
  • availability, book, cancel, list: not supported
restaurant search "<query>" --provider opentable [--limit 10]
restaurant book --provider opentable --venue <rid> --date YYYY-MM-DD --time HH:mm --party <n>
# ^ prints the deep link instead of booking (bookUrl capability)

restaurant availability --provider opentable errors with a CapabilityError — availability isn't wired yet. Use search to find the venue, then generate a booking URL with restaurant book, then hand it to the user.

OpenTable quirks

  • Search runs via patchright (stealth-patched Playwright fork) + a persistent Chrome profile at ~/.cache/restaurant-cli/chrome-profile-opentable. The first invocation opens a headed Chrome window for ~5-10s to bypass Akamai Bot Manager. Tell the user this is expected on a cold start.
  • Results are geo-biased by the profile's last-known location. If results look wrong, suggest the user run an explicit location picker interaction (or, once wired, --city <slug>).
  • Reverse-engineered /dapi/ endpoints return 403 from raw Node.js fetch — Akamai blocks at the TLS-fingerprint layer. Do not try to call them directly.

Read the full file on GitHub · 49 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 49 lines · 38 tokens per session scan A cf96c69a2444

Subscribe to this mod's changes

opentable-agent is an agent published in the GitHub repository omarshahine/restaurant-cli (10 stars, last pushed 10d ago), licensed MIT. It adds 38 tokens to every session and 722 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

ui-verify

Verifies a frontend UI change in a real browser with Playwright before it is reported done. Checks scroll containment, viewport fit, primary-button reachability (e.g. the save button stays reachable inside the scroll area), selection-state sync between a sub-component and its parent preview, and console errors. Use…

jhlee0409/omni-harness-kit · 107 tokens

chrome-verify

Verifies a chrome-extension/ change before it is reported done. Checks Service Worker (Manifest v3) compatibility with vm.createContext, manifest-permissions integrity, content-script DOM contract per target site, and message-passing between popup ↔ service worker ↔ content script. Use after any change in…

jhlee0409/omni-harness-kit · 118 tokens

architect

System design expert for architecture reviews, pattern analysis, SOLID principles evaluation, and coupling/abstraction assessments. Use when reviewing structural changes, evaluating design decisions, or analyzing system architecture.

restarter/lets-workflow · 39 tokens

backend

Backend development expert for API design review, business logic analysis, error handling assessment, and performance evaluation. Use when reviewing server-side code, API endpoints, data processing, or service integrations.

restarter/lets-workflow · 39 tokens

database

Database expert for schema design review, migration analysis, query optimization, index assessment, and transaction safety. Use when reviewing database schemas, migrations, ORM code, or raw queries.

restarter/lets-workflow · 37 tokens

browser-tester

A browser-based end-to-end tester for checking user interfaces with Playwright, a tool that controls a real web browser. It starts the app, captures desktop and mobile screenshots, and reads what appears on screen.

andrewcigan/vibe-dev-plugin · 76 tokens