greyhound

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Greyhound Skill

Greyhound Skill

Overview

概述

Enables Claude to search and book Greyhound bus tickets, check schedules and routes, manage reservations, and access Road Rewards benefits for affordable intercity travel.
让Claude能够搜索并预订Greyhound巴士车票、查询时刻表与路线、管理预订,以及获取Road Rewards福利,实现经济实惠的城际出行。

Quick Install

快速安装

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

Setup

设置

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

First, ensure canifi-env is installed:

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

canifi-env set GREYHOUND_EMAIL "your-email@example.com"
undefined
canifi-env set GREYHOUND_EMAIL "your-email@example.com"
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

功能特性

  • Search bus routes and schedules
  • Book tickets with Economy or Economy Extra
  • Manage existing reservations and changes
  • Check real-time bus status and delays
  • Access Road Rewards loyalty benefits
  • Find station locations and amenities
  • 搜索巴士路线与时刻表
  • 预订Economy或Economy Extra等级车票
  • 管理现有预订及变更
  • 查询实时巴士状态与延误信息
  • 访问Road Rewards忠诚度福利
  • 查找车站位置与设施

Usage Examples

使用示例

Example 1: Book Bus Tickets

示例1:预订巴士车票

User: "Find a Greyhound from LA to San Diego this weekend"
Claude: I'll search Greyhound for those routes.
- Opens greyhound.com via Playwright MCP
- Enters Los Angeles to San Diego, Saturday
- Shows departures:
  - 7:00am: $19 Economy, 2h 30m
  - 10:00am: $22 Economy, 2h 15m
  - 1:00pm: $24 Economy Extra, 2h 15m
- Economy Extra includes extra legroom, priority boarding
用户:“帮我找这周末从洛杉矶到圣地亚哥的Greyhound巴士”
Claude:我将为你搜索Greyhound的相关路线。
- 通过Playwright MCP打开greyhound.com
- 输入洛杉矶到圣地亚哥,日期为周六
- 显示出发班次:
  - 上午7:00:Economy等级19美元,行程2小时30分钟
  - 上午10:00:Economy等级22美元,行程2小时15分钟
  - 下午1:00:Economy Extra等级24美元,行程2小时15分钟
- Economy Extra包含额外腿部空间、优先登车服务

Example 2: Check Trip Status

示例2:查询行程状态

User: "Is my bus to Phoenix running on time?"
Claude: I'll check your bus status.
- Finds reservation details
- Checks real-time tracking:
  - Bus currently 15 minutes behind schedule
  - Current location: Near Palm Springs
  - Revised arrival: 4:15pm
- Notes: One rest stop remaining
用户:“我去凤凰城的巴士准点吗?”
Claude:我将为你查询巴士状态。
- 查找预订详情
- 查询实时追踪信息:
  - 巴士当前晚点15分钟
  - 当前位置:棕榈泉附近
  - 预计到达时间:下午4:15
- 备注:剩余1个休息站

Example 3: Compare Routes

示例3:路线对比

User: "What's the cheapest way to get from Dallas to Houston?"
Claude: I'll compare Greyhound options.
- Searches DFW to Houston
- Shows price comparison:
  - Direct bus 8am: $25, 4h 30m
  - Direct bus 2pm: $29, 4h 15m
  - 1-stop via Austin: $22, 7h (not recommended)
- Cheapest: Book 2 weeks advance, often $15-18
用户:“从达拉斯到休斯顿最便宜的方式是什么?”
Claude:我将为你对比Greyhound的可选方案。
- 搜索达拉斯到休斯顿的路线
- 显示价格对比:
  - 直达巴士上午8点:25美元,行程4小时30分钟
  - 直达巴士下午2点:29美元,行程4小时15分钟
  - 经奥斯汀中转1次:22美元,行程7小时(不推荐)
- 最便宜方案:提前2周预订,通常价格为15-18美元

Authentication Flow

认证流程

  1. Navigate to greyhound.com via Playwright MCP
  2. Click "Sign In" and enter email
  3. Enter password or use magic link
  4. Handle verification if prompted
  5. Verify Road Rewards status
  6. Maintain session for bookings
  1. 通过Playwright MCP访问greyhound.com
  2. 点击“登录”并输入邮箱
  3. 输入密码或使用魔法链接
  4. 如有提示,完成验证步骤
  5. 验证Road Rewards会员状态
  6. 保持会话以完成预订

Error Handling

错误处理

  • Login Failed: Try magic link option
  • Route Sold Out: Check next departure
  • Station Closed: Find alternative pickup point
  • Session Expired: Re-authenticate automatically
  • Rate Limited: Wait 30 seconds, retry
  • Bus Canceled: Show rebooking options
  • 登录失败:尝试使用魔法链接选项
  • 路线售罄:查询下一班次
  • 车站关闭:寻找替代上车点
  • 会话过期:自动重新认证
  • 请求受限:等待30秒后重试
  • 巴士取消:显示重新预订选项

Self-Improvement Instructions

自我改进说明

After each interaction:
  • Track on-time performance by route
  • Note advance purchase savings
  • Log common route patterns
  • Document UI changes
Suggest updates when:
  • Greyhound updates booking flow
  • Road Rewards program changes
  • New routes or hubs added
  • Pricing tiers change
每次交互后:
  • 按路线记录准点率
  • 记录提前购票优惠
  • 记录常见路线模式
  • 记录UI变更
在以下情况时建议更新:
  • Greyhound更新预订流程
  • Road Rewards计划变更
  • 新增路线或枢纽
  • 定价层级变更

Notes

注意事项

  • Book 2+ weeks ahead for best prices
  • Economy Extra worth it for longer trips
  • WiFi and power outlets on most buses
  • One personal item + one carry-on free
  • Checked baggage has fees
  • Some stations are unstaffed
  • ID required for travel
  • 提前2周以上预订可享最优价格
  • 长途行程选择Economy Extra更划算
  • 大多数巴士配备WiFi和电源插座
  • 可免费携带1件个人物品+1件随身行李
  • 托运行李需付费
  • 部分车站无工作人员值守
  • 出行需携带身份证件