Skill · em Automatizar e estender

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…

Procedência

Antes de instalar

1 arquivo · 3,6 KB · só texto, nenhum script

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-order-ledger/.

d=".claude/skills/doordash-order-ledger"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-order-ledger"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.claude/skills/doordash-order-ledger/.

d="$HOME/.claude/skills/doordash-order-ledger"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-order-ledger"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Codex

Neste projeto: instala em .agents/skills/doordash-order-ledger/.

d=".agents/skills/doordash-order-ledger"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-order-ledger"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.agents/skills/doordash-order-ledger/.

d="$HOME/.agents/skills/doordash-order-ledger"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-order-ledger"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Antigravity

Neste projeto: instala em .agents/skills/doordash-order-ledger/.

d=".agents/skills/doordash-order-ledger"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-order-ledger"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.gemini/antigravity-cli/skills/doordash-order-ledger/.

d="$HOME/.gemini/antigravity-cli/skills/doordash-order-ledger"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/doordash/doordash-order-ledger"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -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-order-ledger

Prévia do SKILL.md

---
name: doordash-order-ledger
description: 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 a…
allowed-tools: Bash(dd-cli:*), Bash(jq:*), Bash(cat:*), Bash(wc:*), Bash(tail:*), Bash(mv:*), Bash(gzip:*), Read
tags: [DoorDash, Audit Log, Spend Tracking, Analytics, Accountability, CLI]
---

# DoorDash Order Ledger

Every dd-cli command the agent runs is recorded by the `doordash-audit-log` hook
in `~/.claude/dd-guard/audit.jsonl` — one versioned JSON line per event.
This skill teaches you to answer questions from that log instead of
guessing.

> Install the bundle: hook `doordash/doordash-audit-log` (the recorder), command
> `/doordash-report` (reconciled summaries), this skill (querying). Composes with
> doordash-spend-guard (shares the `~/.claude/dd-guard/` state directory) but runs
> standalone.

## Line schema (v1)

```json
{
  "v": 1,
  "ts": "2026-07-19T13:02:11",
  "session_id": "abc123",
  "cwd": "/Users/x/project",
  "command": "dd-cli search --query \"ramen near me\"",
  "event_type": "search | cart_mutation | checkout_url | history | login | other",
  "cart_uuid": "…or null",
  "order_uuid": "…or null",
  "exit_ok": true
}
```

Commands are secret-stripped before persisting and truncated to 500 chars.
The `v` field guards future schema changes — check it before assuming
fields.

## Query recipes (jq)
…

Ver todo o marketplace