Skip to main content
skill CX Codex

pp-dominos — Claude Code skill: Domino's orders from the terminal

pp-dominos — a skill for Claude Code, Codex, Cursor and other agents that places and tracks Domino's orders from the terminal. A local SQLite store backs order templates, price comparison across stores, and deal stacking.

Apache-2.0 106 installs ★ 2,142 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mvanhorn/printing-press-library --skill pp-dominos -a claude-code
Open on GitHub

What pp-dominos does

Every platform needs the dominos-pp-cli binary on $PATH before any command will work.

The local SQLite store is what separates this from a plain API wrapper. template save records a full order — store, address, items, toppings, payment reference — and replays it with one command. reorder re-runs the last order against today's menu, substituting any items that have since rotated out. analytics pulls spending totals, item frequency, and average order value straight from the local history. deals best checks every available deal, including loyalty-exclusive ones, and returns the cheapest combination — the site never surfaces multi-deal stacks. compare-prices prices the same cart at every nearby store and ranks results by total including delivery fee.

track streams tracker stages — placed → prep → bake → quality check → out → delivered — at a configurable polling interval with --watch. All commands accept --json, --dry-run, and --agent flags, so they fit into scripts and automation pipelines. The default market is the US; Canadian store, menu, pricing, and checkout-readiness calls need --market ca, though online card tokenization and the GraphQL loyalty BFF are not available on that path.

What it helps with

  • replay a saved order with one command instead of rebuilding the cart
  • find the cheapest deal combination for the current cart
  • compare total delivery cost across nearby Domino's stores
  • stream order tracker stages from the terminal without a browser
  • query pizza spending totals for a given period from local order history

Example prompts for the agent

  • Order pizza using my friday-night template and watch the tracker
  • Run deals best against my current cart and show the cheapest deal stack
  • Compare prices for items S_PIZPH,S_LAVA at stores near 421 N 63rd St, Seattle WA

How to install pp-dominos

1Skills CLI (Vercel)

npx skills add mvanhorn/printing-press-library --skill pp-dominos -a claude-code

2Manually: put the files in place

~/.claude/skills/pp-dominos/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pp-dominos/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about pp-dominos

How do I install pp-dominos in Claude Code?

Run npx skills add mvanhorn/printing-press-library --skill pp-dominos -a claude-code. The skill lands at ~/.claude/skills/pp-dominos/SKILL.md. Then install the binary with npx -y @mvanhorn/printing-press-library install dominos --cli-only and confirm with dominos-pp-cli --version.

What does the pp-dominos skill do?

It lets an agent build, price, and place US Domino's orders from the terminal, stack deals, compare store prices including delivery fees, replay saved order templates, and track delivery stages — all backed by a local SQLite history store.

Does pp-dominos require Go to install?

Not if Node is available: npx -y @mvanhorn/printing-press-library install dominos --cli-only handles the binary without Go. If npx is unavailable, the fallback is go install github.com/mvanhorn/printing-press-library/library/food-and-dining/dominos/cmd/dominos-pp-cli@latest, which requires Go 1.26.6 or newer.

Source text

SKILL.md · Apache-2.0
---
name: pp-dominos
description: "Order pizza, browse menus, optimize deals, and track delivery from the terminal — with a local SQLite store that powers reorder, price comparison, and deal stacking no other Domino's tool offers. Trigger phrases: `order a pizza`, `find a domino's near me`, `track my pizza`, `what's my pizza usual`, `best deal on my pizza order`, `compare pizza prices`, `use dominos`, `run dominos`."
author: "Matt Van Horn"
license: "Apache-2.0"
argument-hint: "<command> [args] | install cli|mcp"
allowed-tools: "Read Bash"
metadata:
  openclaw:
    requires:
      bins:
        - dominos-pp-cli
    install:
      - kind: go
        bins: [dominos-pp-cli]
        module: github.com/mvanhorn/printing-press-library/library/food-and-dining/dominos/cmd/dominos-pp-cli
