Skill · em Automatizar e estender
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…
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/skills/doordash/doordash-spend-guard - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- nenhum download no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
2 arquivos · 13,1 KB · inclui 1 script que executa: scripts/dd-guard.sh
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/skills/doordash-spend-guard/.
d=".claude/skills/doordash-spend-guard" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-spend-guard" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/scripts/dd-guard.sh" "$u/scripts/dd-guard.sh" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.claude/skills/doordash-spend-guard/.
d="$HOME/.claude/skills/doordash-spend-guard" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-spend-guard" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/scripts/dd-guard.sh" "$u/scripts/dd-guard.sh" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Codex
Neste projeto: instala em .agents/skills/doordash-spend-guard/.
d=".agents/skills/doordash-spend-guard" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-spend-guard" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/scripts/dd-guard.sh" "$u/scripts/dd-guard.sh" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.agents/skills/doordash-spend-guard/.
d="$HOME/.agents/skills/doordash-spend-guard" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-spend-guard" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/scripts/dd-guard.sh" "$u/scripts/dd-guard.sh" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Antigravity
Neste projeto: instala em .agents/skills/doordash-spend-guard/.
d=".agents/skills/doordash-spend-guard" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-spend-guard" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/scripts/dd-guard.sh" "$u/scripts/dd-guard.sh" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.gemini/antigravity-cli/skills/doordash-spend-guard/.
d="$HOME/.gemini/antigravity-cli/skills/doordash-spend-guard" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-spend-guard" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/scripts/dd-guard.sh" "$u/scripts/dd-guard.sh" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Peça ao Rook
Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/cct.doordash-spend-guard
Prévia do SKILL.md
---
name: doordash-spend-guard
description: 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 …
allowed-tools: Bash(dd-cli:*), Bash(bash .claude/skills/doordash-spend-guard/scripts/dd-guard.sh:*), Bash(command -v:*), Bash(mkdir:*), Bash(cat:*), Bash(jq:*), Read
tags: [DoorDash, Budget, Spending Limits, Guardrails, CLI, Safety]
---
# 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
| Piece | Role |
|---|---|
| this skill | protocol: always route through dd-guard, report headroom |
| `scripts/dd-guard.sh` → installs to `.claude/skills/doordash-spend-guard/scripts/dd-guard.sh` | the deterministic gate |
| hook `doordash/doordash-spend-guard` | denies bypasses of the wrapper |
| command `/doordash-budget` | view/edit policy, reconcile ledger |
…