Table Reservation GOAT — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the
table-reservation-goat-pp-cli
binary.
You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer:
bash
npx -y @mvanhorn/printing-press install table-reservation-goat --cli-only
- Verify:
table-reservation-goat-pp-cli --version
- Ensure (or ) is on .
If the
install fails before this CLI has a public-library category, install Node or use the category-specific Go fallback after publish.
If
reports "command not found" after install, the install step did not put the binary on
. Do not proceed with skill commands until verification succeeds.
OpenTable and Tock split the US fine-dining world between them and share zero data. This CLI unifies them:
searches both at once,
polls both for cancellations,
composes availability across both, and
surfaces what changed at a venue since your last look. Auth is one
import — your real Chrome cookies for both sites, no partner keys.
When to Use This CLI
Use this CLI any time a user or agent needs to search, compare, watch, or book across OpenTable and Tock together — and especially for multi-venue questions ('soonest table at any of these'), cancellation hunting, or tracking changes at a specific venue. For single-network simple lookups, the official site UI is faster.
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Cross-network ground truth
-
— One query across OpenTable and Tock simultaneously, ranked by relevance, earliest availability, and price band.
When a user asks an agent to find a table, this is the single command that searches both reservation networks and returns structured ranked results — agents do not need to know which network covers which restaurant.
bash
table-reservation-goat-pp-cli goat 'tasting menu chicago' --party 2 --when 'this weekend' --agent --select results.name,results.network,results.earliest_slot,results.price_band
-
— Across a list of restaurants from either network, return the earliest open slot per venue within a time horizon.
When a user gives an agent a shortlist of venues and wants the soonest opportunity, this is the right shape — one structured response with one row per venue across both networks.
bash
table-reservation-goat-pp-cli earliest 'alinea,le-bernardin,smyth,atomix' --party 4 --within 21d --agent --select earliest.venue,earliest.network,earliest.slot_at,earliest.attributes
Local state that compounds
-
— Persistent local watcher that polls both networks for openings on your target venues and party size, with notifications and optional auto-book.
Resy's Notify covers Resy only; tockstalk covers Tock only; restaurant-mcp's snipe covers Resy+OT only. None covers both networks; none persists state. Use this when an agent or user needs a hot reservation that isn't currently available.
bash
table-reservation-goat-pp-cli watch add 'le-bernardin' --party 2 --window 'Fri 7-9pm' --notify slack
-
— Show what changed at a specific venue since the last sync — new experiences, slot price moves, hours changes.
Hot-target deep-watch: when an agent or user is hunting one venue, drift surfaces every meaningful change since the last look.
bash
table-reservation-goat-pp-cli drift alinea --since '2026-04-01' --agent
Command Reference
availability — Check open reservation slots across OpenTable and Tock
table-reservation-goat-pp-cli availability check
— Check open slots for a restaurant on a specific date and party size
table-reservation-goat-pp-cli availability multi-day
— Multi-day availability for a single restaurant — Mon-Sun matrix
restaurants — Search and inspect restaurants across OpenTable and Tock
table-reservation-goat-pp-cli restaurants get
— Get a restaurant's full detail — hours, address, cuisine, price band, photos, accolades
table-reservation-goat-pp-cli restaurants list
— List restaurants across OpenTable and Tock; filter by location, cuisine, price band, accolades, and party size
watch — Persistent local cancellation watcher across both networks
table-reservation-goat-pp-cli watch add
— Register a watch for a venue, party size, and time window
table-reservation-goat-pp-cli watch list
— List active watches
table-reservation-goat-pp-cli watch cancel
— Cancel a watch by id
table-reservation-goat-pp-cli watch tick
— Run one polling tick across all active watches (for cron / agents)
Finding the right command
When you know what you want to do but not which command does it, ask the CLI directly:
bash
table-reservation-goat-pp-cli which "<capability in your own words>"
resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code
means at least one match; exit code
means no confident match — fall back to
or use a narrower query.
Recipes
Headline omakase search across both networks (agent-shaped)
bash
table-reservation-goat-pp-cli goat 'omakase manhattan' --party 2 --when 'this fri 7-9pm' --agent --select results.name,results.network,results.earliest_slot,results.price_band,results.attributes
Single command, ranked merged output with the deeply-nested fields agents actually need — narrows a multi-KB response to five columns.
Watch one Tock-only and one OT-only venue at the same party size
bash
table-reservation-goat-pp-cli watch add 'alinea' --party 2 --window 'sat 7-9pm' --notify local && table-reservation-goat-pp-cli watch add 'le-bernardin' --party 2 --window 'sat 7-9pm' --notify local
Two watches, one local store, one polling daemon — the printer handles both networks via per-source adaptive limiters.
Soonest table among my shortlist
bash
table-reservation-goat-pp-cli earliest 'narisawa,sushi-saito,den,florilege' --party 2 --within 14d --agent --select earliest.venue,earliest.network,earliest.slot_at
One row per venue with the soonest slot, sortable by slot time. Agents pipe into a planner without re-querying.
Watched venue: what changed in the last week
bash
table-reservation-goat-pp-cli drift alinea --since 7d --agent
Snapshot diff at a single venue — new experiences, slot price moves, hours changes — exactly what hot-target hunters need.
Headline search, then check live availability for the top hit
bash
table-reservation-goat-pp-cli goat 'le bernardin' --party 2 --json | jq -r '.results[0] | (.network + ":" + .slug)' | xargs -I{} table-reservation-goat-pp-cli availability check {} --party 2 --date "$(date +%Y-%m-%d)"
Compose the cross-network search with a follow-up live availability check —
returns the best matched venue,
then queries OpenTable or Tock directly for open slots on that venue and date.
Auth Setup
No authentication required.
Run
table-reservation-goat-pp-cli doctor
to verify setup.
Agent Mode
Add
to any command. Expands to:
--json --compact --no-input --no-color --yes
.
-
Pipeable — JSON on stdout, errors on stderr
-
Filterable —
keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
bash
table-reservation-goat-pp-cli restaurants list --agent --select id,name,neighborhood,price_band
-
Previewable —
shows the request without sending
-
Offline-friendly — sync/search commands can use the local SQLite store when available
-
Non-interactive — never prompts, every input is a flag
-
Explicit retries — use
only when an already-existing create should count as success, and
only when a missing delete target should count as success
Response envelope
Commands that read from the local store or the API wrap output in a provenance envelope:
json
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}
Parse
for data and
to know whether it's live or local. A human-readable
summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.
Agent Feedback
When you (or the agent) notice something off about this CLI, record it:
table-reservation-goat-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
table-reservation-goat-pp-cli feedback --stdin < notes.txt
table-reservation-goat-pp-cli feedback list --json --limit 10
Entries are stored locally at
~/.table-reservation-goat-pp-cli/feedback.jsonl
. They are never POSTed unless
TABLE_RESERVATION_GOAT_FEEDBACK_ENDPOINT
is set AND either
is passed or
TABLE_RESERVATION_GOAT_FEEDBACK_AUTO_SEND=true
. Default behavior is local-only.
Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
Output Delivery
Every command accepts
. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
| Sink | Effect |
|---|
| Default; write to stdout only |
| Atomically write output to (tmp + rename) |
| POST the output body to the URL ( or when ) |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
Named Profiles
A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
table-reservation-goat-pp-cli profile save briefing --json
table-reservation-goat-pp-cli --profile briefing restaurants list
table-reservation-goat-pp-cli profile list --json
table-reservation-goat-pp-cli profile show briefing
table-reservation-goat-pp-cli profile delete briefing --yes
Explicit flags always win over profile values; profile values win over defaults.
lists all available profiles under
so introspecting agents discover them at runtime.
Exit Codes
| Code | Meaning |
|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
Argument Parsing
- Empty, , or → show
table-reservation-goat-pp-cli --help
output
- Starts with → ends with → MCP installation; otherwise → see Prerequisites above
- Anything else → Direct Use (execute as CLI command with )
MCP Server Installation
Install the MCP binary from this CLI's published public-library entry or pre-built release, then register it:
bash
claude mcp add table-reservation-goat-pp-mcp -- table-reservation-goat-pp-mcp
Direct Use
- Check if installed:
which table-reservation-goat-pp-cli
If not found, offer to install (see Prerequisites at the top of this skill).
- Match the user query to the best command from the Unique Capabilities and Command Reference above.
- Execute with the flag:
bash
table-reservation-goat-pp-cli <command> [subcommand] [args] --agent
- If ambiguous, drill into subcommand help:
table-reservation-goat-pp-cli <command> --help
.