macys

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Macy's Skill

Macy's 技能

Overview

概述

Automates Macy's operations including fashion and home product search, list management, and order tracking through browser automation. Note: Actual purchases are not automated.
通过浏览器自动化实现Macy's操作的自动化,包括服饰和家居商品搜索、清单管理以及订单跟踪。注意:不支持实际购买操作。

Quick Install

快速安装

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

Setup

配置

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

First, ensure canifi-env is installed:

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

canifi-env set MACYS_EMAIL "your-email@example.com" canifi-env set MACYS_PASSWORD "your-password"
undefined
canifi-env set MACYS_EMAIL "your-email@example.com" canifi-env set MACYS_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 fashion and home products
  • Add items to wishlist
  • Track order status
  • Find sale and clearance items
  • Check store availability
  • View Star Rewards
  • Manage shopping lists
  • Browse by department
  • 搜索服饰和家居商品
  • 将商品添加至心愿单
  • 跟踪订单状态
  • 查找促销和清仓商品
  • 查看门店库存情况
  • 查看Star Rewards(星级奖励)
  • 管理购物清单
  • 按品类浏览商品

Usage Examples

使用示例

Example 1: Search Products

示例1:搜索商品

User: "Find men's dress shirts on sale at Macy's"
Claude: I'll search for dress shirts.
- Navigate to macys.com
- Search "men's dress shirts"
- Filter by sale items
- Sort by discount
- Present top options
用户:"在Macy's找促销的男士正装衬衫"
Claude:我将为你搜索正装衬衫。
- 导航至macys.com
- 搜索"men's dress shirts"
- 筛选促销商品
- 按折扣排序
- 展示最优选项

Example 2: Check Clearance

示例2:查看清仓商品

User: "What's in Macy's clearance for women's shoes?"
Claude: I'll browse clearance.
- Navigate to women's shoes
- Filter by clearance
- Browse discounted items
- Present best deals
用户:"Macy's的女鞋清仓区有什么商品?"
Claude:我将为你浏览清仓商品。
- 导航至女鞋专区
- 筛选清仓商品
- 浏览折扣商品
- 展示最划算的商品

Example 3: Track Order

示例3:跟踪订单

User: "Track my Macy's order"
Claude: I'll check your order.
- Navigate to Order Status
- Find recent order
- Check shipping info
- Report delivery estimate
用户:"跟踪我的Macy's订单"
Claude:我将为你查询订单状态。
- 导航至订单状态页面
- 查找最近的订单
- 查看物流信息
- 报告预计送达时间

Example 4: Check Store Pickup

示例4:查看门店自提

User: "Can I pick this up at my local Macy's?"
Claude: I'll check store availability.
- Navigate to product page
- Check store pickup options
- View local store inventory
- Report availability
用户:"我可以在当地的Macy's自提这件商品吗?"
Claude:我将为你查看门店库存情况。
- 导航至商品详情页
- 查看门店自提选项
- 查看本地门店库存
- 报告库存状态

Authentication Flow

认证流程

  1. Navigate to macys.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. Verify account access
  7. Maintain session cookies
  1. 通过Playwright MCP导航至macys.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 other sizes/colors
  • Store Not Found: Verify zip code
  • Order Not Found: Check order number
  • Sale Ended: Price may have changed
  • Rewards Error: Check account status
  • 登录失败:清除Cookie,验证凭证
  • 会话过期:自动重新认证
  • 需要双因素认证:通过iMessage发送验证码请求
  • 商品缺货:查看其他尺码/颜色
  • 未找到门店:验证邮政编码
  • 未找到订单:核对订单编号
  • 促销结束:价格可能已变更
  • 奖励计划错误:检查账户状态

Self-Improvement Instructions

自我改进说明

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

Notes

注意事项

  • Star Rewards loyalty program
  • Macy's Card for extra savings
  • Free shipping thresholds
  • In-store pickup available
  • Price adjustments within 10 days
  • Designer brands available
  • Wedding registry service
  • Star Rewards忠诚度计划
  • Macy's卡可享受额外优惠
  • 免运费门槛
  • 支持门店自提
  • 10天内可申请价格调整
  • 提供设计师品牌商品
  • 提供婚礼登记服务