bestbuy

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Best Buy Skill

Best Buy 技能

Overview

概述

Automates Best Buy operations including electronics search, product comparison, availability checking, and order tracking through browser automation. Note: Actual purchases are not automated for security.
通过浏览器自动化实现Best Buy操作自动化,包括电子产品搜索、产品对比、库存查询和订单跟踪。注意:出于安全考虑,实际购买操作不支持自动化。

Quick Install

快速安装

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

Setup

配置

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

First, ensure canifi-env is installed:

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

canifi-env set BESTBUY_EMAIL "your-email@example.com" canifi-env set BESTBUY_PASSWORD "your-password"
undefined
canifi-env set BESTBUY_EMAIL "your-email@example.com" canifi-env set BESTBUY_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 electronics and appliances
  • Compare product specifications
  • Check store availability
  • Track order status
  • View open-box deals
  • Access My Best Buy rewards
  • Manage saved items
  • View order history
  • 搜索电子产品和家电
  • 对比产品规格
  • 查询门店库存
  • 跟踪订单状态
  • 查看开箱特惠商品
  • 访问My Best Buy会员奖励
  • 管理已保存商品
  • 查看订单历史

Usage Examples

使用示例

Example 1: Search Products

示例1:搜索产品

User: "Find 4K TVs at Best Buy under $500"
Claude: I'll search for 4K TVs.
- Navigate to bestbuy.com
- Search "4K TV"
- Apply price filter under $500
- Sort by customer reviews
- Present top options
用户:“在Best Buy找到500美元以下的4K电视”
Claude:我将为你搜索4K电视。
- 导航至bestbuy.com
- 搜索“4K TV”
- 应用500美元以下的价格筛选
- 按客户评价排序
- 展示最优选项

Example 2: Compare Products

示例2:对比产品

User: "Compare these two laptops"
Claude: I'll compare the specs.
- Navigate to both product pages
- Gather specifications
- Compare features side-by-side
- Present comparison summary
用户:“对比这两台笔记本电脑”
Claude:我将为你对比规格参数。
- 导航至两个产品页面
- 收集规格信息
- 逐项对比功能
- 呈现对比总结

Example 3: Check Open Box Deals

示例3:查看开箱特惠

User: "Find open box deals on headphones"
Claude: I'll find those deals.
- Navigate to headphones
- Filter by Open Box condition
- List available deals
- Note savings percentage
用户:“找到耳机的开箱特惠”
Claude:我将为你查找这些特惠。
- 导航至耳机分类
- 筛选“开箱”状态的商品
- 列出可用特惠
- 标注优惠百分比

Example 4: Track Order

示例4:跟踪订单

User: "Where is my Best Buy order?"
Claude: I'll check your order.
- Navigate to Order Status
- Find recent order
- Check shipping info
- Report delivery status
用户:“我的Best Buy订单在哪里?”
Claude:我将为你查询订单状态。
- 导航至订单状态页面
- 查找最近订单
- 查看配送信息
- 反馈配送状态

Authentication Flow

认证流程

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

Error Handling

错误处理

  • Login Failed: Clear cookies, verify credentials
  • Session Expired: Re-authenticate automatically
  • 2FA Required: iMessage for verification code
  • Out of Stock: Check nearby stores
  • Open Box Sold: Limited availability
  • Store Not Found: Verify zip code
  • Order Not Found: Check order number
  • Comparison Failed: Check product compatibility
  • 登录失败:清除Cookie,验证凭证
  • 会话过期:自动重新认证
  • 需要2FA:通过iMessage请求验证码
  • 库存不足:查询周边门店库存
  • 开箱商品已售罄:库存有限
  • 未找到门店:验证邮政编码
  • 未找到订单:核对订单编号
  • 对比失败:检查产品兼容性

Self-Improvement Instructions

自我优化说明

When encountering new Best Buy features:
  1. Document new UI elements
  2. Add support for new features
  3. Log successful patterns
  4. Update for Best Buy changes
当遇到Best Buy的新功能时:
  1. 记录新的UI元素
  2. 添加对新功能的支持
  3. 记录成功的操作模式
  4. 根据Best Buy的更新调整功能

Notes

注意事项

  • My Best Buy rewards program
  • Totaltech membership for benefits
  • Open Box has condition ratings
  • Price match available
  • In-store pickup option
  • Geek Squad services available
  • Magnolia for premium audio/video
  • My Best Buy会员奖励计划
  • Totaltech会员可享受专属权益
  • 开箱商品有状态评级
  • 支持价格匹配
  • 支持到店自提
  • 提供Geek Squad服务
  • Magnolia专区提供高端音视频产品