favor

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Favor Skill

Favor Skill

Overview

概述

Automates Favor operations including restaurant browsing, favorites management, and delivery tracking in Texas markets through browser automation. Note: Actual orders are not automated for security.
通过浏览器自动化实现Favor操作的自动化,包括在德州市场浏览餐厅、管理收藏和跟踪配送状态。注意:出于安全考虑,不支持实际下单操作。

Quick Install

快速安装

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

Setup

配置

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

First, ensure canifi-env is installed:

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

canifi-env set FAVOR_EMAIL "your-email@example.com" canifi-env set FAVOR_PASSWORD "your-password"
undefined
canifi-env set FAVOR_EMAIL "your-email@example.com" canifi-env set FAVOR_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 restaurants and stores
  • Search for food and items
  • Track active deliveries
  • View order history
  • Manage favorites
  • Check delivery areas
  • View Runner location
  • Access reorder options
  • 浏览餐厅和商店
  • 搜索食品和商品
  • 跟踪进行中的配送
  • 查看订单历史
  • 管理收藏
  • 查看配送覆盖区域
  • 查看配送员位置
  • 访问重新下单选项

Usage Examples

使用示例

Example 1: Browse Restaurants

示例1:浏览餐厅

User: "Find BBQ restaurants on Favor"
Claude: I'll find BBQ options.
- Navigate to favordelivery.com
- Search "BBQ"
- Filter by available
- Present options
用户:"在Favor上找烧烤餐厅"
Claude:我会为你查找烧烤选项。
- 导航至favordelivery.com
- 搜索"烧烤"
- 筛选可配送的商家
- 展示选项

Example 2: Track Delivery

示例2:跟踪配送

User: "Track my Favor order"
Claude: I'll track your delivery.
- Navigate to orders
- Find active order
- Check Runner status
- Report ETA
用户:"跟踪我的Favor订单"
Claude:我会为你跟踪配送状态。
- 导航至订单页面
- 找到进行中的订单
- 查看配送员状态
- 报告预计送达时间

Example 3: Browse Stores

示例3:浏览商店

User: "What stores deliver on Favor?"
Claude: I'll find stores.
- Navigate to store section
- List available stores
- Check delivery times
- Present options
用户:"哪些商店支持Favor配送?"
Claude:我会为你查找相关商店。
- 导航至商店板块
- 列出可用商店
- 查看配送时间
- 展示选项

Example 4: View History

示例4:查看历史订单

User: "Show my recent Favor orders"
Claude: I'll check your history.
- Navigate to order history
- List recent orders
- Show restaurants and dates
- Present summary
用户:"显示我最近的Favor订单"
Claude:我会为你查看历史记录。
- 导航至订单历史页面
- 列出最近的订单
- 展示餐厅和日期信息
- 呈现总结内容

Authentication Flow

认证流程

  1. Navigate to favordelivery.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导航至favordelivery.com
  2. 点击登录按钮
  3. 从canifi-env中获取邮箱并输入
  4. 输入密码
  5. 若启用了双因素认证,则通过iMessage通知用户获取验证码
  6. 验证账户访问权限
  7. 保留会话Cookie

Error Handling

错误处理

  • Login Failed: Clear cookies, verify credentials
  • Session Expired: Re-authenticate automatically
  • 2FA Required: iMessage for verification code
  • Area Not Covered: Texas markets only
  • Restaurant Closed: Note hours
  • Order Not Found: Check order ID
  • Runner Unavailable: May be busy period
  • Address Error: Verify delivery address
  • 登录失败:清除Cookie,验证凭证
  • 会话过期:自动重新认证
  • 需要双因素认证:通过iMessage发送验证码请求
  • 未覆盖区域:仅支持德州市场
  • 餐厅已关闭:标注营业时间
  • 未找到订单:核对订单ID
  • 配送员不可用:可能处于高峰时段
  • 地址错误:验证配送地址

Self-Improvement Instructions

自我优化说明

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

Notes

注意事项

  • Owned by H-E-B (Texas grocery)
  • Texas-only service
  • Orders not automated for security
  • Runners are independent
  • "Anything delivered" concept
  • H-E-B grocery integration
  • Local Texas businesses featured
  • 归属于H-E-B(德州连锁超市)
  • 仅在德州提供服务
  • 出于安全考虑不支持自动化下单
  • 配送员为独立从业者
  • 秉持“万物可配送”理念
  • 与H-E-B超市集成
  • 主打德州本地商家