Setup
On first use, read setup.md to capture activation boundaries, household scope, and store-specific preferences before planning repeat workflows.
When to Use
Use this skill when the user is shopping at Walmart and needs more than generic product advice. It is for weekly grocery runs, household restocks, pickup or delivery coordination, substitution control, order recovery, and pharmacy-adjacent planning with strict safety limits.
Architecture
Memory lives in ~/walmart/. If ~/walmart/ does not exist, run setup.md. See memory-template.md for structure and status fields.
CODEBLOCK0
Quick Reference
Use the smallest relevant file for the current task.
| Topic | File |
|---|
| Setup and activation boundaries | INLINECODE5 |
| Memory and file templates |
memory-template.md |
| Weekly basket building |
basket-workflows.md |
| Automation modes and execution paths |
automation-paths.md |
| Substitution rules by category |
substitutions-playbook.md |
| Missing items, damaged items, and split orders |
order-recovery.md |
| Pharmacy and regulated-item safety |
pharmacy-safety.md |
Requirements
- - For live ordering or account support: access to the user's Walmart site or app session
- For browser automation: a user-approved browser session and, only if the user wants apply mode, a user-provided browser automation runtime such as Playwright
- For repeat planning: permission to keep local notes in INLINECODE12
- For pharmacy-related tasks: explicit user confirmation before any refill or account change workflow
Never ask the user to paste passwords, payment credentials, insurance details, or prescription identifiers into chat.
Automation Scope
Use automation-paths.md before attempting any applied workflow.
- - Official Walmart developer APIs found during research are Marketplace APIs for sellers and solution providers, not a public grocery or pickup API for ordinary consumer accounts.
- For consumer workflows, the reliable automation surface is browser-driven interaction with Walmart's own account flows such as
Purchase History, My Items, checkout, order edit windows, and live-shopping support. - Treat any consumer automation as user-mediated and confirmation-gated. Plan first, then review, then apply. Browser automation tooling is optional, not required for planning-only use.
Core Rules
1. Start with Trip Mode and Deadline
- - Classify the request first: weekly stock-up, urgent top-off, reorder, pickup tonight, delivery tomorrow, or account recovery.
- Confirm the needed-by window before recommending any basket changes because pickup slots, substitutions, and shipping splits depend on timing.
2. Build the Basket by Priority, Not by Aisle
- - Structure every basket into
must-have, replaceable, and nice-to-have. - Put food, baby, pet, and cleaning staples first so the order still works if inventory changes late.
3. Treat Substitutions as a Policy
- - Capture category-specific substitution rules before suggesting alternates.
- Never auto-approve substitutions for allergy-sensitive, baby, pet, pharmacy, or strongly preferred items.
4. Optimize for Value, Waste, and Reliability Together
- - Compare unit value, pack size, spoilage risk, and reorder frequency instead of chasing the lowest sticker price.
- Prefer stable household outcomes over a technically cheaper basket that creates waste or extra trips.
5. Separate Grocery, General Merchandise, and Pharmacy Risk
- - Expect mixed baskets to behave differently across pickup, delivery, shipping, and refill flows.
- Call out when an item is likely to ship separately, require ID, need cold-chain timing, or belong in a pharmacy-only workflow.
6. Never Execute High-Impact Actions Without Explicit Confirmation
- - Require a clear user confirmation before placing orders, changing addresses, accepting substitutions, canceling items, or starting refill workflows.
- If live availability, pricing, or delivery windows may have changed, refresh that state before the final action.
7. Learn Only the Household Rules That Improve Repeat Orders
- - Store only approved local notes in
~/walmart/: store choice, pack size preferences, restock cadence, and substitution boundaries. - Never store payment data, login secrets, insurance information, or detailed medical data.
8. Prefer Stable Walmart Surfaces for Automation
- - For repeat ordering, start from
Account -> Purchase History -> Reorder all or My Items -> Reorder before rebuilding carts manually. - For live delivery issues, use
Chat with Shopper, the order detail view, and documented edit windows before ad hoc browsing.
Common Traps
- - Treating Walmart like generic shopping search -> the user needed a workable household basket, not browsing help.
- Optimizing for discounts only -> cheaper items that break preferences, timing, or substitutions create extra trips and frustration.
- Leaving substitution rules vague -> allergy, baby, pet, and brand-sensitive items fail fast when inventory moves.
- Mixing shipping-only items into an urgent grocery plan without warning -> the order looks complete but arrives in pieces.
- Offering medication or dosage guidance -> pharmacy workflows need operational help, not medical advice.
- Pretending stock, pricing, or slot availability is stable -> Walmart states, substitutions, and pickup windows are live conditions.
Data Storage
Keep local notes only in ~/walmart/:
- - household preferences, preferred store, and order-mode defaults
- repeat staple lists and reorder thresholds
- prior substitution outcomes and order recovery notes
Do not store card numbers, passwords, insurance identifiers, prescription numbers, or anything unrelated to improving repeat ordering.
External Endpoints
| Endpoint | Data Sent | Purpose |
|---|
| https://www.walmart.com | Search terms, cart choices, account-selected order details, and order-management actions the user explicitly approves | Browse products, review carts, manage pickup, delivery, shipping, and order support |
| https://www.walmart.com/pharmacy |
Refill or pharmacy-account metadata the user explicitly chooses to submit | Check pharmacy workflows, pickup status, and refill operations |
| https://developer.walmart.com/us-marketplace | Seller or solution-provider registration metadata and developer documentation activity | Marketplace API setup, docs, scopes, and sandbox guidance for seller-side integrations |
| https://marketplace.walmartapis.com | Marketplace OAuth and seller API payloads | Seller-side items, inventory, orders, pricing, returns, shipping, and reports |
No other data should be sent externally unless the user explicitly connects another service.
Security & Privacy
Data that leaves your machine:
- - only the Walmart requests required for browsing, cart review, order management, or pharmacy workflows that the user explicitly asked for
Data that stays local:
- - household notes and approved workflow preferences in INLINECODE24
- order recovery history and substitution guardrails
This skill does NOT:
- - place or modify real orders without explicit user confirmation
- save payment credentials, passwords, or prescription identifiers in local memory
- provide medication, dosage, or interaction advice
- accept silent substitutions for sensitive categories
- modify its own skill files
Trust
This skill relies on Walmart services for live browsing, ordering, and pharmacy workflows.
Only install and run it if you trust Walmart with the order and account data you choose to use there.
Related Skills
Install with
clawhub install <slug> if user confirms:
- -
shopping - Broader shopping judgment for product research and purchase decisions outside Walmart. - INLINECODE27 - Deeper price timing, manipulation detection, and fair-value analysis.
- INLINECODE28 - Weekly meal planning that can feed directly into Walmart grocery baskets.
- INLINECODE29 - Household coordination, routines, and shared logistics around family needs.
- INLINECODE30 - Repeat replenishment logic for recurring essentials and household services.
Feedback
- - If useful: INLINECODE31
- Stay updated: INLINECODE32
设置
首次使用时,请先阅读 setup.md,以获取激活边界、家庭范围及门店偏好信息,然后再规划重复工作流程。
使用时机
当用户在沃尔玛购物且需要超越一般商品建议的协助时,使用此技能。适用于每周食品采购、家庭补货、自提或配送协调、替代品控制、订单恢复,以及涉及严格安全限制的药房相关规划。
架构
记忆文件存储在 ~/walmart/ 目录下。如果 ~/walmart/ 不存在,请运行 setup.md。有关结构和状态字段,请参阅 memory-template.md。
text
~/walmart/
|-- memory.md # 家庭档案、门店偏好及替代品规则
|-- weekly-cart.md # 当前购物篮,包含必买项与可选项
|-- order-log.md # 历史订单、缺货商品及替代品结果
|-- exceptions.md # 过敏、药房、年龄限制及禁止替代规则
-- archive/ # 历史购物篮及已解决的配送问题
快速参考
针对当前任务,使用最小相关文件。
| 主题 | 文件 |
|---|
| 设置与激活边界 | setup.md |
| 记忆与文件模板 |
memory-template.md |
| 每周购物篮构建 | basket-workflows.md |
| 自动化模式与执行路径 | automation-paths.md |
| 按类别划分的替代品规则 | substitutions-playbook.md |
| 缺货商品、损坏商品及拆分订单 | order-recovery.md |
| 药房及受管制商品安全 | pharmacy-safety.md |
要求
- - 实时下单或账户支持:需访问用户的沃尔玛网站或应用会话
- 浏览器自动化:需用户批准的浏览器会话,且仅当用户希望使用应用模式时,需用户提供浏览器自动化运行环境(如 Playwright)
- 重复规划:允许在 ~/walmart/ 中保存本地笔记
- 药房相关任务:在执行任何补药或账户变更工作流程前,需获得用户的明确确认
切勿要求用户将密码、支付凭证、保险信息或处方标识符粘贴到聊天中。
自动化范围
在尝试任何应用工作流程前,请先使用 automation-paths.md。
- - 研究过程中发现的官方沃尔玛开发者 API 是面向卖家和解决方案提供商的 Marketplace API,并非面向普通消费者账户的公共食品或自提 API。
- 对于消费者工作流程,可靠的自动化界面是通过浏览器驱动与沃尔玛自身账户流程(如“购买历史”、“我的商品”、结账、订单编辑窗口及实时购物支持)进行交互。
- 将任何消费者自动化视为用户中介且需确认把关。先规划,再审查,然后应用。浏览器自动化工具是可选的,仅用于规划时无需使用。
核心规则
1. 从购物行程模式与截止时间开始
- - 首先对请求进行分类:每周补货、紧急补充、重新下单、今晚自提、明天配送或账户恢复。
- 在推荐任何购物篮更改前,先确认所需时间窗口,因为自提时段、替代品及配送拆分均取决于时间安排。
2. 按优先级构建购物篮,而非按货架顺序
- - 将每个购物篮划分为“必买项”、“可替代项”和“锦上添花项”。
- 优先放入食品、婴儿用品、宠物用品及清洁用品,以便在库存后期发生变化时订单仍能正常运作。
3. 将替代品视为一项政策
- - 在建议替代品前,先捕获特定类别的替代规则。
- 切勿自动批准对过敏敏感、婴儿、宠物、药房或强烈偏好商品的替代。
4. 同时优化价值、浪费与可靠性
- - 比较单位价值、包装尺寸、变质风险及补货频率,而非追求最低标价。
- 优先选择稳定的家庭结果,而非技术上更便宜但会造成浪费或额外行程的购物篮。
5. 区分食品杂货、一般商品与药房风险
- - 预期混合购物篮在自提、配送、快递及补药流程中的表现会有所不同。
- 当某商品可能单独配送、需要身份验证、需要冷链时效或属于药房专用工作流程时,应明确指出。
6. 未经明确确认,切勿执行高影响操作
- - 在下单、更改地址、接受替代品、取消商品或启动补药工作流程前,需获得用户的明确确认。
- 如果实时库存、定价或配送窗口可能已发生变化,请在最终操作前刷新该状态。
7. 仅学习能改善重复订单的家庭规则
- - 仅将已批准的本地笔记存储在 ~/walmart/ 中:门店选择、包装尺寸偏好、补货节奏及替代边界。
- 切勿存储支付数据、登录密码、保险信息或详细的医疗数据。
8. 优先使用稳定的沃尔玛界面进行自动化
- - 对于重复下单,在手动重建购物篮前,先从“账户 -> 购买历史 -> 全部重新下单”或“我的商品 -> 重新下单”开始。
- 对于实时配送问题,在临时浏览前,先使用“与购物员聊天”、订单详情视图及已记录的编辑窗口。
常见陷阱
- - 将沃尔玛视为通用购物搜索 -> 用户需要的是可用的家庭购物篮,而非浏览帮助。
- 仅优化折扣 -> 更便宜的商品若打破偏好、时间安排或替代规则,会造成额外行程和挫败感。
- 替代规则含糊不清 -> 当库存变动时,过敏、婴儿、宠物及品牌敏感商品会迅速失效。
- 将仅限快递的商品混入紧急食品计划而不加警告 -> 订单看似完整,但会分批到达。
- 提供药物或剂量指导 -> 药房工作流程需要操作协助,而非医疗建议。
- 假设库存、定价或时段可用性稳定 -> 沃尔玛的状态、替代品及自提窗口均为实时条件。
数据存储
仅将本地笔记保存在 ~/walmart/ 中:
- - 家庭偏好、首选门店及订单模式默认设置
- 重复采购清单及补货阈值
- 历史替代品结果及订单恢复记录
请勿存储卡号、密码、保险标识符、处方号码或任何与改善重复下单无关的信息。
外部端点
| 端点 | 发送的数据 | 目的 |
|---|
| https://www.walmart.com | 搜索词、购物篮选择、用户选定的账户订单详情及用户明确批准的订单管理操作 | 浏览商品、查看购物篮、管理自提、配送、快递及订单支持 |
| https://www.walmart.com/pharmacy |
用户明确选择提交的补药或药房账户元数据 | 检查药房工作流程、自提状态及补药操作 |
| https://developer.walmart.com/us-marketplace | 卖家或解决方案提供商注册元数据及开发者文档活动 | Marketplace API 设置、文档、范围及面向卖家集成的沙盒指南 |
| https://marketplace.walmartapis.com | Marketplace OAuth 及卖家 API 负载 | 卖家侧商品、库存、订单、定价、退货、配送及报告 |
除非用户明确连接其他服务,否则不应向外部发送其他数据。
安全与隐私
离开您设备的数据:
- - 仅限用户明确要求的、沃尔玛浏览、购物篮查看、订单管理或药房工作流程所需的请求
保留在本地设备的数据:
- - ~/walmart/ 中的家庭笔记及已批准的工作流程偏好
- 订单恢复历史及替代品防护规则
此技能不会:
- - 未经用户明确确认即下达或修改真实订单
- 在本地记忆中保存支付凭证、密码或处方标识符
- 提供药物、剂量或相互作用建议
- 对敏感类别接受静默替代
- 修改自身的技能文件
信任
此技能依赖沃尔玛服务进行实时浏览、下单及药房工作流程。
仅当您信任沃尔玛处理您选择在该平台使用的订单和账户数据时,才安装并运行它。
相关技能
如果用户确认,使用 clawhub install 安装:
- - shopping - 更广泛的购物判断,用于沃尔玛以外的产品研究和购买决策。
- price - 更深入的定价时机、操纵检测及公允价值分析。
- meal-planner - 每周膳食计划,可直接输入沃尔玛食品购物篮。
- family - 围绕家庭需求的家庭协调、日常事务及共享后勤。
- subscriptions - 针对重复性必需品和家庭服务的定期补货逻辑。
反馈
- - 如果觉得有用:clawhub star walmart
- 保持更新:clawhub sync