postmates

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Postmates Skill

Postmates Skill

Overview

概述

Automates Postmates operations including merchant browsing and order tracking through Uber Eats integration. Note: Postmates has merged with Uber Eats, so most functionality redirects there. Actual orders are not automated.
自动化Postmates的操作,包括通过Uber Eats集成浏览商家和追踪订单。注意:Postmates已与Uber Eats合并,因此大多数功能会重定向至Uber Eats。实际下单操作不支持自动化。

Quick Install

快速安装

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

Setup

配置

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

First, ensure canifi-env is installed:

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

canifi-env set POSTMATES_EMAIL "your-email@example.com" canifi-env set POSTMATES_PASSWORD "your-password"
undefined
canifi-env set POSTMATES_EMAIL "your-email@example.com" canifi-env set POSTMATES_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 items
  • Track active orders
  • View order history
  • Access via Uber Eats
  • Find delivery options
  • Check merchant hours
  • View past favorites
  • 浏览餐厅和商店
  • 搜索商品
  • 追踪进行中的订单
  • 查看订单历史
  • 通过Uber Eats访问
  • 查找配送选项
  • 查看商家营业时间
  • 查看过往收藏

Usage Examples

使用示例

Example 1: Browse Merchants

示例1:浏览商家

User: "Find stores delivering on Postmates"
Claude: I'll find delivery options.
- Navigate to Uber Eats (Postmates merged)
- Browse available stores
- Check delivery times
- Present options
用户:"查找在Postmates上提供配送的商店"
Claude:我会为你查找配送选项。
- 导航至Uber Eats(Postmates已合并)
- 浏览可用商店
- 查看配送时间
- 展示选项

Example 2: Track Order

示例2:追踪订单

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

Example 3: Search Items

示例3:搜索商品

User: "Find who delivers ice cream nearby"
Claude: I'll search for that.
- Search "ice cream"
- Filter by delivery
- Show available stores
- Present options
用户:"查找附近谁提供冰淇淋配送"
Claude:我会为你搜索相关选项。
- 搜索"冰淇淋"
- 筛选支持配送的商家
- 展示可用商店
- 呈现选项

Example 4: View History

示例4:查看历史订单

User: "Show my past Postmates orders"
Claude: I'll check your history.
- Navigate to order history
- List past orders
- Show merchants and dates
- Present summary
用户:"展示我过往的Postmates订单"
Claude:我会为你查看订单历史。
- 导航至订单历史页面
- 列出过往订单
- 展示商家和订单日期
- 呈现汇总信息

Authentication Flow

认证流程

  1. Navigate to postmates.com (redirects to Uber Eats) via Playwright MCP
  2. Sign in with Uber/Postmates account
  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导航至postmates.com(会重定向到Uber Eats)
  2. 使用Uber/Postmates账户登录
  3. 输入canifi-env中设置的邮箱
  4. 输入密码
  5. 若启用了双因素认证(2FA),则处理验证(通过iMessage通知用户)
  6. 验证账户访问权限
  7. 维持会话Cookie

Error Handling

错误处理

  • Login Failed: Use Uber Eats credentials
  • Session Expired: Re-authenticate automatically
  • 2FA Required: iMessage for verification code
  • Redirect to Uber Eats: Expected behavior
  • Store Closed: Note hours
  • Order Not Found: Check Uber Eats orders
  • Legacy Account: May need migration
  • Address Error: Verify delivery address
  • 登录失败:使用Uber Eats凭证尝试登录
  • 会话过期:自动重新进行认证
  • 需要2FA:通过iMessage发送验证码
  • 重定向至Uber Eats:属于预期行为
  • 商店关闭:提示商家营业时间
  • 未找到订单:检查Uber Eats中的订单
  • 旧版账户:可能需要迁移至Uber账户
  • 地址错误:验证配送地址是否正确

Self-Improvement Instructions

自我改进说明

When encountering Postmates/Uber Eats changes:
  1. Document redirect patterns
  2. Update for Uber Eats integration
  3. Log successful patterns
  4. Note deprecated features
当遇到Postmates/Uber Eats的功能变更时:
  1. 记录重定向模式
  2. 更新适配Uber Eats的集成逻辑
  3. 记录成功的操作模式
  4. 标记已弃用的功能

Notes

注意事项

  • Postmates merged with Uber Eats in 2020
  • Legacy accounts migrated to Uber
  • Use Uber Eats for new orders
  • Fleet remains for merchants
  • Some branding may still appear
  • History accessible via Uber Eats
  • Orders not automated for security
  • Postmates于2020年与Uber Eats合并
  • 旧版Postmates账户已迁移至Uber平台
  • 新订单请使用Uber Eats进行操作
  • 配送团队仍为合作商家提供服务
  • 部分Postmates品牌标识可能仍会显示
  • 订单历史可通过Uber Eats查看
  • 出于安全考虑,实际下单操作不支持自动化