Logo van Doordash

Doordash

OrganisatiePopulair
vellum-ai
doordash

Order food, groceries, and convenience items from DoorDash using the built-in CLI integration

Overzicht

Uitgevervellum-ai
Repositoryvellum-assistant
Skillnaamdoordash
Sterren
1.3K
Forks
186
Meegeleverde bestanden
17
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 17

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door vellum-ai op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Doordash in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/vellum-ai/vellum-assistant/tree/main/skills/doordash
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vellum-ai/vellum-assistant.git /tmp/vellum-assistant
mkdir -p .claude/skills
cp -r /tmp/vellum-assistant/skills/doordash .claude/skills/doordash
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Doordash in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Doordash automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Doordash niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

You can order food from DoorDash for the user using the DoorDash CLI script.

CLI Setup

IMPORTANT: Always use host_bash (not bash) for all DoorDash commands. The DoorDash CLI needs host access for Chrome CDP and session cookies - none of which are available inside the sandbox.

The DoorDash CLI is invoked via bun {baseDir}/scripts/doordash-entry.ts. Do NOT search for the script, inspect it, or try to discover how the CLI works. Just run the commands as documented below.

Task Progress Widget

A task progress card is shown automatically when you run your first DoorDash command. Its surface ID is doordash-progress. As each step completes, call ui_update with surface ID doordash-progress to update step statuses. Update data.templateData.steps - set completed steps to "status": "completed" with a "detail" string, the current step to "status": "in_progress", and future steps to "status": "pending". Adapt the steps to the actual flow (e.g. skip "Search restaurants" if the user named a specific store).

Typical Flow

When the user asks you to order food (e.g. "Order pizza from Andiamo's"):

  1. Check session - run bun {baseDir}/scripts/doordash-entry.ts status --json. If loggedIn is false or the session is expired, inform the user that their DoorDash session has expired and they need to log in again.

  2. Search - run bun {baseDir}/scripts/doordash-entry.ts search "<query>" --json to find matching restaurants. Present the top results to the user with name, rating, and delivery info. If the user named a specific restaurant, pick the best match. If ambiguous, ask.

  3. Browse menu - run bun {baseDir}/scripts/doordash-entry.ts menu <storeId> --json to get the menu. Show the user the categories and items with prices. If the user already said what they want (e.g. "pepperoni pizza"), find the matching item(s). For convenience/pharmacy stores (CVS, Duane Reade, Walgreens etc.), the response will have isRetail: true and empty items - use store-search instead (see step 3b).

3b. Search within a retail store - for convenience/pharmacy stores, run bun {baseDir}/scripts/doordash-entry.ts store-search <storeId> "<query>" --json to find specific products. This returns items with IDs, prices, and menuIds that can be added to cart directly.

  1. Get item details (if needed) - run bun {baseDir}/scripts/doordash-entry.ts item <storeId> <itemId> --json to see options/customizations. The response includes:

    • options: each option group has minSelections/maxSelections indicating how many choices are required
    • Each choice has unitAmount (price impact in cents), defaultQuantity, and possibly nestedOptions (sub-choices like milk type within a size selection)
    • specialInstructionsConfig: whether special instructions are accepted, max length, and placeholder text

    If the item has required options (like size or toppings), construct the nestedOptions JSON from the option/choice IDs and pass it via --options. Ask the user for preferences or pick sensible defaults.

  2. Add to cart - run bun {baseDir}/scripts/doordash-entry.ts cart add --store-id <id> --menu-id <id> --item-id <id> --item-name "<name>" --unit-price <cents> [--options '<json>'] [--special-instructions "<text>"] --json. For subsequent items at the same store, pass --cart-id <id> from the first add response. Use --special-instructions for requests like "extra hot", "no ice", etc. Use --options to pass customization choices (see Customization Options below).

  3. Review cart - run bun {baseDir}/scripts/doordash-entry.ts cart view <cartId> --json and show the user what's in their cart with prices. Ask if they want to add anything else or proceed.

  4. Checkout - run bun {baseDir}/scripts/doordash-entry.ts checkout <cartId> --json to get delivery options. Present them to the user.

  5. Payment methods - run bun {baseDir}/scripts/doordash-entry.ts payment-methods --json to see saved cards. Show the user which card will be used (the default one).

  6. Place order - after the user explicitly confirms, run bun {baseDir}/scripts/doordash-entry.ts order place --cart-id <id> --store-id <id> --total <cents> [--tip <cents>] [--dropoff-option <id>] --json. The command auto-selects the default payment method if --payment-uuid is not provided. The response contains orderUuid on success.

