Claude Code SkillDoordash

Doordash Spend Guard

Hard spending policy for agent-driven DoorDash ordering through the DoorDash CLI (dd-cli). Per-order ceiling, daily/weekly/monthly caps, cooldown between orders, and blocked hours — enforced deterministically by routing every cart-mutation and checkout through the dd-guard wrapper script, which prices the cart, checks the policy against a persistent spend ledger, and refuses out-of-policy checkouts with exit code 2. Use when the user wants budget limits on agent food ordering, asks "how much have I spent on DoorDash", wants to set spending caps, or whenever building carts / checking out with dd-cli while this skill is installed. Pairs with a PreToolUse hook that denies raw dd-cli checkout calls that bypass the wrapper.

Install with the Claude Code Templates CLI
$ npx claude-code-templates@latest --skill="doordash/doordash-spend-guard" --yes

Requires Claude Code. The command adds this skill to your project's .claudedirectory — nothing runs on ToolZip's servers.

What's inside this skill

Component source

DoorDash Spend Guard

A budget stated in a prompt is advisory — the model can forget it mid-session

and prompt injection can override it. This skill makes the budget

deterministic: every checkout and cart mutation goes through one audited

wrapper (dd-guard.sh) that prices the cart, checks the policy, and refuses

out-of-policy actions with a machine exit code. The companion PreToolUse hook

(doordash-spend-guard hook component) denies raw dd-cli order checkout-url /

dd-cli cart add-items calls that try to bypass the wrapper.
Unofficial community skill built on DoorDash's doordash-oss/doordash-cli.
Requires dd-cli installed and logged in. Wrapper needs python3.

Honest scope

  • Caps apply to the pre-fee subtotal that cart show exposes; fees, tip
and tax land on the DoorDash payment page. Documented headroom, not

loopholes.

  • The ledger records intent when a checkout URL is issued; the human may
abandon the page. /doordash-budget reconciles intents against

dd-cli order history, marking entries paid or abandoned.

  • Enforcement teeth come from the hook + wrapper combo. Install both; the
skill alone is guidance.

Components in this bundle

PieceRole
this skillprotocol: always route through dd-guard, report headroom
scripts/dd-guard.sh → installs to .claude/skills/doordash-spend-guard/scripts/dd-guard.shthe deterministic gate
hook doordash/doordash-spend-guarddenies bypasses of the wrapper
command /doordash-budgetview/edit policy, reconcile ledger

State (created on first run)

  • ~/.claude/dd-guard/limits.json — policy. Human-edited only. Never
edit this file yourself; when the user asks for a change, direct them to

/doordash-budget which confirms interactively.

{
  "per_order_max": 40,
  "daily_max": 60,
  "weekly_max": 150,
  "monthly_max": 400,
  "cooldown_minutes": 45,
  "allowed_hours": { "start": 7, "end": 23 }
}
  • ~/.claude/dd-guard/ledger.jsonl — one line per priced action:
{"ts": "...", "cart_uuid": "...", "subtotal": 24.5, "status": "intent"}

(status becomes paid / abandoned after reconciliation).

Protocol (follow ALWAYS while this skill is installed)

  • Session start / before building a cart: report headroom —
bash .claude/skills/doordash-spend-guard/scripts/dd-guard.sh status prints spend-to-date vs each

cap. Tell the user their remaining budget before adding items.

  • Adding items: route through the wrapper —
bash .claude/skills/doordash-spend-guard/scripts/dd-guard.sh add-items <the exact dd-cli cart add-items args>

The wrapper execs the real dd-cli cart add-items ... and re-prices the

cart afterwards.

  • Checkout: NEVER call dd-cli order checkout-url directly. Use
bash .claude/skills/doordash-spend-guard/scripts/dd-guard.sh checkout <cart-uuid>

- exit 0 → it printed the checkout URL and appended a ledger intent line.

- exit 2 → blocked; it printed a human-readable reason (which cap, by how

much). Relay the reason verbatim, then help within policy — e.g. suggest

a cheaper reorder from dd-cli order history or trimming the cart with

dd-cli cart remove-item.

  • When blocked, do not negotiate with the wrapper. No editing
limits.json, no retrying with a fresh cart to reset the cooldown, no

splitting one order into several to duck the per-order cap. If the user

wants a different policy, point them to /doordash-budget.

  • If the wrapper reports the cart subtotal as unparseable, it blocks by
design (conservative default). Show the user the raw cart show output

and ask them to confirm the total explicitly before any manual override.

Reading the ledger

Answer "how much have I spent this week?" from the ledger, not memory:

bash .claude/skills/doordash-spend-guard/scripts/dd-guard.sh status
# or raw:
cat ~/.claude/dd-guard/ledger.jsonl | jq -s '[.[] | select(.status != "abandoned")] | map(.subtotal) | add'

Remind the user that subtotals exclude fees/tips and intents may not have

been paid — /doordash-budget reconciles.

Type
Skill
Category
Doordash
Installs
Source
GitHub ↗

Related Claude Code Skills

SkillDoordash

Doordash Allergy Shield

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.

View →
SkillDoordash

Doordash Group Orders

Group food ordering through the DoorDash CLI (dd-cli) from a persistent team roster. One request ("lunch for the team") fans out into a single merged cart with every line attributed to its eater via a person-to-cart-item-id ledger, per-person cost split with fee proration, payer rotation history, and a checkout gate that re-derives allergen conflicts against the roster live. Use when ordering for multiple people — team lunch, incident-response food, "collect orders from the thread" — or for /whose-turn payer rotation questions. Handles paste-a-thread intake: paste a Slack/chat thread and it builds the order ledger from it.

View →
SkillDoordash

Doordash Order Ledger

Accountability layer for agent-driven DoorDash ordering. Works with the doordash-audit-log hook (which appends every dd-cli invocation to an append-only audit log) and the /doordash-report command to answer "what has my AI been ordering and what did it cost" from data instead of memory. Use when the user asks about their DoorDash spending, ordering patterns, what the agent did in past sessions, or wants jq recipes for querying the audit log. Covers log schema, query patterns, rotation, and privacy guidance.

View →
SkillDoordash

Doordash Order Playbooks

Named, context-bound saved DoorDash orders ("post-gym", "late-night deploy") recalled through the DoorDash CLI (dd-cli) with a mandatory cart-diff before any checkout link is handed over. Use when the user names a saved order ("order my post-gym bowl", "the usual", "my Friday ramen"), wants to save the order they just placed as a playbook, or asks to list/remove saved orders. Persists name→order-uuid playbooks across sessions, catches silent menu/price drift on every recall, and self-heals stale playbooks when a restaurant's menu changes. Requires dd-cli (macOS Apple Silicon, waitlist-gated).

View →
SkillCreative Design

Frontend Design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

4.2k installsView →
SkillDevelopment

Code Reviewer

Comprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go. Includes automated code analysis, best practice checking, security scanning, and review checklist generation. Use when reviewing pull requests, providing code feedback, identifying issues, or ensuring code quality standards.

3k installsView →

Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.