seamless

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Seamless Skill

Seamless 技能

Overview

概述

Automates Seamless operations including restaurant browsing and order tracking through browser automation. Seamless is part of Grubhub. Note: Actual orders are not automated for security.
通过浏览器自动化实现Seamless操作的自动化,包括浏览餐厅和追踪订单。Seamless是Grubhub的旗下平台。注意:出于安全考虑,实际下单操作不会被自动化。

Quick Install

快速安装

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

Setup

配置

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

First, ensure canifi-env is installed:

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

canifi-env set SEAMLESS_EMAIL "your-email@example.com" canifi-env set SEAMLESS_PASSWORD "your-password"
undefined
canifi-env set SEAMLESS_EMAIL "your-email@example.com" canifi-env set SEAMLESS_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
  • Search cuisines and dishes
  • Track active orders
  • View order history
  • Manage favorites
  • Check corporate accounts
  • Find deals
  • Reorder past orders
  • 浏览餐厅
  • 搜索菜系和菜品
  • 追踪进行中的订单
  • 查看订单历史
  • 管理收藏餐厅
  • 查看企业账户
  • 查找优惠活动
  • 重新下单历史订单

Usage Examples

使用示例

Example 1: Browse Restaurants

示例1:浏览餐厅

User: "Find sushi on Seamless"
Claude: I'll find sushi restaurants.
- Navigate to seamless.com
- Search "sushi"
- Filter by available
- Present top options
用户:“在Seamless上找寿司店”
Claude:我会帮你查找寿司店。
- 导航至seamless.com
- 搜索“寿司”
- 筛选营业中的店铺
- 展示优质选项

Example 2: View History

示例2:查看历史订单

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

Example 3: Track Order

示例3:追踪订单

User: "Track my Seamless order"
Claude: I'll track your delivery.
- Navigate to Orders
- Find active order
- Check delivery status
- Report ETA
用户:“追踪我的Seamless订单”
Claude:我会帮你追踪配送进度。
- 导航至订单页面
- 找到进行中的订单
- 检查配送状态
- 报告预计送达时间

Example 4: Reorder

示例4:重新下单

User: "Show me my last order to reorder"
Claude: I'll find that order.
- Navigate to Order History
- Find most recent order
- Display items
- Ready for reorder
用户:“展示我上一次的订单以便重新下单”
Claude:我会帮你找到该订单。
- 导航至订单历史页面
- 找到最近的订单
- 展示订单商品
- 准备好重新下单

Authentication Flow

认证流程

  1. Navigate to seamless.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导航至seamless.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
  • Restaurant Closed: Note hours
  • Order Not Found: Check order ID
  • Corporate Account Issue: Check work account
  • Address Error: Verify delivery address
  • Menu Unavailable: Try refresh
  • 登录失败:清除Cookie,验证凭据
  • 会话过期:自动重新认证
  • 需要2FA:通过iMessage发送验证码请求
  • 餐厅已关闭:标注营业时间
  • 未找到订单:检查订单ID
  • 企业账户问题:检查工作账户状态
  • 地址错误:验证配送地址
  • 菜单不可用:尝试刷新页面

Self-Improvement Instructions

自我改进说明

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

Notes

注意事项

  • Seamless is owned by Grubhub
  • Popular in NYC metro area
  • Corporate accounts common
  • Same backend as Grubhub
  • Grubhub+ applies
  • Orders not automated for security
  • Interface similar to Grubhub
  • Seamless归Grubhub所有
  • 在纽约都会区广受欢迎
  • 企业账户较为常见
  • 与Grubhub使用相同的后端
  • 适用Grubhub+会员权益
  • 出于安全考虑,下单操作不会被自动化
  • 界面与Grubhub类似