Langsung ke konten
Skillpedia
Otomatisasi33k Β· #8826

doordash-order-ledger

Fungsinya

Skill ini memungkinkan agent Anda mencari apa yang sudah dipesannya di DoorDash dan berapa biayanya, dengan memakai catatan dari setiap perintah yang dijalankannya. Skill ini untuk orang yang menginginkan fakta tentang riwayat pemesanan makanan mereka.

Kapan dipakai

  • βœ“Saat Anda bertanya berapa banyak yang sudah Anda habiskan di DoorDash minggu ini atau bulan ini.
  • βœ“Ketika Anda ingin tahu apa yang dipesan atau dicoba dipesan agent pada sesi sebelumnya.
  • βœ“Saat Anda ingin ringkasan pola pemesanan dari catatan audit.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/doordash/doordash-order-ledger/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œApa saja yang dipesan AI saya di DoorDash bulan ini, dan berapa biayanya untuk saya?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent membaca catatan audit, yang merekam setiap perintah DoorDash beserta waktu dan jenisnya, lalu menjalankan kueri pada catatan itu untuk menjawab pertanyaan Anda berdasarkan data yang tercatat.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum

Apa yang dicatat oleh catatan audit?

Setiap perintah yang dijalankan agent, dengan cap waktu, jenis kejadian, dan apakah berhasil. Nilai rahasia dihapus sebelum disimpan.

Apakah perlu bagian lain yang dipasang?

Ya. Skill ini bekerja dengan hook audit dan perintah laporan yang ada dalam paket yang sama.

Apakah tautan checkout sama dengan pesanan yang sudah dibuat?

Tidak. Catatan mencatat tautan checkout sebagai niat, dan orang tersebut mungkin tidak pernah menyelesaikannya.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
33k
Peringkat
#8826
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa