Order
它能做什么
通过已批准的服务(例如 DoorDash)下达食品和零售订单,并在你确认逐项明细的总额后进行。它适用于希望助手处理外卖订单、同时又不放弃对开销控制权的人。
适用场景
- ✓当你想送餐上门,并希望助手找到餐厅并下单的时候。
- ✓当你想再次订购平常的餐食的时候。
- ✓当你想查看订单历史或配送状态的时候。
技能链接
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Order/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我订购我最喜欢的那家店的常点拉面,下单前先把总价给我看。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会在已批准的服务商中搜索,并向你展示完整的逐项总额。只有在你明确同意、且金额在你设定的消费上限之内时才会下单,之后它会跟踪配送并向你发送更新。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Order
Turn a plain request — "order me ramen", "reorder my usual" — into a real order for physical goods and services, through provider integrations that are sanctioned and safe. One skill, one purchase-gate, many providers.
Ideal State
- No money moves without the principal's explicit yes on a fully itemized total, under the per-order ceiling, through a sanctioned provider path, with nothing substituted or absorbed on their behalf.
- Searches, menus, order history and delivery status are answered at once, with no gate.
- After every placed order the principal holds the command that follows it to a terminal state and texts them when it is near and when it lands (
Tools/WatchOrder.ts, run in their own second terminal, since the watcher lives only as long as that terminal). - The provider account stays in good standing: official tooling only, the owner's own orders only, never a scraper.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Setup | "set up ordering", "install dd-cli", "dd-cli login", "re-auth DoorDash", "update dd-cli" | Intents/Setup.md |
| Doordash | "order DoorDash", "get me food", "search restaurants", "reorder my usual" | Intents/Doordash.md (live, official dd-cli) |
| Amazon | "order from Amazon", "buy this on Amazon" | Intents/Amazon.md (stub — sanctioned deep-link path, not yet built) |
| File | Read when |
|---|---|
Safety.md |
the reasoning behind each purchase-gate rule, or deciding whether something needs the gate |
Setup.md |
first-time setup: Config.md fields, the DoorDash account and waitlist, and the commands that prove the install works |
The Purchase Gate (applies to every provider)
Spending money is irreversible and outward-facing, so it stays in the "must ask" column no matter how autonomous the tooling gets; a standing deploy-without-asking authorization does not extend to charges. Before any order that costs money, all four must hold. The reason behind each rule: Safety.md.
- Explicit confirmation before the charge. Show the full itemized cart — every line, subtotal, fees, tip, tax, delivery, grand total — and get a clear yes on that total before invoking checkout. Never chain checkout onto search in one uninterrupted run.
- Per-order USD ceiling. The standing ceiling is the "Per-order ceiling" line in Config.md; with no such line it is $75. An order above it stops and asks even if otherwise confirmed. A raise applies to that one order only. In code,
Tools/SubmitOrder.tsrefuses any request whose stated amount, or the total in the provider's own re-read preview, is above the ceiling (or when the preview carries no readable total), and any submit without the principal's echoed confirmation token. Submit only throughTools/SubmitOrder.ts. A one-order raise has no code path: that order is the principal's to place. - Sanctioned paths only. Official provider tooling (dd-cli) or sanctioned mechanisms (Amazon deep-links). Never the ToS-violating browser-scraper MCPs — they risk a permanent account ban (see Gotchas).
- No silent substitution. Out-of-stock item, price moved, address ambiguous, store closed → surface it and re-confirm. Never swap an item or eat a price change on the principal's behalf.
Examples
Example 1: Search (free, no gate)
User: "What ramen can I get delivered right now?"
→ Doordash intent → dd-cli --json-output search --query "ramen" --address-id <home> --intent "..."
→ Returns nearby stores + menus. No charge, no gate — search is free.
Example 2: Order with the gate
User: "Order me the tonkotsu from that first place"
→ Doordash intent: menu → cart add-items → order preview --beautify
→ I show the preview verbatim + the named card + the delivery address + tip, and stop (Gate #1)
→ Tools/SubmitOrder.ts --issue-confirmation → the principal echoes the token → SubmitOrder.ts --confirmation-token <echo> → the principal runs Tools/WatchOrder.ts in a second terminal; it texts them when the Dasher is nearby and when it lands
Example 3: Blocked by the ceiling
User: "Order the family feast for the party"
→ Cart totals $128 — over the $75 ceiling (Gate #2)
→ I stop, show the total, and say it is above the ceiling, so the principal places this order themselves (or raises the Per-order ceiling line in Config.md)
Gotchas
- Community DoorDash/UberEats/Instacart "MCP" servers are Playwright scrapers that violate ToS. DoorDash r
常见问题
它会在不询问的情况下购买东西吗?
不会。每次购买都需要你对逐项明细总额的同意,且金额需低于消费上限。
它支持 Amazon 吗?
Amazon 的支持已在计划中但尚未开发,因此目前只能使用已批准的服务商。
下单后它会跟踪配送吗?
会。只要它的终端保持打开,监控程序就会在订单临近和送达时给你发短信。
详情
作者的原始描述
Orders real-world goods and services online through approved providers (DoorDash via dd-cli, Amazon planned); every purchase is a must-ask with a spend ceiling. USE WHEN order food, order DoorDash, get me lunch, get dinner delivered, reorder my usual, order online, order takeout, place a food order, DoorDash search, buy this online, order from Amazon. NOT FOR phone bookings, where to eat, business search or reviews (a scraping skill or Google Maps), or taste and gear skills.
repo: danielmiessler/LifeOS
热度
- GitHub 星标
- 20k
- 排名
- #10442
- 许可证
- MIT
- 更新时间
- 2026/10/28
评论
- …