instacart
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInstacart Skill
Instacart Skill
Overview
概述
Automates Instacart operations including grocery store browsing, list management, and order tracking through browser automation. Note: Actual orders are not automated for security.
通过浏览器自动化实现Instacart操作自动化,包括浏览杂货店、管理清单和跟踪订单。注意:出于安全考虑,实际下单操作不支持自动化。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/instacart/install.sh | bashOr manually:
bash
cp -r skills/instacart ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/instacart/install.sh | bash或者手动安装:
bash
cp -r skills/instacart ~/.canifi/skills/Setup
配置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
首先,确保已安装canifi-env:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set INSTACART_EMAIL "your-email@example.com"
canifi-env set INSTACART_PASSWORD "your-password"
undefinedcanifi-env set INSTACART_EMAIL "your-email@example.com"
canifi-env set INSTACART_PASSWORD "your-password"
undefinedPrivacy & 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:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭证:
- 使用CDP模式完成浏览器自动化配置
- 在Playwright控制的Chrome窗口中手动登录该服务
- 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
功能
- Browse grocery stores
- Search for products
- Manage shopping lists
- Track active orders
- View order history
- Check Instacart+ benefits
- Compare store prices
- Find deals and coupons
- 浏览杂货店
- 搜索商品
- 管理购物清单
- 跟踪活跃订单
- 查看订单历史
- 查看Instacart+权益
- 对比店铺价格
- 查找优惠和优惠券
Usage Examples
使用示例
Example 1: Browse Store
示例1:浏览店铺
User: "Show me what's at Costco on Instacart"
Claude: I'll browse Costco.
- Navigate to instacart.com
- Select Costco
- Browse departments
- Present available categories用户:“在Instacart上给我看看Costco的商品”
Claude:我将为你浏览Costco。
- 导航至instacart.com
- 选择Costco
- 浏览各分类
- 展示可用品类Example 2: Search Products
示例2:搜索商品
User: "Find organic milk on Instacart"
Claude: I'll search for organic milk.
- Search "organic milk"
- Show results from available stores
- Compare prices
- Present options用户:“在Instacart上找有机牛奶”
Claude:我将为你搜索有机牛奶。
- 搜索“organic milk”
- 展示各可用店铺的搜索结果
- 对比价格
- 提供选项Example 3: Track Order
示例3:跟踪订单
User: "Where is my Instacart order?"
Claude: I'll track your order.
- Navigate to Orders
- Find active order
- Check shopper progress
- Report delivery ETA用户:“我的Instacart订单在哪里?”
Claude:我将为你跟踪订单。
- 导航至订单页面
- 查找活跃订单
- 查看配送员进度
- 报告预计送达时间Example 4: Create List
示例4:创建清单
User: "Add eggs and bread to my Instacart list"
Claude: I'll add those items.
- Navigate to lists
- Add eggs to list
- Add bread to list
- Confirm items added用户:“把鸡蛋和面包加到我的Instacart清单里”
Claude:我将为你添加这些商品。
- 导航至清单页面
- 把鸡蛋加入清单
- 把面包加入清单
- 确认商品已添加Authentication Flow
认证流程
- Navigate to instacart.com via Playwright MCP
- Click Sign In
- Enter email from canifi-env
- Enter password
- Handle 2FA if enabled (notify user via iMessage)
- Verify account access
- Maintain session cookies
- 通过Playwright MCP导航至instacart.com
- 点击登录按钮
- 从canifi-env中获取邮箱并输入
- 输入密码
- 若启用了双重认证则进行处理(通过iMessage通知用户)
- 验证账户访问权限
- 保存会话Cookie
Error Handling
错误处理
- Login Failed: Clear cookies, verify credentials
- Session Expired: Re-authenticate automatically
- 2FA Required: iMessage for verification code
- Store Unavailable: Check delivery address
- Item Out of Stock: Suggest alternatives
- Order Not Found: Check order ID
- Shopper Issue: Check order status
- Address Error: Verify delivery address
- 登录失败:清除Cookie,验证凭证
- 会话过期:自动重新认证
- 需要双重认证:通过iMessage获取验证码
- 店铺不可用:检查配送地址
- 商品缺货:推荐替代商品
- 未找到订单:检查订单ID
- 配送员问题:检查订单状态
- 地址错误:验证配送地址
Self-Improvement Instructions
自我优化说明
When encountering new Instacart features:
- Document new UI elements
- Add support for new stores
- Log successful patterns
- Update for Instacart changes
当遇到Instacart的新功能时:
- 记录新的UI元素
- 添加对新店铺的支持
- 记录成功的操作模式
- 根据Instacart的更新进行适配
Notes
注意事项
- Orders not automated for security
- Instacart+ for free delivery over $35
- Personal shoppers fulfill orders
- Replacements may be suggested
- Same-day delivery available
- Tips are customary
- Price may differ from in-store
- 出于安全考虑,不支持自动下单
- Instacart+会员满35美元可享受免费配送
- 由个人配送员完成订单
- 可能会推荐替代商品
- 支持当日配送
- 通常需要支付小费
- 线上价格可能与店内不同