restaurant-snipe

restaurant-snipe is a command for coding agents from omarshahine/restaurant-cli. It costs 25 tokens per session (552 once invoked), scanned A, original, MIT.

A scheduled reservation command that attempts to book a specified venue at the exact time reservations are released.

In plain words
What is it for?
Use it to schedule a future booking attempt by providing the venue, party size, date, time, provider, and release time. It supports a preview mode and requires you to explicitly enable unattended booking.
Why use it?
It helps when popular reservation slots sell out quickly and manual booking at release time is difficult.

Command

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

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.

agentmods
npx agentmods add commands/omarshahine/restaurant-cli/restaurant-snipe
Clone the repo
git clone --depth 1 https://github.com/omarshahine/restaurant-cli

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 restaurant-snipe

README.md
[![agentmods](https://agentmods.dev/badge/commands/omarshahine/restaurant-cli/restaurant-snipe.svg)](https://agentmods.dev/commands/omarshahine/restaurant-cli/restaurant-snipe)
Your own site
<a href="https://agentmods.dev/commands/omarshahine/restaurant-cli/restaurant-snipe"><img src="https://agentmods.dev/badge/commands/omarshahine/restaurant-cli/restaurant-snipe.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 552 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00025 $0.00552
Opus 5 $0.00013 $0.00276
Sonnet 5 $0.00005 $0.00110
Haiku 4.5 $0.00003 $0.00055

Measured 5d ago against content hash a58948027494, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

restaurant-snipe 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 5d 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.

commands/restaurant-snipe.md · 35 lines

What it actually says

Restaurant Snipe

Off by default. Scheduled sniping requires the user to opt in by setting RESTAURANT_CLI_ENABLE_SNIPE=1 in their environment (it's an unattended booking). If restaurant snipe errors with "off by default", relay that to the user and let them enable it — do not set the env var yourself. restaurant snipe --dry-run previews without the flag.

The user wants to queue a sniped booking. Collect the following (via AskUserQuestion if any are missing):

  • venue id — if the user gave a name, run restaurant search "<name>" first and confirm the venue
  • party size
  • date (YYYY-MM-DD)
  • time (HH:mm, 24h)
  • release-at — ISO8601 with timezone offset, e.g. 2026-04-30T10:00-04:00. This is when the at-job fires, not the reservation time.
  • provider — default: configured default; must have snipe capability per restaurant doctor. As of 2026-04, only Resy supports sniping.

Then run:

restaurant snipe --provider <id> --venue <id> --party <n> --date <d> --time <t> --release-at <iso>

The CLI will prompt for y/N confirmation unless you pass --yes. Confirm with the user in chat first, then pass --yes so there's no second prompt.

After queuing, tell the user:

  • The job id and runAt timestamp
  • restaurant jobs list to inspect the queue
  • restaurant jobs cancel <job-id> to back out
  • restaurant jobs logs <job-id> to see the fire-time output (available after the job runs)

Under the hood, the CLI pipes the job to POSIX at and writes a bash wrapper that sources ~/.secrets.env at fire time so the booking command has access to RESY_AUTH_TOKEN.

Heads up — deferred credential access. A snipe is an unattended booking: the wrapper loads your provider tokens and fires the reservation later, with no further confirmation from you. Tell the user this when they queue one, and remind them they can back out any time with restaurant jobs cancel <job-id>. Only queue snipes the user has explicitly authorized.

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. 5d ago First seen · 35 lines · 25 tokens per session scan A a58948027494

Subscribe to this mod's changes

restaurant-snipe is a command published in the GitHub repository omarshahine/restaurant-cli (8 stars, last pushed 3d ago), licensed MIT. It adds 25 tokens to every session and 552 once invoked, about $0.0001 per session on Opus 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.