Перейти к содержанию
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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/doordash/doordash-order-ledger/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Что мой ИИ заказывал в 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
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы