sephora

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Sephora Skill

Sephora 技能

Overview

概述

Automates Sephora operations including beauty product search, favorites management, and order tracking through browser automation. Note: Actual purchases are not automated.
通过浏览器自动化实现丝芙兰操作自动化,包括美妆产品搜索、收藏清单管理和订单跟踪。注意:不支持实际购买操作。

Quick Install

快速安装

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

Setup

配置

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

First, ensure canifi-env is installed:

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

canifi-env set SEPHORA_EMAIL "your-email@example.com" canifi-env set SEPHORA_PASSWORD "your-password"
undefined
canifi-env set SEPHORA_EMAIL "your-email@example.com" canifi-env set SEPHORA_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 beauty and skincare products
  • Add items to loves list
  • Track order status
  • Access Beauty Insider rewards
  • Find value sets
  • Check store availability
  • View product reviews
  • Browse by brand
  • 搜索美妆及护肤产品
  • 将商品添加至收藏清单
  • 跟踪订单状态
  • 访问Beauty Insider会员奖励
  • 查找超值套装
  • 查看门店库存
  • 查看产品评价
  • 按品牌浏览商品

Usage Examples

使用示例

Example 1: Search Products

示例1:搜索产品

User: "Find vitamin C serums at Sephora"
Claude: I'll search for vitamin C serums.
- Navigate to sephora.com
- Search "vitamin C serum"
- Filter by skin concern
- Sort by rating
- Present top options
用户:"在丝芙兰找维生素C精华"
Claude:我将为你搜索维生素C精华。
- 导航至sephora.com
- 搜索"维生素C精华"
- 根据肌肤问题筛选
- 按评分排序
- 展示最优选项

Example 2: Check Rewards

示例2:查看会员奖励

User: "How many Beauty Insider points do I have?"
Claude: I'll check your points.
- Navigate to account
- View Beauty Insider status
- Check points balance
- Report available rewards
用户:"我有多少Beauty Insider积分?"
Claude:我将为你查询积分情况。
- 导航至账户页面
- 查看Beauty Insider会员状态
- 查询积分余额
- 报告可用奖励

Example 3: Find Value Sets

示例3:查找超值套装

User: "Show me Sephora value sets for skincare"
Claude: I'll find value sets.
- Navigate to value sets
- Filter by skincare
- Browse available bundles
- Present savings options
用户:"给我展示丝芙兰的护肤超值套装"
Claude:我将为你查找超值套装。
- 导航至超值套装页面
- 筛选护肤类产品
- 浏览可用套装
- 展示优惠选项

Example 4: Track Order

示例4:跟踪订单

User: "Track my Sephora order"
Claude: I'll check your order.
- Navigate to Orders
- Find recent order
- Check shipping status
- Report delivery info
用户:"跟踪我的丝芙兰订单"
Claude:我将为你查询订单情况。
- 导航至订单页面
- 查找最近的订单
- 查看配送状态
- 报告配送信息

Authentication Flow

认证流程

  1. Navigate to sephora.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导航至sephora.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 store availability
  • Points Error: Verify account status
  • Order Not Found: Check order number
  • Store Not Found: Verify zip code
  • Loves List Full: Check limits
  • 登录失败:清除Cookie,验证凭证
  • 会话过期:自动重新认证
  • 需要2FA:通过iMessage请求验证码
  • 商品缺货:查看门店库存
  • 积分错误:验证账户状态
  • 未找到订单:核对订单编号
  • 未找到门店:验证邮政编码
  • 收藏清单已满:检查清单上限

Self-Improvement Instructions

自我优化说明

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

Notes

注意事项

  • Beauty Insider loyalty program
  • Rouge status for top spenders
  • Free samples with orders
  • Clean at Sephora for clean beauty
  • In-store services available
  • Free returns within 60 days
  • Birthday gifts for members
  • Beauty Insider会员计划
  • Rouge等级面向高消费用户
  • 订单附赠免费小样
  • Clean at Sephora纯净美妆系列
  • 提供到店服务
  • 60天内免费退换
  • 会员可享生日礼