---
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/food-and-dining/dominos/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Domino's — Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `dominos-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:

1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
   ```bash
   npx -y @mvanhorn/printing-press-library install dominos --cli-only
   ```
2. Verify: `dominos-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.

If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into `$GOPATH/bin` (default `$HOME/go/bin`), so add that directory to `$PATH` instead:

```bash
go install github.com/mvanhorn/printing-press-library/library/food-and-dining/dominos/cmd/dominos-pp-cli@latest
```

If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.

## When to Use This CLI

Use this CLI when an agent or power user needs to interact with Domino's outside a browser — building, pricing, and placing US orders, inspecting Canadian checkout readiness, tracking deliveries, comparing prices across stores, optimizing deal selection, or replaying saved order templates. Excellent for automation: every command supports --json, --dry-run, --agent, --select, and structured exit codes. The US market remains the default; use `--market ca` for Canadian Power API calls. Canadian support includes stores, menus, account order history, validation, pricing, saved-card count, and a read-only checkout readiness preview. The US GraphQL loyalty/cart BFF and Canadian online-card tokenization are not supported on the Canadian path.

## Unique Capabilities

These capabilities aren't available in any other tool for this API.

### Local state that compounds
- **`template save`** — Save your usual order — store, address, items, toppings, payment ref — and replay it with one command.

  _Reach for this when an agent or user wants a one-command repeat of a known-good order without rebuilding the cart from scratch._

  ```bash
  dominos-pp-cli template save friday-night --from-cart && dominos-pp-cli template order friday-night --eta-watch --json
  ```
- **`reorder`** — Replay your last order against today's menu; FTS-substitute items the menu rotated out so the order still goes through.

  _Reach for this when a saved-order-style replay must survive Domino's menu rotation; substitution avoids the 'this item is no longer available' failure._

  ```bash
  dominos-pp-cli reorder --last --substitute-unavailable --dry-run --json
  ```
- **`deals best`** — Cross-reference your cart against every available deal (incl. loyalty-exclusive) and report the lowest-priced combination.

  _Reach for this before placing an order whenever the user cares about price; the flag enumerates 2-3-deal combinations the website never surfaces._

  ```bash
  dominos-pp-cli deals best --agent
  ```
- **`analytics`** — Aggregate your synced order history into spending totals, item frequency, favorite stores, and average order value.

  _Reach for this when 'how much have I spent on pizza this quarter' or 'what are my top 3 items' is the question. Powered entirely by the local SQLite order history._

  ```bash
  dominos-pp-cli analytics --period 90d --group-by item --agent
  ```

### Cross-source insights
- **`compare-prices`** — Same cart priced at every nearby store; rank by total including delivery fee.

  _Reach for this when latency-or-price tradeoffs across nearby stores matter (delivery fee + wait time can offset a cheaper menu)._

  ```bash
  dominos-pp-cli compare-prices --street "421 N 63rd St" --city "Seattle WA" --items S_PIZPH,S_LAVA --agent
  ```
- **`stores wait`** — Pull CartEtaMinutes for every store in radius and rank by ETA — the unique GraphQL BFF op every other wrapper ignores.

  _Reach for this when busy-hour delivery decisions need accurate wait estimates rather than a phone call to the store._

  ```bash
  dominos-pp-cli stores wait --street "421 N 63rd St" --city "Seattle WA" --agent
  ```
- **`deals eligible`** — List which advertised deals actually apply to your current cart and explain why each non-matching one fails.

  _Reach for this when the user is hunting for a coupon and needs to understand the predicate gap, not just whether 'a deal' applies._

  ```bash
  dominos-pp-cli deals eligible --agent
  ```

### Agent-native plumbing
- **`track`** — Stream Domino's tracker stages — placed → prep → bake → quality check → out → delivered — until the order arrives.

  _Reach for this when an agent or user wants to know precisely when a placed order changes stage without holding open a browser tab._

  ```bash
  dominos-pp-cli track --phone 2065551234 --watch --interval 30s --agent
  ```
- **`order-quick`** — Replay a template, validate, price, place (with --confirm), and tail the tracker — all in one command emitting a final JSON envelope.

  _Reach for this when an agent or automation wants to trigger an order and exit cleanly with structured `{order_id, eta_min, total, tracker_phone}` output._

  ```bash
  dominos-pp-cli order-quick --template friday-night --confirm --eta-watch --json
  ```

## HTTP Transport

This CLI uses Chrome-compatible HTTP transport for browser-facing endpoints. It does not require a resident browser process for normal API calls.

## Discovery Signals

This CLI was generated with browser-observed traffic context.
- Capture coverage: 0 API entries from 0 total network entries
- Auth signals: bearer_token

## Command Reference

**customer** — Customer profile, order history, and loyalty (requires `auth login`)

**checkout** — Inspect checkout readiness without placing an order

- `dominos-pp-cli customer loyalty` — Loyalty points balance, tier status, and pending points for the customer.
- `dominos-pp-cli customer orders` — List the customer's recent orders. Returns full Order objects (Address, Products, Amounts, Coupons, Status, etc.)...

**graphql** — GraphQL BFF operations (discovered via sniff)

- `dominos-pp-cli graphql categories` — Get menu categories for a store
- `dominos-pp-cli graphql create_cart` — Create a new shopping cart
- `dominos-pp-cli graphql customer` — Get authenticated customer profile with saved addresses and preferences
- `dominos-pp-cli graphql deals_list` — Get available deals and coupons for a store
- `dominos-pp-cli graphql get_cart` — Get cart by ID with items and pricing
- `dominos-pp-cli graphql loyalty_deals` — Get member-exclusive deals
- `dominos-pp-cli graphql loyalty_points` — Get loyalty points balance and status
- `dominos-pp-cli graphql loyalty_rewards` — Get available loyalty rewards by tier
- `dominos-pp-cli graphql products` — Get products in a category with customization options
- `dominos-pp-cli graphql quick_add_product` — Quick-add a product to cart by code
- `dominos-pp-cli graphql summary_charges` — Get cart totals including tax and delivery fee

**menu** — Browse store menus and search for items

- `dominos-pp-cli menu <storeID>` — Get the full menu for a store with categories, products, variants, and toppings

**orders** — Create, validate, price, and place orders

- `dominos-pp-cli orders place` — Place an order for delivery or carryout
- `dominos-pp-cli orders price` — Get the price for an order including taxes and fees
- `dominos-pp-cli orders validate` — Validate an order before placing it

**stores** — Find and get information about Domino's stores

- `dominos-pp-cli stores find` — Find nearby Domino's stores by street and city
- `dominos-pp-cli stores get` — Get detailed store information including hours, capabilities, and wait times

**tracking** — Track active orders

- `dominos-pp-cli tracking` — Track an order by phone number


### Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

```bash
dominos-pp-cli which "<capability in your own words>"
```

`which` resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code `0` means at least one match; exit code `2` means no confident match — fall back to `--help` or use a narrower query.

## Recipes


### Full real-world flow: closest store → menu → cart → deals

```bash
# 1. Find closest store (no auth needed)
dominos-pp-cli stores find --street "709 19th Ave" --city "Seattle WA 98122" --json