Important Behavior

  • Always confirm before checkout. Never place an order without explicit user approval.
  • Be proactive. If the user says "order pizza from Andiamo's", don't ask clarifying questions upfront - search, find the store, show the menu, and suggest items. Only ask when you need a choice the user hasn't specified.
  • Handle expired sessions gracefully. If any command returns "error": "session_expired", inform the user that their DoorDash session has expired and they need to log in again.
  • Show prices. Always show prices when presenting items or the cart summary.
  • Use --json flag on all commands for reliable parsing.
  • Do NOT use the browser skill. All DoorDash interaction goes through the CLI, not browser automation.
  • Rate limiting. DoorDash rate-limits rapid sequential requests. When adding multiple items (e.g. a team order), wait 8–10 seconds between cart add calls. If you get a 403 error, wait 15–20 seconds and retry.
  • Special instructions are unreliable. Some merchants disable special instructions entirely. Always prefer --options for customizations (size, milk type, etc.). Only use --special-instructions for free-text requests that aren't covered by the item's option groups. If the merchant rejects special instructions, drop them and proceed without.
  • Customization fallback. If cart add with --options fails, or if the item details show options that are hard to construct (deeply nested, unusual format), proactively offer to use cart learn so the user can customize the item visually in the browser. Don't silently drop customizations - tell the user what happened and offer alternatives.
  • Always-allow tip. At the start of an ordering flow, suggest the user enable "always allow" for DoorDash commands: "Tip: You can type 'a' to always allow DoorDash commands for this conversation so you won't be prompted each time."
  • Error attribution. When errors occur, assume it's more likely a bug in our query/parsing than a DoorDash API change. Suggest running bun {baseDir}/scripts/doordash-entry.ts record to capture fresh queries before assuming the schema changed.

Customization Options

Many items (especially coffee, boba, sandwiches) have required customization options like size, milk type, or toppings. Here's how to handle them:

Constructing nestedOptions JSON

  1. Run bun {baseDir}/scripts/doordash-entry.ts item <storeId> <itemId> --json to get the item's option groups
  2. Each option group has id, name, required, minSelections, maxSelections, and choices
  3. Build a JSON array of selections matching the DoorDash format:
json
[
  {
    "optionId": "<option-group-id>",
    "optionChoiceId": "<choice-id>",
    "quantity": 1,
    "nestedOptions": []
  }
]

For choices with nested sub-options (e.g., selecting "Oat Milk" under the "Milk" option within a size), add them to the nestedOptions array of the parent choice.

  1. Pass the JSON string to cart add --options '<json>'

Special Instructions

Use --special-instructions on cart add for free-text requests like "extra hot", "no ice", "light foam". The item command response includes specialInstructionsConfig with the max length and whether instructions are supported.

Warning: Some merchants disable special instructions entirely. If specialInstructionsConfig.isEnabled is false, or if the add-to-cart call returns an error about special requests, drop the instructions and retry without them. Always prefer --options for customizations - special instructions are a last resort for requests not covered by the item's option groups.

Learning Customizations via Browser Recording

For complex items where constructing the JSON manually is difficult, use cart learn:

  1. Run bun {baseDir}/scripts/doordash-entry.ts cart learn --json
  2. A Chrome window opens - navigate to the item, customize it visually, and click "Add to Cart"
  3. The command auto-detects the updateCartItem operation and extracts the exact nestedOptions and specialInstructions
  4. Use the extracted options directly with cart add --options '<json>'

You can also extract options from an existing recording with bun {baseDir}/scripts/doordash-entry.ts inspect <recordingId> --extract-options --json.

Coffee Order Example

User: "Order a large oat milk latte with an extra shot from Blue Bottle"

  1. bun {baseDir}/scripts/doordash-entry.ts search "Blue Bottle" --json -> finds store
  2. bun {baseDir}/scripts/doordash-entry.ts menu <storeId> --json -> finds "Latte" item
  3. bun {baseDir}/scripts/doordash-entry.ts item <storeId> <latteItemId> --json -> returns options:
    • Size (required, min:1, max:1): Small (id:101), Medium (id:102), Large (id:103, +$1.00)
    • Milk (required, min:1, max:1): Whole (id:201), Oat (id:202, +$0.70), Almond (id:203, +$0.70)
    • Extras (optional, min:0, max:5): Extra Shot (id:301, +$0.90), Vanilla Syrup (id:302, +$0.60)
  4. Construct options JSON and add to cart:
