hellofresh
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHelloFresh Skill
HelloFresh Skill
Overview
概述
Automates HelloFresh operations including meal selection, box management, and delivery tracking through browser automation. Note: Actual orders are not automated for security.
通过浏览器自动化实现HelloFresh操作自动化,包括餐品选择、餐盒管理和配送追踪。注意:出于安全考虑,实际下单操作未实现自动化。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/hellofresh/install.sh | bashOr manually:
bash
cp -r skills/hellofresh ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/hellofresh/install.sh | bash或手动安装:
bash
cp -r skills/hellofresh ~/.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 HELLOFRESH_EMAIL "your-email@example.com"
canifi-env set HELLOFRESH_PASSWORD "your-password"
undefinedcanifi-env set HELLOFRESH_EMAIL "your-email@example.com"
canifi-env set HELLOFRESH_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
功能
- Browse weekly meal options
- View recipe details
- Manage box selections
- Track deliveries
- View order history
- Customize meal plan
- Manage subscription
- Skip or pause weeks
- 浏览每周餐品选项
- 查看食谱详情
- 管理餐盒选择
- 追踪配送状态
- 查看订单历史
- 自定义餐计划
- 管理订阅
- 跳过或暂停配送周
Usage Examples
使用示例
Example 1: Browse Meals
示例1:浏览餐品
User: "What meals are available on HelloFresh this week?"
Claude: I'll check this week's menu.
- Navigate to hellofresh.com
- View weekly menu
- List available recipes
- Present meal options用户:“HelloFresh这周有哪些餐品可选?”
Claude:我来查看本周菜单。
- 导航至hellofresh.com
- 查看每周菜单
- 列出可用食谱
- 展示餐品选项Example 2: View Recipe
示例2:查看食谱
User: "Show me the recipe details for the chicken dish"
Claude: I'll get the recipe.
- Find chicken recipe
- View ingredients
- Show cooking steps
- Present nutritional info用户:“给我看看鸡肉菜品的食谱详情”
Claude:我来获取该食谱。
- 找到鸡肉菜品食谱
- 查看食材列表
- 展示烹饪步骤
- 呈现营养信息Example 3: Track Delivery
示例3:追踪配送
User: "When will my HelloFresh box arrive?"
Claude: I'll check your delivery.
- Navigate to deliveries
- Find upcoming box
- Check tracking status
- Report delivery date用户:“我的HelloFresh餐盒什么时候到?”
Claude:我来查看你的配送信息。
- 导航至配送页面
- 找到待配送餐盒
- 查看追踪状态
- 告知配送日期Example 4: Check Subscription
示例4:查看订阅状态
User: "What's my HelloFresh plan status?"
Claude: I'll check your subscription.
- Navigate to account
- View plan details
- Check meals per week
- Present subscription info用户:“我的HelloFresh计划状态是什么?”
Claude:我来查看你的订阅信息。
- 导航至账户页面
- 查看计划详情
- 查看每周餐品数量
- 呈现订阅信息Authentication Flow
认证流程
- Navigate to hellofresh.com via Playwright MCP
- Click Log In
- Enter email from canifi-env
- Enter password
- Handle 2FA if enabled (notify user via iMessage)
- Verify account access
- Maintain session cookies
- 通过Playwright MCP导航至hellofresh.com
- 点击登录按钮
- 从canifi-env中获取邮箱并输入
- 输入密码
- 若启用双因素认证(2FA),通过iMessage通知用户
- 验证账户访问权限
- 保留会话Cookie
Error Handling
错误处理
- Login Failed: Clear cookies, verify credentials
- Session Expired: Re-authenticate automatically
- 2FA Required: iMessage for verification code
- Selection Deadline Passed: Note cutoff
- Meal Unavailable: Check alternatives
- Delivery Issue: Check address and date
- Subscription Paused: Reactivate if needed
- Order Not Found: Check delivery date
- 登录失败:清除Cookie,验证凭证
- 会话过期:自动重新认证
- 需要2FA:通过iMessage发送验证码请求
- 选择截止日期已过:提示截止时间
- 餐品不可用:查看替代选项
- 配送问题:检查地址和日期
- 订阅已暂停:按需重新激活
- 未找到订单:检查配送日期
Self-Improvement Instructions
自我改进说明
When encountering new HelloFresh features:
- Document new UI elements
- Add support for new meal types
- Log successful patterns
- Update for HelloFresh changes
当遇到HelloFresh的新功能时:
- 记录新的UI元素
- 添加对新餐品类型的支持
- 记录成功的操作模式
- 根据HelloFresh的更新进行适配
Notes
注意事项
- Subscription meal kit service
- Orders not automated for security
- Weekly selection deadline
- Recipe cards included
- Various plan sizes available
- Can skip weeks
- Green Chef is sister brand
- 订阅制餐包服务
- 出于安全考虑,未实现下单自动化
- 每周餐品选择有截止日期
- 包含食谱卡片
- 提供多种计划规格
- 可跳过配送周
- Green Chef是其姊妹品牌