# 2. List all coupons available at that store (no auth needed; 58 coupons)
dominos-pp-cli deals list --store-id 7144 --json

# 3. Build a cart (local, no API call)
dominos-pp-cli cart new --store 7144 --service Delivery --address "709 19th Ave, Seattle WA 98122"
dominos-pp-cli cart add 12THIN --qty 1     # Medium 12" Thin Pizza
dominos-pp-cli cart add F_PBITES --qty 1   # Parmesan Bread Bites

# 4. See which coupons auto-apply (real auto-couponing-service call)
dominos-pp-cli deals best --json
dominos-pp-cli deals eligible --json
```

Every step talks to a real Domino's endpoint and returns real data. The deals call correctly identifies which store coupons fulfill your specific cart.

### Friday night reorder, hands-off

```bash
dominos-pp-cli order-quick --template friday-night --confirm --eta-watch --json
```

Replay a saved template, validate, price, place (with --confirm), and tail the tracker. Emits a final JSON envelope with order_id, eta_min, and total. Requires a template named friday-night — see `template save`. **Without `--confirm`, returns a dry-run preview (no order placed).**

### Authenticated commands (after `auth login`)

```bash
# Order history
dominos-pp-cli customer orders --limit 5 --json

# Loyalty points balance
dominos-pp-cli customer loyalty --json
```

### Canadian account history and checkout preview

```bash
# One-time interactive sign-in; market is persisted with the session.
dominos-pp-cli auth login --market ca

