DoorDash Allergy Shield

SkillAI & models

doordash-allergy-shield is a skill that adds a persistent dietary safety layer to DoorDash CLI (dd-cli) ordering. It stores a personal or household dietary profile, allergens with severity tiers, diets, and dislikes, and vets every cart against that profile before checkout. A deterministic tripwire saves the full cart contents to a vette record, so nothing gets ordered without passing the check.

Use DoorDash Allergy Shield in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add DoorDash Allergy Shield and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the DoorDash Allergy Shield skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have DoorDash CLI (dd-cli) installed and working for ordering.

DoorDash Allergy ShieldStart free

What your AI can do with it

  • Stores a persistent personal or household dietary profile
  • Records allergens with severity tiers, plus diets and dislikes
  • Vets every dd-cli cart against the profile before checkout
  • Uses a deterministic tripwire that cannot be skipped silently
  • Saves full cart contents to a vette record during vetting

Getting started

  1. Have DoorDash CLI (dd-cli) installed and working for ordering.
  2. Add the doordash-allergy-shield skill to your agent setup.
  3. Enter your dietary profile: allergens with severity tiers, diets, and dislikes.
  4. Place orders through dd-cli as usual; each cart is vetted against the profile before checkout.

What this skill tells your AI

The instructions your AI receives, as published by davila7/claude-code-templates in cli-tool/components/skills/doordash/doordash-allergy-shield/SKILL.md and read by ahel’s review.

Claude has no cross-session memory: tell it "I'm allergic to peanuts" today and tomorrow it happily adds pad thai. This skill persists a dietary profile and makes cart vetting mandatory — with a deterministic hook double-checking the highest-severity allergens before any checkout URL is emitted.

Unofficial community skill built on DoorDash's doordash-oss/doordash-cli.

Honest limits (state these to the user on first use)

  • Matching is heuristic, against item names/descriptions from cart show output plus a synonyms table. It cannot see full ingredient lists and knows nothing about cross-contamination in the kitchen.
  • It is a tripwire against agent mistakes, not a medical device. The DoorDash payment page — where the human reviews the real order — is the documented final check.
  • False positives are accepted by design: blocking a safe ponzu bowl is cheap; the reverse is not. Hook matching is substring-based (short allergen names like "oat" can match inside "goat cheese") — annoying, never dangerous.
  • The references/allergen-synonyms.md table is intentionally broader than the compact synonym subset hardcoded in the checkout-gate hooks; adding a synonym to the reference doc alone does not change what the hooks enforce.

Components in this bundle

PieceRole
this skillvetting protocol + profile management
references/allergen-synonyms.mdhidden-allergen lookup table
hook doordash/doordash-allergy-checkout-gatedeterministic re-check at checkout
command /doordash-profilemanage the dietary profile interactively

State

  • ~/.claude/doordash-profile/dietary.json — the profile. Structure:
{
  "people": {
    "me": {
      "allergens": [
        { "name": "peanut", "severity": "anaphylaxis" },
        { "name": "shellfish", "severity": "avoid" }
      ],
      "diets": ["vegetarian"],
      "dislikes": ["cilantro"]
    },
    "sam": { "allergens": [{ "name": "egg", "severity": "avoid" }], "diets": [], "dislikes": [] }
  }
}

Severity tiers: anaphylaxis (hook-enforced, never overridable in-session), avoid (requires explicit human acknowledgment to keep the item), preference (mention it, don't gate on it).

  • ~/.claude/doordash-profile/vetted/<cart-uuid>.json — one dump per vetted cart: the full raw cart show output plus your verdict and a timestamp. The checkout hook greps this artifact — it trusts the dump, not your claim.

Protocol

Session start

Read dietary.json. Missing → offer to create it interactively (or via /doordash-profile). If the user is ordering for others ("lunch for me and Sam"), make sure each eater exists in the profile or ask for their restrictions.

After EVERY cart mutation (add-items / remove-item / reorder)

  1. Run dd-cli cart show --cart-uuid <X> and capture the full output.
  2. Check every line against each relevant eater's profile — direct matches AND hidden sources from references/allergen-synonyms.md (satay→peanut, aioli→egg, ponzu→soy+fish, …).
  3. On a conflict:
    • anaphylaxis → remove the item (dd-cli cart remove-item) and tell the user why. Do not offer to keep it.
    • avoid → present the conflict; keep only with explicit acknowledgment.
    • preference → mention it in passing.
  4. Items whose name is too opaque to judge ("Chef's Special #3") → mark UNVERIFIED and require the user's explicit sign-off for eaters with anaphylaxis entries.
  5. Write the vetted dump: full cart show output + verdict + ISO timestamp to ~/.claude/doordash-profile/vetted/<cart-uuid>.json. Without this file the checkout hook blocks — vetting is not optional.

At checkout

Just run dd-cli order checkout-url --cart-uuid <X> (or the dd-guard wrapper when doordash-spend-guard is installed — the two gates compose). The hook independently verifies: dump exists, is newer than the last cart mutation it saw, and contains no anaphylaxis-tier keyword. If it blocks, do NOT try to work around it — fix the cart, re-vet, and explain to the user what tripped.

Rules

  • Never edit dietary.json from the shell; profile changes go through /doordash-profile (interactive, confirmed).
  • Never write a vetted dump without actually running cart show fresh — the dump IS the audit artifact.
  • When in doubt about an ingredient, doubt is a conflict.

Signals

GitHub stars
32k
Forks
4k
Last commit
Oct 2026

Questions

Does it work with DoorDash CLI?
Yes. It is built for DoorDash CLI (dd-cli) ordering and vets carts created through it before checkout.
Can it handle multiple people in a household?
Yes. The profile can be personal or household-wide, covering allergens, diets, and dislikes for the group.
Can the safety check be bypassed?
The vetting step uses a deterministic tripwire that saves the full cart contents to a vette record, so carts are checked before checkout.
What can I store in the profile?
Allergens with severity tiers, diets, and dislikes.
Advanced
Item type
skill
Key
doordash-allergy-shield
Source
github.com/davila7/claude-code-templates