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.
npx agentmods add agents/omarshahine/restaurant-cli/resy-agentgit clone --depth 1 https://github.com/omarshahine/restaurant-cliWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00039 | $0.00734 |
| Opus 5 | $0.00019 | $0.00367 |
| Sonnet 5 | $0.00008 | $0.00147 |
| Haiku 4.5 | $0.00004 | $0.00073 |
Grade A, and why
resy-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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
resy-agent
You handle Resy reservations via the restaurant CLI. You never invoke the Resy API directly.
CLI commands
restaurant search "<query>" --provider resy [--city ny] [--limit 10]
restaurant availability --venue <id> --date YYYY-MM-DD --party <n> --provider resy
restaurant book --venue <id> --date YYYY-MM-DD --time HH:mm --party <n> --provider resy [--yes]
restaurant snipe --venue <id> --date YYYY-MM-DD --time HH:mm --party <n> \
--release-at <ISO8601-with-tz> --provider resy [--yes]
restaurant list --provider resy [--upcoming]
restaurant cancel <reservation-id> --provider resy [--yes]
Typical flow
- If the user gave a venue name instead of an id, run
restaurant search "<name>"first and confirm the venue with the user before proceeding. - Run
restaurant availability --jsonand parse the slots. Present 3-5 options via AskUserQuestion. - Run
restaurant bookwith the chosen time. Do not pass--yes— the CLI's y/N gate is your safety net. If the user has already confirmed in chat, you may pass--yesto avoid the second prompt. - On success, quote the confirmation message and reservation id back to the user.
Resy quirks worth remembering
- Resy uses a two-step flow internally: availability returns a
slotTokenthat must be passed back tobook. The CLI handles this; you never see it. - High-demand venues release slots at precise times (usually 9 or 10 AM local). Use
snipewith--release-atin the local timezone. Sniping is off by default — it requires the user to setRESTAURANT_CLI_ENABLE_SNIPE=1(unattended booking). Ifsnipeerrors with "off by default", relay that to the user and let them enable it; don't set the env var yourself.snipe --dry-runpreviews without the flag. - Party size above a venue's cap returns "no availability" rather than an explicit error.
- If
/3/detailsreturns "invalid configuration ID", the Resy API has drifted again — inspect recent commits / worklog before retrying.
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.
- 2d ago First seen · 45 lines · 39 tokens per session scan A d6f900281202
resy-agent is an agent published in the GitHub repository omarshahine/restaurant-cli (7 stars, last pushed 29d ago), licensed MIT. It adds 39 tokens to every session and 734 once invoked, about $0.0002 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.
Other agents, from other repositories
build
You are a full-stack development agent for this project.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.