# Direct API calls after login; no browser navigation is required.
dominos-pp-cli customer orders --market ca --limit 5 --json
dominos-pp-cli customer cards --market ca --json
dominos-pp-cli checkout preview --market ca --last --json
```

`checkout preview` strips prior payment and order identifiers, validates and reprices the latest order, returns only saved-card count plus allowlisted store capabilities, and has no code path to `/power/place-order`. `orders place --market ca` and confirmed quick/template placement fail closed until a Canadian payment and service-method contract is implemented; complete the transaction through Domino's Canada instead.

Browser login harvests the customer ID automatically. With `DOMINOS_TOKEN`, `auth login --paste`, or `auth login --stdin`, pass the matching customer ID explicitly: `checkout preview <customerID> --market ca --last --json`.

Customer ID is the long base64-style identifier from your sign-in. Once `auth login` completes, the bearer token persists in `~/.config/dominos-pp-cli/config.toml` until Dominos expires it (~1 hour).

### Find the cheapest store for tonight's order (agent + select for narrow output)

```bash
dominos-pp-cli compare-prices --street "421 N 63rd St" --city "Seattle WA" --items S_PIZPH,S_LAVA --agent --select results[].store_id,results[].total_cents
```

Surveys nearby stores and returns only the comparison fields the agent needs.

### Hunt for the best stacked deal

```bash
dominos-pp-cli deals best --agent
```

Tries every available deal — including 2-3 deal stacked combinations — against the active cart and reports the lowest-priced combination plus the deal codes.

### Watch a delivery in real-time

```bash
dominos-pp-cli track --phone 2065551234 --watch --interval 30s --agent
```

Streams status transitions every 30 seconds (placed → prep → bake → qc → out → delivered) until the order arrives. Exits 0 on delivered.

### Why is this deal not applying to my cart?

```bash
dominos-pp-cli deals eligible --agent
```

Lists deals against the active cart and explains eligibility against each deal's predicates.

## Auth Setup

Most commands work without authentication: store locator, menu browse, cart building, anonymous order placement, and tracking-by-phone all succeed unauthenticated. For loyalty rewards, member-exclusive deals, and order history, run `dominos-pp-cli auth login` — it spawns a Chrome window pointed at dominos.com sign-in, waits for you to complete a normal login (handles captcha and 2FA), then reads the bearer token from sessionStorage and saves it to `~/.config/dominos-pp-cli/config.toml`. The token persists until Domino's expires it (~1 hour). Run `auth status` to confirm; `auth logout` to clear.

Run `dominos-pp-cli doctor` to verify setup.

## Agent Mode

Add `--agent` to any command. Expands to: `--json --compact --no-input --no-color --yes`.

- **Pipeable** — JSON on stdout, errors on stderr
- **Filterable** — `--select` keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:

  ```bash
  dominos-pp-cli stores get mock-value --agent --select id,name,status
  ```
- **Previewable** — `--dry-run` shows the request without sending
- **Non-interactive** — never prompts, every input is a flag
- **Explicit retries** — use `--idempotent` only when an already-existing create should count as success

## Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

```
dominos-pp-cli feedback "menu sync skipped nutrition fields for half the items"
dominos-pp-cli feedback --stdin < notes.txt
dominos-pp-cli feedback list --json --limit 10
```

Entries are stored locally at `~/.dominos-pp-cli/feedback.jsonl`. They are never POSTed unless `DOMINOS_FEEDBACK_ENDPOINT` is set AND either `--send` is passed or `DOMINOS_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 `--deliver <sink>`. 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 |
|------|--------|
| `stdout` | Default; write to stdout only |
| `file:<path>` | Atomically write output to `<path>` (tmp + rename) |
| `webhook:<url>` | POST the output body to the URL (`application/json` or `application/x-ndjson` when `--compact`) |

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.

