Home / Market / doordash playbook

doordash playbook

Manage saved DoorDash order playbooks (list, add from order history, remove, inspect) stored in ~/.claude/dd-cli/playbooks.json

claude-command★ 348350 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- allowed-tools: Bash(dd-cli:*), Bash(jq:*), Bash(cat:*), Bash(mkdir:*), Read, Write, Edit argument-hint: [list | add <name> | rm <name> | show <name>] description: Manage saved DoorDash order playbooks (list, add from order history, remove, inspect) stored in ~/.claude/dd-cli/playbooks.json

---

DoorDash Playbook Manager

Manage saved order playbooks: $ARGUMENTS

State file: ~/.claude/dd-cli/playbooks.json (create with mkdir -p ~/.claude/dd-cli if missing).

Current State

Task

Parse $ARGUMENTS and run the matching subcommand:

list (default when no arguments)

Render a table of playbooks: name, restaurant, baseline subtotal, contexts, last used, times used. If empty, explain how to add one.

add <name>

  1. Run dd-cli order history and show the recent orders.
  2. Ask the user which order to save under <name> (never guess).
  3. Ask for optional context words (e.g. "post-gym, workout").
  4. Write the playbook entry: order_uuid, restaurant, items_summary

(name/qty/price per item as shown by history or the last cart show), baseline_total, tolerance_pct: 10, contexts, last_used: today, times_used: 0.

rm <name>

Show the entry, confirm with the user, then delete it from the JSON.

show <name>

Pretty-print the full entry, including stored items and baseline, and when it was last used.

Rules

handled by the doordash-order-playbooks skill (install it alongside).

history entries.