walmart

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Walmart Skill

Walmart Skill

Overview

概述

Automates Walmart operations including product search, list management, order tracking, and deal discovery through browser automation. Note: Actual purchases are not automated for security.
通过浏览器自动化实现Walmart操作自动化,包括商品搜索、清单管理、订单跟踪和优惠发现。注意:出于安全考虑,实际购买操作不支持自动化。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/walmart/install.sh | bash
Or manually:
bash
cp -r skills/walmart ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/walmart/install.sh | bash
或者手动安装:
bash
cp -r skills/walmart ~/.canifi/skills/

Setup

配置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保已安装canifi-env:

canifi-env set WALMART_EMAIL "your-email@example.com" canifi-env set WALMART_PASSWORD "your-password"
undefined
canifi-env set WALMART_EMAIL "your-email@example.com" canifi-env set WALMART_PASSWORD "your-password"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭证,由你掌控。Canifi LifeOS尊重你的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭证:
  1. 使用CDP模式完成浏览器自动化设置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用你的已认证会话,全程不会获取你的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭证,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭证仅能在你的本地设备访问,绝不会被传输至外部。

Capabilities

功能

  • Search and browse products
  • Add items to lists
  • Track order status
  • Check store availability
  • Compare prices
  • Find deals and rollbacks
  • Manage pickup/delivery preferences
  • View order history
  • 搜索和浏览商品
  • 将商品添加至清单
  • 跟踪订单状态
  • 查看门店库存情况
  • 价格对比
  • 查找优惠和降价商品
  • 管理自提/配送偏好
  • 查看订单历史

Usage Examples

使用示例

Example 1: Search Products

示例1:搜索商品

User: "Find air fryers on Walmart under $80"
Claude: I'll search for air fryers.
- Navigate to walmart.com
- Search "air fryer"
- Apply price filter under $80
- Sort by customer rating
- Present top options
用户:“在Walmart找到80美元以下的空气炸锅”
Claude:我将为你搜索空气炸锅。
- 导航至walmart.com
- 搜索“air fryer”
- 应用80美元以下的价格筛选
- 按用户评分排序
- 展示最优选项

Example 2: Check Store Availability

示例2:查看门店库存

User: "Is this item available at my local Walmart?"
Claude: I'll check store availability.
- Navigate to product page
- Check store pickup option
- View local store inventory
- Report availability status
用户:“这件商品在我当地的Walmart有货吗?”
Claude:我将为你查看门店库存情况。
- 导航至商品页面
- 查看门店自提选项
- 查看本地门店库存
- 反馈库存状态

Example 3: Track Order

示例3:跟踪订单

User: "Where is my Walmart order?"
Claude: I'll check your order status.
- Navigate to Account > Orders
- Find recent order
- Check shipping/pickup status
- Report tracking info
用户:“我的Walmart订单在哪里?”
Claude:我将为你查询订单状态。
- 导航至账户>订单页面
- 查找最近的订单
- 查看配送/自提状态
- 反馈跟踪信息

Example 4: Find Deals

示例4:查找优惠

User: "Show me current Walmart rollback deals on electronics"
Claude: I'll find those deals.
- Navigate to deals section
- Filter by electronics
- Find rollback prices
- Present best savings
用户:“展示Walmart当前电子产品的降价优惠”
Claude:我将为你查找这些优惠。
- 导航至优惠专区
- 筛选电子产品类别
- 查找降价商品
- 展示最划算的优惠

Authentication Flow

认证流程

  1. Navigate to walmart.com via Playwright MCP
  2. Click Sign In
  3. Enter email from canifi-env
  4. Enter password
  5. Handle 2FA if enabled (notify user via iMessage)
  6. Complete CAPTCHA if shown (notify user)
  7. Verify account access
  8. Maintain session cookies
  1. 通过Playwright MCP导航至walmart.com
  2. 点击“登录”
  3. 输入canifi-env中存储的邮箱
  4. 输入密码
  5. 若启用了双因素认证(2FA),则通过iMessage通知用户
  6. 若出现CAPTCHA验证,则通知用户完成验证
  7. 验证账户访问权限
  8. 保留会话Cookie

Error Handling

错误处理

  • Login Failed: Clear cookies, verify credentials
  • Session Expired: Re-authenticate automatically
  • 2FA Required: iMessage for verification code
  • CAPTCHA Required: Notify user to complete
  • Out of Stock: Check other stores or online
  • Price Changed: Note the difference
  • Store Not Found: Verify zip code
  • Order Not Found: Check order number
  • 登录失败:清除Cookie,验证凭证
  • 会话过期:自动重新认证
  • 需要2FA:通过iMessage发送验证码请求
  • 需要CAPTCHA:通知用户完成验证
  • 商品缺货:查看其他门店或线上库存
  • 价格变动:记录价格差异
  • 未找到门店:验证邮政编码
  • 未找到订单:核对订单编号

Self-Improvement Instructions

自我优化说明

When encountering new Walmart features:
  1. Document new UI elements
  2. Add support for new features
  3. Log successful search patterns
  4. Update for Walmart changes
当遇到Walmart的新功能时:
  1. 记录新的UI元素
  2. 添加对新功能的支持
  3. 记录成功的搜索模式
  4. 根据Walmart的更新进行适配

Notes

注意事项

  • Walmart+ membership for extra benefits
  • In-store pickup available
  • Express delivery in some areas
  • Rollback prices are temporary
  • Price match policy available
  • Marketplace sellers included
  • Pharmacy and services separate
  • Walmart+会员可享受额外福利
  • 支持门店自提
  • 部分地区提供极速配送
  • 降价为临时活动
  • 支持价格匹配政策
  • 包含第三方卖家商品
  • 药房及其他服务为独立板块