```
dominos-pp-cli profile save briefing --json
dominos-pp-cli --profile briefing stores get mock-value
dominos-pp-cli profile list --json
dominos-pp-cli profile show briefing
dominos-pp-cli profile delete briefing --yes
```

Explicit flags always win over profile values; profile values win over defaults. `agent-context` lists all available profiles under `available_profiles` so introspecting agents discover them at runtime.

## Exit Codes

| Code | Meaning |
|------|---------|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 4 | Authentication required |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |

## Argument Parsing

Parse `$ARGUMENTS`:

1. **Empty, `help`, or `--help`** → show `dominos-pp-cli --help` output
2. **Starts with `install`** → ends with `mcp` → MCP installation; otherwise → see Prerequisites above
3. **Anything else** → Direct Use (execute as CLI command with `--agent`)
## MCP Server Installation

1. Install the MCP server:
   ```bash
   go install github.com/mvanhorn/printing-press-library/library/food-and-dining/dominos/cmd/dominos-pp-mcp@latest
   ```
2. Register with Claude Code:
   ```bash
   claude mcp add dominos-pp-mcp -- dominos-pp-mcp
   ```
3. Verify: `claude mcp list`

## Direct Use

1. Check if installed: `which dominos-pp-cli`
   If not found, offer to install (see Prerequisites at the top of this skill).
2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
3. Execute with the `--agent` flag:
   ```bash
   dominos-pp-cli <command> [subcommand] [args] --agent
   ```
4. If ambiguous, drill into subcommand help: `dominos-pp-cli <command> --help`.

© Matt Van Horn · Apache-2.0 · mvanhorn/printing-press-library

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set87

The whole set →
pp-fireflies pp-fireflies — a skill for Fireflies.ai: full-text search across meetings offline, extract action items, and track talk patterns without burning API quota. Requires fireflies-pp-cli installed. CX Codex +1 117installs pp-outlook-calendar The pp-outlook-calendar skill gives an AI agent CLI access to a personal Microsoft 365 calendar for conflicts, open slots, RSVP checks, and meeting prep. CX Codex +1 113installs pp-pointhound pp-pointhound — a skill for Claude Code, Cursor and other AI coders that searches Pointhound award flights and stores every snapshot in a local SQLite. CX Codex +1 113installs pp-meta-ads pp-meta-ads diagnoses Meta ad creative fatigue and audience overlap using a local SQLite cache. Operates strictly in read-only mode. CX Codex +1 112installs pp-customer-io pp-customer-io — a skill for Customer.io operations via customer-io-pp-cli: inspect campaign funnels, verify segment overlap, and audit suppressions without the web UI. CX Codex +1 111installs pp-github-intel The pp-github-intel skill gives an agent read-only GitHub intelligence for repositories, releases, search, and security advisories. It fits research tasks. CX Codex +1 110installs pp-hotel-tonight pp-hotel-tonight — a skill to search and analyze HotelTonight last-minute deals with local price history. Monitors price drops by city, compares neighborhoods and nights, identifies good deals against actual price ranges. CX Codex +1 108installs pp-atlas-obscura pp-atlas-obscura — a skill for Claude Code and Cursor searches Atlas Obscura locations, stores data in local SQLite, and builds road-trip travel routes. CX Codex +1 100installs

Project sponsors

Companies that keep this analytics open