lyft
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLyft Skill
Lyft Skill
Overview
概述
Enables Claude to interact with Lyft's ride-sharing platform to request rides, manage account settings, view trip history, and utilize Lyft Pink membership benefits through browser automation.
让Claude能够通过浏览器自动化与Lyft的拼车平台进行交互,以请求行程、管理账户设置、查看行程历史记录并使用Lyft Pink会员权益。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/lyft/install.sh | bashOr manually:
bash
cp -r skills/lyft ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/lyft/install.sh | bash或者手动安装:
bash
cp -r skills/lyft ~/.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 LYFT_EMAIL "your-email@example.com"
canifi-env set LYFT_PHONE "+1234567890"
undefinedcanifi-env set LYFT_EMAIL "your-email@example.com"
canifi-env set LYFT_PHONE "+1234567890"
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
功能
- Request rides with specific pickup/dropoff and ride preferences
- Compare ride options (Standard, XL, Lux, Shared)
- View ride history and download receipts
- Check Lyft Pink membership status and benefits
- Manage saved addresses and payment methods
- Schedule rides in advance
- 请求带有特定上下车地点和行程偏好的行程
- 比较行程选项(Standard、XL、Lux、Shared)
- 查看行程历史记录并下载收据
- 查看Lyft Pink会员状态和权益
- 管理已保存的地址和支付方式
- 提前预约行程
Usage Examples
使用示例
Example 1: Book a Lyft
示例1:预订Lyft行程
User: "Book me a Lyft XL to the convention center"
Claude: I'll book a Lyft XL for you.
- Opens Lyft via Playwright MCP
- Sets destination to convention center
- Selects Lyft XL option
- Shows price: $32.50, ETA: 6 minutes
- Confirms booking and provides driver info: Toyota Highlander, License ABC123用户:"帮我预订一辆Lyft XL到会议中心"
Claude:我将为您预订Lyft XL。
- 通过Playwright MCP打开Lyft
- 设置目的地为会议中心
- 选择Lyft XL选项
- 显示价格:32.50美元,预计到达时间:6分钟
- 确认预订并提供司机信息:丰田汉兰达,车牌号ABC123Example 2: Check Lyft Pink Benefits
示例2:查看Lyft Pink权益
User: "What Lyft Pink benefits do I have?"
Claude: I'll check your Lyft Pink membership status.
- Navigates to membership section
- Reports: Lyft Pink All Access active
- Benefits: 15% off all rides, priority pickup, relaxed cancellations
- 3 free Grubhub+ months remaining
- Next billing: $199/year on March 15用户:"我有哪些Lyft Pink权益?"
Claude:我将为您查看Lyft Pink会员状态。
- 导航至会员专区
- 报告:Lyft Pink全通会员已激活
- 权益:所有行程享15%折扣、优先派单、灵活取消政策
- 剩余3个月免费Grubhub+会员
- 下次账单:3月15日,年费199美元Example 3: Schedule a Ride
示例3:预约行程
User: "Schedule a Lyft for tomorrow at 7am from home to the office"
Claude: I'll schedule that ride for you.
- Opens Lyft scheduler
- Sets pickup: Home (saved address)
- Sets destination: Work (saved address)
- Schedules for tomorrow 7:00 AM
- Confirms: Lyft Standard scheduled, estimated $18-22用户:"帮我预约明天早上7点从家到公司的Lyft"
Claude:我将为您预约该行程。
- 打开Lyft预约功能
- 设置上车点:家(已保存地址)
- 设置目的地:公司(已保存地址)
- 预约时间:明天7:00
- 确认:已预约Lyft Standard,预计费用18-22美元Authentication Flow
认证流程
- Navigate to lyft.com via Playwright MCP
- Click "Log in" and enter phone number
- Receive and enter SMS verification code (via iMessage)
- Complete any additional security verification
- Store session for future requests
- 通过Playwright MCP导航至lyft.com
- 点击“登录”并输入电话号码
- 接收并输入短信验证码(通过iMessage)
- 完成任何额外的安全验证
- 保存会话以供后续请求使用
Error Handling
错误处理
- Login Failed: Retry authentication, notify via iMessage if persistent
- No Drivers: Retry in 2 minutes, suggest alternative times
- Payment Declined: Alert user to check payment method
- Session Expired: Re-authenticate silently
- Rate Limited: Implement 30-second backoff
- 2FA Required: Auto-retrieve code from iMessage
- 登录失败:重试认证,如果持续失败则通过iMessage通知用户
- 无可用司机:2分钟后重试,建议替代时间
- 支付失败:提醒用户检查支付方式
- 会话过期:静默重新认证
- 请求受限:实施30秒退避机制
- 需要双因素认证:自动从iMessage获取验证码
Self-Improvement Instructions
自我改进说明
After each interaction:
- Log successful selector patterns for UI elements
- Track fare estimate vs actual price accuracy
- Document new ride types or features
- Note regional availability differences
Suggest updates when:
- Lyft updates their web interface
- New ride categories are added
- Lyft Pink benefits change
- Authentication requirements change
每次交互后:
- 记录UI元素的成功选择器模式
- 跟踪预估费用与实际价格的准确性
- 记录新的行程类型或功能
- 记录区域可用性差异
在以下情况时建议更新:
- Lyft更新其网页界面
- 添加了新的行程类别
- Lyft Pink权益发生变化
- 认证要求发生变化
Notes
注意事项
- Lyft Pink members get priority matching
- Shared rides not available in all markets
- Wait & Save can reduce fares by 10-25%
- Business profiles have separate expense tracking
- Scheduled rides can be modified up to 1 hour before
- Lyft Pink会员可享受优先匹配司机
- Shared行程并非在所有市场都可用
- Wait & Save可节省10-25%的费用
- 商务账户有单独的费用追踪功能
- 已预约的行程可在出发前1小时内修改