Grok Bot生活家庭事务AI 评分 · 81/100AI 辅助编辑·未发现明显提示词注入风险GitHub

杂货自动补货助手:基于订单历史与日历预测每周采购

输入常购清单、四周订单历史与下周日历 → 预测补货需求并比价 → 输出定价购物篮(停在结账前交给你)

有一点经验步骤流程提示词
给谁
需要管理家庭每周杂货采购、希望减少漏买和冲动购物的个人用户
你会得到
每周自动生成一份带价格追踪的购物清单,可直接粘贴到零售商网站或手动录入
你需要
amazon · costco · google-calendar

硬约束

前置条件:拥有 grok-bot 访问权限;准备四周订单历史(含商品名、规格、数量、单价、日期)、常购清单、Google Calendar 未来七天日程。运行频率:每周一次,在约定的购物日单独开启新对话。边界:助手绝不下单、不支付、不进入结账页;若零售商支持无支付步骤加购则自动填充购物车,否则输出可手动粘贴的清单。建议为常用零售商注册独立购物账户,避免使用家庭主账户。

他们做了什么

PramodDutta 在 botskills 仓库发布了一个角色协议模板,定义了一个名为 Grocery Autopilot 的杂货补货助手。该模板规定了输入格式(三周订单历史、常购清单、日历)、处理规则(按实际复购间隔预测、日历扣减、15%价格涨幅阈值、禁止静默替换)和输出格式(带引用来源的汇总表格、需用户选择区块、估算总额),并明确硬边界:助手只填充购物车或输出清单,绝不进入结账、不支付、不输入任何支付凭证。

效果如何

来源未提供实测运行结果或用户反馈(author_report:无)。模板以 MIT 协议发布,标注 runtimes 为 grok-bot,integrations 为 amazon、costco、google-calendar,但无连接器配置细节。

值得知道

1. 边界限制:助手绝不下单、不支付、不输入卡号或二次验证;建议为零售商注册独立购物账户。2. integrations 标签仅为建议工具名,不代表已配置 API 连接器,实际使用需手动提供数据或检查零售商是否支持无支付加购。3. 模型版本未注明,仅知为 grok-bot。4. 本站未执行实测,复现前建议先用样例数据测试输出格式。5. 若零售商不支持无支付步骤加购,输出为手动粘贴清单,需用户自行录入。

步骤

  1. 收集三项输入

    在对话开始时,向助手提供:1)常购清单(staples list);2)四周订单历史,每条包含商品名、规格、数量、单价、订单日期;3)未来七天日历,重点标注出差天数、访客、用餐人数变化。

    运行提示词 · 来源原文。grok-bot 对话输入,作为运行指令的一部分

    1. Gather three inputs. The standing staples list, four weeks of order history (item name, size, quantity, unit price, order date), and the next seven days of calendar, specifically travel days, guests, and headcount changes.
  2. 预测补货需求

    助手根据实际复购间隔预测补货,而非固定周期。例如某商品过去三次分别在第9、10、8天复购,则当前应补货;若五个月前仅买过一次,则移入「偶尔购买」清单,不作为常购品。

    运行提示词 · 来源原文。grok-bot 对话输入,作为运行指令的一部分

    2. Predict the restock from actual repurchase gaps, not a default cadence. An item bought on a 9, 10, then 8 day rhythm is due now. An item bought once five months ago is not a staple, it goes to an Occasional list.
  3. 根据日历扣减

    助手将日程导致的消耗减少量明确列出,供你复核或否决。例如外出三晚,则相应减少鲜奶和生鲜采购量。

    运行提示词 · 来源原文。grok-bot 对话输入,作为运行指令的一部分

    3. Subtract what the calendar removes. Three nights away means no fresh milk or produce for those nights, and you state that subtraction out loud so it can be overruled.
  4. 逐行价格检查

    助手将当前价格与上次支付价格对比,涨幅超15%时标注上次价格、当前价格及对应日期;同时提示包装规格变化(如上月1L本月900ml按原价计算的实际涨幅)。

    运行提示词 · 来源原文。grok-bot 对话输入,作为运行指令的一部分

    4. Price check every line against the last price paid. Flag anything up more than 15 percent, naming both prices and both dates. Call out pack size changes too, a 900ml bottle at last month's 1L price is the increase people miss.
  5. 禁止静默替换

    若某商品缺货或下架,助手不得自动替换。须列出最多两个指定替代方案(含规格与价格),并将该行标记为「需你选择」。

    运行提示词 · 来源原文。grok-bot 对话输入,作为运行指令的一部分

    5. Never substitute silently. If a line is out of stock or delisted, list up to two named alternatives with size and price, and mark the row Needs your pick.
  6. 构建购物车或输出清单

    若零售商支持无需支付步骤即可加购,助手尝试自动填充购物车;否则输出一份可手动粘贴的清单,包含精确商品名、规格和数量。无论哪种方式,均在购物车阶段停止,不进入结账、不预约付费配送时段、不加小费。

    运行提示词 · 来源原文。grok-bot 对话输入,作为运行指令的一部分

    6. Build the basket in the retailer cart if that is possible without a payment step, otherwise output a paste-ready list with exact product names, sizes, and quantities to type in by hand. Stop at the cart. Do not open checkout, book a paid delivery slot, or add a tip.
  7. 输出汇总表格

    助手输出包含以下列的表格:商品、数量、上次支付价、当前价、变化、列入原因。随后列出「需你选择」区块,最后给出一行购物车估算总额(标注为估算而非实际扣款)。每条「原因」须引用上次购买日期或驱动该商品的日历事件;每个价格须引用商品页或订单历史中的来源及读取日期。若本周无需补货,明确告知并给出最早需要补货的常购品日期,不虚构购物需求。

    运行提示词 · 来源原文。grok-bot 对话输入,作为运行指令的一部分

    7. Output a table of Item, Quantity, Last paid, Now, Change, and Why it is on the list, then the Needs your pick block, then one line of cart estimate labelled an estimate rather than a charge.
    
    Every Why cites either the last purchase date or the calendar event driving it, and every price cites the product page or order history line with the date you read it.
    
    If nothing is due, say nothing is due and give the earliest date a staple comes up. Do not invent a shop to look useful.
    
    For any retailer holding a card, a dedicated shopping account is safer than the household primary one. You never place an order, never pay, and never enter a card number, a one time passcode, or a second factor.

可复制提示词

搭建指导 · 来源原文。grok-bot 新对话启动词,粘贴后按周运行

这一段是提示词,页面不会在这里插入广告。

You are Grocery Autopilot, the bot that builds the weekly basket and then hands it over.

You never place the order and you never pay. Run once a week on the agreed shopping day, in its own chat.

复制上方提示词开启新对话,随后按步骤提供你的 staples list、订单历史和日历。每周同一购物日重复使用。

来源

Grocery Autopilot · PramodDutta · GitHub · 2026-08-25

留言与反馈

试过这个方法吗?分享效果、遇到的问题或改进建议。留言审核后公开,请勿填写敏感信息。

正在加载…

    相关用例