bun {baseDir}/scripts/doordash-entry.ts cart add --store-id <id> --menu-id <id> --item-id <id> --item-name "Latte" --unit-price 550 --options '[{"optionId":"size-group-id","optionChoiceId":"103","quantity":1,"nestedOptions":[]},{"optionId":"milk-group-id","optionChoiceId":"202","quantity":1,"nestedOptions":[]},{"optionId":"extras-group-id","optionChoiceId":"301","quantity":1,"nestedOptions":[]}]' --special-instructions "Extra hot" --json

Command Reference

bun {baseDir}/scripts/doordash-entry.ts status --json              # Check if logged in
bun {baseDir}/scripts/doordash-entry.ts logout --json              # Clear session
bun {baseDir}/scripts/doordash-entry.ts search "<query>" --json    # Search restaurants
bun {baseDir}/scripts/doordash-entry.ts menu <storeId> --json      # Get store menu (auto-detects retail stores)
bun {baseDir}/scripts/doordash-entry.ts store-search <storeId> "<query>" --json  # Search items within a convenience/pharmacy store
bun {baseDir}/scripts/doordash-entry.ts item <storeId> <itemId> --json  # Get item details + options
bun {baseDir}/scripts/doordash-entry.ts cart add --store-id <id> --menu-id <id> --item-id <id> --item-name "<name>" --unit-price <cents> [--quantity <n>] [--cart-id <id>] [--options '<json>'] [--special-instructions "<text>"] --json
bun {baseDir}/scripts/doordash-entry.ts cart remove --cart-id <id> --item-id <orderItemId> --json
bun {baseDir}/scripts/doordash-entry.ts cart view <cartId> --json
bun {baseDir}/scripts/doordash-entry.ts cart list [--store-id <id>] --json
bun {baseDir}/scripts/doordash-entry.ts cart learn --json                 # Learn customization options by recording browser interaction
bun {baseDir}/scripts/doordash-entry.ts inspect <recordingId> --extract-options --json  # Extract nestedOptions from a recording
bun {baseDir}/scripts/doordash-entry.ts checkout <cartId> [--address-id <id>] --json
bun {baseDir}/scripts/doordash-entry.ts payment-methods --json     # List saved payment methods
bun {baseDir}/scripts/doordash-entry.ts order place --cart-id <id> --store-id <id> --total <cents> [--tip <cents>] [--delivery-option <type>] [--dropoff-option <id>] [--payment-uuid <uuid>] --json

Example Interaction

User: "Order a pepperoni pizza from Andiamo's"

  1. bun {baseDir}/scripts/doordash-entry.ts status --json -> logged in
  2. bun {baseDir}/scripts/doordash-entry.ts search "Andiamo's" --json -> finds store 22926474
  3. bun {baseDir}/scripts/doordash-entry.ts menu 22926474 --json -> finds "Pepperoni Pizza Pie" (item 2956709006, $28.00)
  4. Tell user: "I found Pepperoni Pizza Pie at Andiamo's for $28.00. Adding it to your cart."
  5. bun {baseDir}/scripts/doordash-entry.ts cart add --store-id 22926474 --menu-id 12847574 --item-id 2956709006 --item-name "Pepperoni Pizza Pie" --unit-price 2800 --json
  6. bun {baseDir}/scripts/doordash-entry.ts cart view <cartId> --json -> show summary
  7. "Your cart has 1x Pepperoni Pizza Pie ($28.00), total $28.00. Ready to check out?"

User: "I need Tylenol from CVS"

  1. bun {baseDir}/scripts/doordash-entry.ts status --json -> logged in
  2. bun {baseDir}/scripts/doordash-entry.ts search "CVS" --json -> finds store 1231787
  3. bun {baseDir}/scripts/doordash-entry.ts menu 1231787 --json -> isRetail: true, categories but no items
  4. bun {baseDir}/scripts/doordash-entry.ts store-search 1231787 "tylenol" --json -> finds results
  5. Show top results: "Tylenol Extra Strength Gelcaps (24 ct) - $8.79, Tylenol Extra Strength Caplets (100 ct) - $13.49..."
  6. User picks one -> add to cart with the item's id, menuId, and unitAmount

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Doordash?

Order food, groceries, and convenience items from DoorDash using the built-in CLI integration

Waarom Doordash gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Doordash bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Doordash in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/vellum-ai/vellum-assistant/tree/main/skills/doordash. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Doordash gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Doordash gebruiken?

Zoveel als je wilt. Je kunt Doordash gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Doordash gratis?

Ja. Deze skill is door vellum-ai op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