Agent skill

Doordash Allergy Shield

by davila7 in davila7/claude-code-templates

Persistent dietary safety layer for DoorDash CLI (dd-cli) ordering.

MITAuto-check passed

Install Doordash Allergy Shield

skills CLI
$ npx skills add davila7/claude-code-templates --skill doordash-allergy-shield -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates doordash-allergy-shield --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/doordash/doordash-allergy-shield .claude/skills/doordash-allergy-shield && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
doordash-allergy-shield
GitHub stars
33k
Token cost
~1.3k tokens
SKILL.md length
538 words
Files
2 (incl. references)
Skills in repo
479
Repo updated
First seen
Licence
MIT

At a glance

Persistent dietary safety layer for DoorDash CLI (dd-cli) ordering.

  • Works in 5 steps: Run dd-cli cart show --cart-uuid and… → Check every line against each relevant… → On a conflict → …
  • The user mentions allergies
  • SKILL.md covers Honest limits (state these to…, Components in this bundle, State and Protocol, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Doordash Allergy Shield is an agent skill from davila7/claude-code-templates. Persistent dietary safety layer for DoorDash CLI (dd-cli) ordering. Stores a personal/household dietary profile (allergens with severity tiers, diets, dislikes) that every cart is vetted against before checkout, with a deterministic tripwire — the vetting step saves the full cart contents to a vetted-cart dump, and a PreToolUse hook re-greps that dump against the anaphylaxis-severity allergen list before any checkout URL is allowed. Use when the user mentions allergies or dietary restrictions, when ordering food…

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/allergen-synonyms.md`).

The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • The user mentions allergies
  • Dietary restrictions
  • Ordering food for someone with restrictions
  • On every dd-cli cart flow while this skill is installed

Example prompts

  • “/doordash-allergy-shield”

Requirements

  • Pre-approved tools (allowed-tools): Bash(dd-cli:*), Bash(command -v:*), Bash(mkdir:*), Bash(cat:*), Bash(jq:*), Read, Write, Edit

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Run dd-cli cart show --cart-uuid and capture the full output.
  2. Check every line against each relevant eater's profile — direct matches
  3. On a conflict
  4. Items whose name is too opaque to judge ("Chef's Special #3") → mark
  5. Write the vetted dump: full cart show output + verdict + ISO timestamp

What it can do on your machine

Read from SKILL.md and the folder at commit c0ca7da. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(dd-cli:*)
    • Bash(command -v:*)
    • Bash(mkdir:*)
    • Bash(cat:*)
    • Bash(jq:*)
    • Read
    • Write
    • Edit

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Doordash Allergy Shield loads about 1.3k tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 177 tokens; SKILL.md has 538 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~177
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit c0ca7da, republished under its MIT licence (© davila7). 538 words, ~1,337 tokens.

Download SKILL.mdSave it as .claude/skills/doordash-allergy-shield/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
doordash-allergy-shield
description
Persistent dietary safety layer for DoorDash CLI (dd-cli) ordering. Stores a personal/household dietary profile (allergens with severity tiers, diets, dislikes) that every cart is vetted against before checkout, with a deterministic tripwire — the vetting step saves the full cart contents to a vetted-cart dump, and a PreToolUse hook re-greps that dump against the anaphylaxis-severity allergen list before any checkout URL is allowed. Use when the user mentions allergies or dietary restrictions, when ordering food for someone with restrictions, or on every dd-cli cart flow while this skill is installed. A tripwire, not medical-grade — the human checkout page is the final check.
allowed-tools
Bash(dd-cli:*), Bash(command -v:*), Bash(mkdir:*), Bash(cat:*), Bash(jq:*), Read, Write, Edit
tags
DoorDash, Allergies, Dietary Restrictions, Safety, Guardrails, CLI

DoorDash Allergy Shield

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:
json
{
  "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.

Show full SKILL.md (227 more words)Show less
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.

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in cli-tool/components/skills/doordash/doordash-allergy-shield of davila7/claude-code-templates.

  • SKILL.md
  • references/allergen-synonyms.md

Open the folder on GitHubat commit c0ca7da

Compare with similar skills

Doordash Allergy Shield next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Doordash Allergy Shield compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Doordash Allergy Shield this skilldavila7/claude-code-templates33k—~1.3kAutomated safety check: PassMIT
Python Type Safetywshobson/agents40k—~1.4kAutomated safety check: PassMIT
Swift Actor Persistenceaffaan-m/ECC277k4 repos~1.2kAutomated safety check: PassMIT
Session Persistruvnet/ruflo74k—~415Automated safety check: NotesMIT
Doordashvellum-ai/vellum-assistant1.4k—~3.3kAutomated safety check: WarnMIT
CSS Orderthedaviddias/Front-End-Checklist74k—~404Automated safety check: PassMIT

Similar skills

  • Python Type Safety

    wshobson/agents

    Python type safety with type hints, generics, protocols, and strict type checking.

    40k GitHub stars~1.4k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Thread-safe data persistence in Swift using actors — in-memory cache with file-backed storage, eliminating data races by design.

    277k GitHub starsUsed in 4 repos~1.2k tokens
    MobileAuto-check passed
  • Session Persist

    ruvnet/ruflo

    Persist and restore agent sessions across conversations with state snapshots

    74k GitHub stars~415 tokensUpdated yesterday
    Auto-check: notes
  • Doordash

    vellum-ai/vellum-assistant

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

    1.4k GitHub stars~3.3k tokensUpdated 2 days ago
    Auto-check: warnings
  • CSS Order

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Order CSS files correctly.

    74k GitHub stars~404 tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Focus Order

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Ensure logical focus order.

    74k GitHub stars~519 tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed

More from davila7/claude-code-templates

All 479 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    33k GitHub starsUsed in 11 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    33k GitHub starsUsed in 9 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    33k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    33k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    33k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    33k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Questions about Doordash Allergy Shield

What does Doordash Allergy Shield do?

Persistent dietary safety layer for DoorDash CLI (dd-cli) ordering. Doordash Allergy Shield is an agent skill from davila7/claude-code-templates. Persistent dietary safety layer for DoorDash CLI (dd-cli) ordering.

When should I use Doordash Allergy Shield?

Doordash Allergy Shield fits situations like: the user mentions allergies; dietary restrictions; ordering food for someone with restrictions; on every dd-cli cart flow while this skill is installed.

How do I install Doordash Allergy Shield in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill doordash-allergy-shield -a claude-code`. Or copy the skill folder (cli-tool/components/skills/doordash/doordash-allergy-shield in davila7/claude-code-templates) into .claude/skills/doordash-allergy-shield in your project. Claude Code loads it when a task matches its description.

How do I install Doordash Allergy Shield in Codex?

Run `npx skills add davila7/claude-code-templates --skill doordash-allergy-shield -a codex`. Or copy the skill folder (cli-tool/components/skills/doordash/doordash-allergy-shield in davila7/claude-code-templates) into .agents/skills/doordash-allergy-shield in your project. Codex loads it when a task matches its description.

Can I use Doordash Allergy Shield in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill doordash-allergy-shield -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/doordash-allergy-shield, .gemini/skills/doordash-allergy-shield, .github/skills/doordash-allergy-shield and .opencode/skills/doordash-allergy-shield in your project.

What does Doordash Allergy Shield need to run?

SKILL.md names no scripts, command-line tools or credentials: Doordash Allergy Shield is instructions for the agent only. Its frontmatter pre-approves these tools: Bash(dd-cli:*), Bash(command -v:*), Bash(mkdir:*), Bash(cat:*), Bash(jq:*), Read, Write, Edit.

Does Doordash Allergy Shield access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Doordash Allergy Shield safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Doordash Allergy Shield use?

Doordash Allergy Shield is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Doordash Allergy Shield use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 611 tokens, read only when the agent opens those files.

What are the alternatives to Doordash Allergy Shield?

Skills that share tags, products or a category with Doordash Allergy Shield: Python Type Safety (wshobson/agents, 40k stars), Swift Actor Persistence (affaan-m/ECC, 277k stars), Session Persist (ruvnet/ruflo, 74k stars) and Doordash (vellum-ai/vellum-assistant, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Doordash Allergy Shield?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,512 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 10, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.