본문으로 건너뛰기
Skillpedia
자동화33k · #8826

doordash-order-ledger

하는 일

이 스킬은 에이전트가 실행한 모든 명령을 기록한 로그를 이용해, DoorDash에서 무엇을 주문했고 얼마였는지 확인하게 합니다. 음식 주문 내역에 대한 사실을 알고 싶은 사람에게 맞습니다.

사용하는 경우

  • ✓이번 주나 이번 달에 DoorDash에서 얼마를 썼는지 물을 때.
  • ✓지난 세션에서 에이전트가 무엇을 주문하거나 주문하려 했는지 알고 싶을 때.
  • ✓감사 로그로 주문 패턴의 요약을 원할 때.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/doordash/doordash-order-ledger/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/doordash/doordash-order-ledger/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이번 달 제 AI가 DoorDash에서 무엇을 주문했고, 그 비용이 얼마인지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 각 DoorDash 명령의 시간과 종류를 기록한 감사 로그를 읽고, 기록된 데이터를 바탕으로 질의를 실행해 질문에 답합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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)

{
  "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)

Answer from data, not memory:

# What did the agent do today?
jq -r 'select(.ts >= "2026-07-19") | "\(.ts) \(.event_type) \(.command)"' ~/.claude/dd-guard/audit.jsonl

# Checkout URLs issued this week (intents, not confirmed orders)
jq -r 'select(.event_type == "checkout_url" and .ts >= "2026-07-13")' ~/.claude/dd-guard/audit.jsonl

# Activity by type
jq -s 'group_by(.event_type) | map({type: .[0].event_type, n: length})' ~/.claude/dd-guard/audit.jsonl

# Which sessions touched carts?
jq -r 'select(.event_type == "cart_mutation") | .session_id' ~/.claude/dd-guard/audit.jsonl | sort | uniq -c

# Failed dd-cli calls (agent flailing?)
jq -r 'select(.exit_ok == false) | "\(.ts) \(.command)"' ~/.claude/dd-guard/audit.jsonl

When the user asks a money question ("how much this week?"), prefer /doordash-report — it reconciles against real dd-cli order history and labels intent-only numbers honestly. Raw checkout_url counts are intents: the human may have abandoned the payment page.

Honest semantics

  • checkout_url ≠ purchase. It records that a link was issued. Only reconciliation against order history confirms money moved.
  • Subtotals (when present via doordash-spend-guard's ledger) are pre-fee.
  • The log records what went through Claude Code's Bash tool — orders placed by the human directly in a terminal or app are invisible to it.

Maintenance

  • Rotation: when audit.jsonl exceeds ~5 MB, rotate: mv audit.jsonl audit-$(date +%Y%m).jsonl && gzip audit-*.jsonl (keep the gzips; they are the history).
  • Never edit lines — append-only is the audit property. Corrections go in reports, not in the log.
  • Privacy: this is a plaintext record of eating habits and schedules. Keep ~/.claude/dd-guard/ out of repos and backups you share. Mention this to the user the first time you query the log in a session.
자주 묻는 질문

감사 로그에는 무엇이 기록되나요?

에이전트가 실행한 각 명령을 시간, 이벤트 종류, 성공 여부와 함께 기록합니다. 저장 전에 비밀 값은 지워집니다.

다른 부분도 설치해야 하나요?

네. 이 스킬은 같은 묶음에 들어 있는 감사 훅과 보고서 명령과 함께 작동합니다.

결제 링크는 주문이 완료된 것과 같나요?

아니요. 로그는 결제 링크를 의도로 기록하며, 사람이 실제로 결제를 마치지 않을 수도 있습니다.

상세 정보

작성자의 원본 설명

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.

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#8826
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