blueapron

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Blue Apron Skill

Blue Apron Skill

Overview

概述

Automates Blue Apron operations including meal selection, wine pairings, and subscription management through browser automation. Note: Actual orders are not automated for security.
通过浏览器自动化实现Blue Apron操作自动化,包括餐品选择、葡萄酒搭配和订阅管理。注意:出于安全考虑,实际下单操作未实现自动化。

Quick Install

快速安装

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

Setup

设置

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

First, ensure canifi-env is installed:

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

canifi-env set BLUEAPRON_EMAIL "your-email@example.com" canifi-env set BLUEAPRON_PASSWORD "your-password"
undefined
canifi-env set BLUEAPRON_EMAIL "your-email@example.com" canifi-env set BLUEAPRON_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 weekly recipes
  • View cooking instructions
  • Select meals for box
  • Track deliveries
  • View order history
  • Manage wine subscription
  • Customize preferences
  • Skip or pause weeks
  • 浏览每周食谱
  • 查看烹饪说明
  • 选择餐品加入餐盒
  • 追踪配送状态
  • 查看订单历史
  • 管理葡萄酒订阅
  • 自定义偏好设置
  • 跳过或暂停配送周

Usage Examples

使用示例

Example 1: Browse Recipes

示例1:浏览食谱

User: "What recipes are on Blue Apron this week?"
Claude: I'll check the menu.
- Navigate to blueapron.com
- View weekly recipes
- List available dishes
- Present cooking times
用户:“Blue Apron这周有什么食谱?”
Claude:我来查看菜单。
- 导航至blueapron.com
- 查看每周食谱
- 列出可用菜品
- 展示烹饪时长

Example 2: View Recipe Details

示例2:查看食谱详情

User: "Show me how to make the salmon dish"
Claude: I'll get the recipe.
- Find salmon recipe
- View ingredients list
- Show step-by-step instructions
- Present cooking tips
用户:“给我看看三文鱼菜品的做法”
Claude:我来获取这份食谱。
- 找到三文鱼食谱
- 查看食材清单
- 展示分步制作说明
- 提供烹饪小贴士

Example 3: Track Delivery

示例3:追踪配送

User: "When is my Blue Apron arriving?"
Claude: I'll check your delivery.
- Navigate to orders
- Find upcoming delivery
- Check shipping status
- Report arrival date
用户:“我的Blue Apron什么时候到?”
Claude:我来查询您的配送状态。
- 导航至订单页面
- 找到即将到来的配送
- 查看物流状态
- 报告送达日期

Example 4: Check Wine Pairing

示例4:查看葡萄酒搭配

User: "What wine pairs with my meals this week?"
Claude: I'll check wine options.
- Navigate to wine section
- View pairing suggestions
- List recommended wines
- Present options
用户:“这周我的餐品搭配什么酒?”
Claude:我来查看葡萄酒选项。
- 导航至葡萄酒专区
- 查看搭配建议
- 列出推荐葡萄酒
- 展示可选方案

Authentication Flow

认证流程

  1. Navigate to blueapron.com via Playwright MCP
  2. Click Log 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导航至blueapron.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
  • Selection Deadline: Note cutoff time
  • Recipe Unavailable: Check alternatives
  • Delivery Issue: Check address
  • Wine Age Verify: May need verification
  • Subscription Paused: Check status
  • 登录失败:清除Cookie,验证凭据
  • 会话过期:自动重新认证
  • 需要2FA:通过iMessage发送验证码请求
  • 选择截止时间:提示截止时间
  • 食谱不可用:查看替代方案
  • 配送问题:检查地址
  • 葡萄酒年龄验证:可能需要验证
  • 订阅已暂停:检查状态

Self-Improvement Instructions

自我改进说明

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

Notes

注意事项

  • Subscription meal kit service
  • Orders not automated for security
  • Wine service requires age verification
  • Chef-designed recipes
  • Weekly selection deadline
  • Can skip or pause
  • Premium ingredients included
  • 订阅制餐包服务
  • 出于安全考虑,下单操作未自动化
  • 葡萄酒服务需要年龄验证
  • 厨师设计的食谱
  • 每周餐品选择有截止时间
  • 可跳过或暂停配送
  • 包含优质食材