target
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTarget Skill
Target Skill
Overview
概述
Automates Target operations including product search, list management, Circle deals, and order tracking through browser automation. Note: Actual purchases are not automated for security.
通过浏览器自动化实现Target操作的自动化,包括商品搜索、清单管理、Circle优惠以及订单跟踪。注意:出于安全考虑,不支持实际购买操作。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/target/install.sh | bashOr manually:
bash
cp -r skills/target ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/target/install.sh | bash或者手动安装:
bash
cp -r skills/target ~/.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 TARGET_EMAIL "your-email@example.com"
canifi-env set TARGET_PASSWORD "your-password"
undefinedcanifi-env set TARGET_EMAIL "your-email@example.com"
canifi-env set TARGET_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
功能
- Search and browse products
- Add items to lists
- Track order status
- Check store availability
- Access Target Circle deals
- View weekly ad
- Manage pickup preferences
- Check RedCard benefits
- 搜索和浏览商品
- 将商品添加至清单
- 跟踪订单状态
- 查看门店库存情况
- 访问Target Circle优惠
- 查看每周广告
- 管理自提偏好
- 查看RedCard福利
Usage Examples
使用示例
Example 1: Search Products
示例1:搜索商品
User: "Find throw blankets at Target"
Claude: I'll search for throw blankets.
- Navigate to target.com
- Search "throw blanket"
- Apply filters if requested
- Sort by rating or price
- Present top options用户:“在Target找毛毯”
Claude:我将为你搜索毛毯。
- 导航至target.com
- 搜索“throw blanket”
- 按需应用筛选条件
- 按评分或价格排序
- 展示热门选项Example 2: Check Circle Deals
示例2:查看Circle优惠
User: "What Target Circle deals are available?"
Claude: I'll check Circle deals.
- Navigate to Circle section
- Browse available offers
- List relevant deals
- Note expiration dates用户:“有哪些Target Circle优惠?”
Claude:我将为你查看Circle优惠。
- 导航至Circle专区
- 浏览可用优惠
- 列出相关优惠
- 标注到期日期Example 3: Check Store Pickup
示例3:查看门店自提
User: "Can I pick this up at my Target today?"
Claude: I'll check availability.
- Navigate to product page
- Check same-day pickup
- View local store inventory
- Report pickup window用户:“我今天能在我的Target门店自提这个商品吗?”
Claude:我将为你查看库存情况。
- 导航至商品页面
- 查看当日自提选项
- 查看本地门店库存
- 反馈自提时间段Example 4: Track Order
示例4:跟踪订单
User: "Track my Target order"
Claude: I'll check your order.
- Navigate to Orders
- Find recent order
- Check delivery/pickup status
- Report tracking info用户:“跟踪我的Target订单”
Claude:我将为你查看订单状态。
- 导航至订单页面
- 查找最近的订单
- 查看配送/自提状态
- 反馈跟踪信息Authentication Flow
认证流程
- Navigate to target.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导航至target.com
- 点击“登录”
- 从canifi-env中读取邮箱并输入
- 输入密码
- 若启用了双因素认证则进行处理(通过iMessage通知用户)
- 验证账户访问权限
- 保留会话Cookie
Error Handling
错误处理
- Login Failed: Clear cookies, verify credentials
- Session Expired: Re-authenticate automatically
- 2FA Required: iMessage for verification code
- Out of Stock: Check other stores
- Circle Expired: Note expired offers
- Store Not Found: Verify zip code
- Order Not Found: Check order number
- Pickup Unavailable: Suggest shipping
- 登录失败:清除Cookie,验证凭证
- 会话过期:自动重新认证
- 需要双因素认证:通过iMessage发送验证码请求
- 库存不足:查看其他门店
- Circle优惠过期:标注已过期的优惠
- 未找到门店:验证邮政编码
- 未找到订单:核对订单编号
- 无法自提:建议配送
Self-Improvement Instructions
自我改进说明
When encountering new Target features:
- Document new UI elements
- Add support for new features
- Log successful patterns
- Update for Target changes
当遇到Target的新功能时:
- 记录新的UI元素
- 添加对新功能的支持
- 记录成功的操作模式
- 根据Target的更新进行适配
Notes
注意事项
- Target Circle is free loyalty program
- RedCard gives 5% discount
- Drive Up for contactless pickup
- Same-day delivery available
- Weekly ad changes Sunday
- Price match within 14 days
- Gift registry available
- Target Circle是免费的会员计划
- RedCard可享受5%折扣
- Drive Up提供无接触自提服务
- 支持当日配送
- 每周广告在周日更新
- 14天内可申请价格匹配
- 提供礼品登记服务