kayak
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseKayak Skill
Kayak Skill
Overview
概述
Enables Claude to search and compare travel prices across hundreds of booking sites, track price changes, set alerts, and find the best deals using Kayak's metasearch platform.
让Claude能够借助Kayak的元搜索平台,在数百个预订网站中搜索并对比旅行价格、追踪价格变化、设置提醒并找到最优优惠。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/kayak/install.sh | bashOr manually:
bash
cp -r skills/kayak ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/kayak/install.sh | bash或手动安装:
bash
cp -r skills/kayak ~/.canifi/skills/Setup
设置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
First, ensure canifi-env is installed:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set KAYAK_EMAIL "your-email@example.com"
undefinedcanifi-env set KAYAK_EMAIL "your-email@example.com"
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
功能特性
- Compare flight prices across all major airlines and OTAs
- Search hotels with price comparison across booking sites
- Find rental car deals from multiple providers
- Set price alerts for specific routes
- Use Explore feature to find cheap destinations
- Access Price Forecast to time purchases optimally
- 对比所有主流航空公司及在线旅行社(OTA)的机票价格
- 搜索酒店并在各预订网站间对比价格
- 查找来自多家供应商的租车优惠
- 为特定航线设置价格提醒
- 使用探索功能寻找低价目的地
- 访问价格预测功能以优化购买时机
Usage Examples
使用示例
Example 1: Compare Flight Prices
示例1:对比机票价格
User: "Find the cheapest flight from Boston to Seattle in February"
Claude: I'll search Kayak for the best prices.
- Opens Kayak via Playwright MCP
- Enters BOS to SEA, flexible February dates
- Compares across 300+ sites
- Returns price calendar showing cheapest days
- Best deal: Feb 11-18, Alaska $198 roundtrip
- Notes: Price Forecast says BUY NOW (likely to increase)用户:“帮我找2月份从波士顿到西雅图的最便宜机票”
Claude:我将在Kayak上搜索最优价格。
- 通过Playwright MCP打开Kayak
- 输入波士顿(BOS)至西雅图(SEA)的航线,选择2月灵活日期
- 在300+网站中进行对比
- 返回显示最便宜日期的价格日历
- 最优优惠:2月11-18日,阿拉斯加航空往返票价198美元
- 提示:价格预测显示“立即购买”(价格可能上涨)Example 2: Set Price Alert
示例2:设置价格提醒
User: "Alert me if LAX to London drops below $500"
Claude: I'll set up a price alert for that route.
- Navigates to price alerts section
- Creates alert: LAX to LHR
- Sets threshold: under $500 roundtrip
- Confirms: Alert active, checking prices daily
- Current best: $612 on British Airways用户:“如果洛杉矶到伦敦的机票价格降到500美元以下,请提醒我”
Claude:我将为该航线设置价格提醒。
- 导航至价格提醒板块
- 创建提醒:洛杉矶(LAX)至伦敦(LHR)
- 设置阈值:往返票价低于500美元
- 确认:提醒已激活,每日检查价格
- 当前最优价格:英国航空612美元Example 3: Explore Destinations
示例3:探索目的地
User: "Where can I fly from Chicago for under $300 in March?"
Claude: I'll explore cheap destinations from Chicago.
- Uses Kayak Explore feature
- Sets budget: $300 roundtrip max
- Filters: March dates
- Shows map with options:
- Denver: $148 roundtrip
- Phoenix: $189 roundtrip
- New Orleans: $234 roundtrip
- Miami: $278 roundtrip用户:“3月份从芝加哥出发,我能飞到哪些地方,往返票价不超过300美元?”
Claude:我将为你探索从芝加哥出发的低价目的地。
- 使用Kayak探索功能
- 设置预算:往返票价最高300美元
- 筛选条件:3月日期
- 显示地图及可选目的地:
- 丹佛:往返148美元
- 凤凰城:往返189美元
- 新奥尔良:往返234美元
- 迈阿密:往返278美元Authentication Flow
认证流程
- Navigate to kayak.com via Playwright MCP
- Click "Log in" and enter email
- Complete password verification
- Handle email confirmation if required
- Sync saved searches and alerts
- Maintain session for tracking
- 通过Playwright MCP导航至kayak.com
- 点击“登录”并输入邮箱
- 完成密码验证
- 如需,处理邮箱确认步骤
- 同步已保存的搜索和提醒
- 维持会话以进行追踪
Error Handling
错误处理
- Login Failed: Try password reset, notify user
- Search Timeout: Retry with fewer filters
- No Results: Expand date range, suggest alternatives
- Session Expired: Re-authenticate automatically
- Rate Limited: Wait 2 minutes (strict anti-bot measures)
- Redirect to Booking: Note partner site for final booking
- 登录失败:尝试重置密码并通知用户
- 搜索超时:减少筛选条件后重试
- 无结果:扩大日期范围,推荐替代方案
- 会话过期:自动重新认证
- 速率限制:等待2分钟(严格的反机器人措施)
- 跳转至预订页面:提示用户最终预订需在合作网站完成
Self-Improvement Instructions
自我优化说明
After each interaction:
- Log price forecast accuracy
- Track best times to book patterns
- Note seasonal pricing trends
- Document UI and selector changes
Suggest updates when:
- Kayak changes search interface
- New comparison features added
- Price Forecast algorithm updates
- Explore feature expands
每次交互后:
- 记录价格预测的准确性
- 追踪最佳预订时机的规律
- 记录季节性定价趋势
- 记录UI及选择器变更
在以下情况时建议更新:
- Kayak更改搜索界面
- 添加新的对比功能
- 价格预测算法更新
- 探索功能扩展
Notes
注意事项
- Kayak is a metasearch - actual booking happens on partner sites
- Price Forecast uses historical data for buy/wait recommendations
- Hacker Fares combine one-way tickets from different airlines
- Flex dates often reveal significant savings
- Private browsing may show different prices
- Some airlines (Southwest) not included in results
- Kayak是元搜索平台——实际预订需在合作网站完成
- 价格预测功能利用历史数据提供“购买/等待”建议
- 黑客票价(Hacker Fares)组合来自不同航空公司的单程机票
- 灵活日期通常能发现大幅优惠
- 隐私浏览模式可能显示不同价格
- 部分航空公司(如西南航空)未纳入搜索结果