wish

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Wish Skill

Wish Skill

Overview

概述

Automates Wish operations including product discovery, wishlist management, and order tracking through browser automation. Note: Actual purchases are not automated.
通过浏览器自动化实现Wish操作自动化,包括商品发现、心愿单管理和订单跟踪。注意:不支持实际购买操作。

Quick Install

快速安装

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

Setup

配置

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

First, ensure canifi-env is installed:

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

canifi-env set WISH_EMAIL "your-email@example.com" canifi-env set WISH_PASSWORD "your-password"
undefined
canifi-env set WISH_EMAIL "your-email@example.com" canifi-env set WISH_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

功能

  • Browse and search products
  • Add items to wishlist
  • Track order shipping
  • View product reviews
  • Find flash sales
  • Access order history
  • Check shipping estimates
  • Explore daily deals
  • 浏览和搜索商品
  • 将商品添加至心愿单
  • 跟踪订单物流
  • 查看商品评价
  • 查找限时闪购
  • 访问订单历史
  • 查看物流预估时间
  • 浏览每日特惠

Usage Examples

使用示例

Example 1: Search Products

示例1:搜索商品

User: "Find LED lights on Wish"
Claude: I'll search for LED lights.
- Navigate to wish.com
- Search "LED lights"
- Browse results
- Present interesting options
用户:“在Wish上找LED灯”
Claude:我将搜索LED灯。
- 导航至wish.com
- 搜索“LED灯”
- 浏览搜索结果
- 展示合适的选项

Example 2: Add to Wishlist

示例2:添加至心愿单

User: "Save this item to my Wish wishlist"
Claude: I'll save that item.
- Navigate to product page
- Click save/wishlist button
- Confirm added
用户:“把这个商品保存到我的Wish心愿单”
Claude:我会保存该商品。
- 导航至商品详情页
- 点击保存/心愿单按钮
- 确认已添加

Example 3: Track Order

示例3:跟踪订单

User: "Track my Wish order"
Claude: I'll check your order status.
- Navigate to Order History
- Find recent order
- Check shipping progress
- Report current status
用户:“跟踪我的Wish订单”
Claude:我将查看你的订单状态。
- 导航至订单历史
- 查找最近的订单
- 查看物流进度
- 反馈当前状态

Example 4: Browse Flash Sales

示例4:浏览闪购商品

User: "What's on flash sale on Wish?"
Claude: I'll check flash sales.
- Navigate to flash deals
- Browse time-limited offers
- List notable deals
- Note time remaining
用户:“Wish上有哪些闪购商品?”
Claude:我将查看闪购活动。
- 导航至闪购专区
- 浏览限时优惠
- 列出值得关注的优惠
- 备注剩余时间

Authentication Flow

认证流程

  1. Navigate to wish.com via Playwright MCP
  2. Click Sign In
  3. Enter email from canifi-env
  4. Enter password
  5. Handle CAPTCHA if shown (notify user)
  6. Verify account access
  7. Maintain session cookies
  1. 通过Playwright MCP导航至wish.com
  2. 点击登录按钮
  3. 从canifi-env中获取邮箱并输入
  4. 输入密码
  5. 若出现CAPTCHA则处理(通知用户)
  6. 验证账户访问权限
  7. 维护会话Cookie

Error Handling

错误处理

  • Login Failed: Clear cookies, verify credentials
  • Session Expired: Re-authenticate automatically
  • CAPTCHA Required: Notify user to complete
  • Order Not Found: Check order ID format
  • Tracking Delayed: May take days to update
  • Item Unavailable: Check similar items
  • Wishlist Full: Check list limits
  • Sale Ended: Deal may have expired
  • 登录失败:清除Cookie,验证凭据
  • 会话过期:自动重新认证
  • 需要CAPTCHA:通知用户完成验证
  • 未找到订单:检查订单ID格式
  • 物流更新延迟:可能需要数天时间更新
  • 商品无货:查看类似商品
  • 心愿单已满:检查列表限制
  • 活动已结束:优惠可能已过期

Self-Improvement Instructions

自我改进说明

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

Notes

注意事项

  • Shipping times are long (2-4 weeks typically)
  • Prices don't include shipping until checkout
  • Product quality varies significantly
  • Reviews help gauge quality
  • Wish Express for faster shipping
  • Flash sales time-limited
  • Wish Local for faster delivery
  • 物流时间较长(通常为2-4周)
  • 价格在结账前不包含运费
  • 商品质量差异较大
  • 评价有助于判断商品质量
  • Wish Express可提供更快的物流
  • 闪购活动有时间限制
  • Wish Local可实现更快配送