southwest

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Southwest Airlines Skill

西南航空Skill

Overview

概述

Enables Claude to search and book Southwest flights, manage Rapid Rewards account, perform online check-in, track Companion Pass progress, and access Southwest's unique travel features.
让Claude能够搜索并预订西南航空的航班、管理Rapid Rewards账户、办理在线登机手续、追踪Companion Pass进度,以及使用西南航空独特的旅行功能。

Quick Install

快速安装

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

Setup

设置

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

First, ensure canifi-env is installed:

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

canifi-env set SOUTHWEST_EMAIL "your-email@example.com" canifi-env set SOUTHWEST_RAPID_REWARDS "your-rr-number"
undefined
canifi-env set SOUTHWEST_EMAIL "your-email@example.com" canifi-env set SOUTHWEST_RAPID_REWARDS "your-rr-number"
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 and book Southwest flights (not on aggregators)
  • Manage Rapid Rewards points and A-List status
  • Perform online check-in at exactly 24 hours
  • Track Companion Pass qualification progress
  • Change or cancel flights with no fees
  • Access EarlyBird check-in and upgraded boarding
  • 搜索并预订西南航空航班(不通过聚合平台)
  • 管理Rapid Rewards积分及A-List会员等级
  • 精确在航班起飞前24小时办理在线登机
  • 追踪Companion Pass资格获取进度
  • 免费改签或取消航班
  • 使用EarlyBird提前登机服务及升舱服务

Usage Examples

使用示例

Example 1: Book a Wanna Get Away Flight

示例1:预订Wanna Get Away航班

User: "Find cheap Southwest flights from Dallas to Vegas next month"
Claude: I'll search Southwest for the best fares.
- Opens southwest.com via Playwright MCP
- Enters DAL/DFW to LAS, next month dates
- Shows fare calendar with lowest prices:
  - Wed departures: $79 Wanna Get Away
  - Weekend: $149 Wanna Get Away
  - Anytime fare: $289 (fully refundable)
- Recommends: Book Wed-Wed for $158 roundtrip
- Notes: Earns 1,200 Rapid Rewards points
用户:"帮我找下个月从达拉斯到拉斯维加斯的便宜西南航空航班"
Claude:我将为您搜索西南航空的最优票价。
- 通过Playwright MCP打开southwest.com
- 输入出发地DAL/DFW、目的地LAS及下月日期
- 展示带有最低价格的票价日历:
  - 周三出发:Wanna Get Away票价79美元
  - 周末:Wanna Get Away票价149美元
  - 任意时间票价:289美元(可全额退款)
- 推荐:预订周三往返航班,总价158美元
- 备注:可累积1200点Rapid Rewards积分

Example 2: Check-in for Flight

示例2:办理航班登机手续

User: "Check me in for my Southwest flight tomorrow"
Claude: I'll perform your check-in at exactly 24 hours.
- Notes: Flight departs 2:30pm tomorrow
- Schedules check-in for 2:30pm today
- At check-in time:
  - Navigates to check-in page
  - Enters confirmation and name
  - Submits immediately at 24-hour mark
  - Obtains boarding position: A24
- Saves boarding pass to device
用户:"帮我办理明天西南航空航班的登机手续"
Claude:我将在航班起飞前24小时为您精确办理登机。
- 备注:航班将于明天下午2:30起飞
- 计划在今天下午2:30办理登机
- 到点后:
  - 导航至登机手续办理页面
  - 输入确认码及姓名
  - 准点提交登机申请
  - 获取登机顺位:A24
- 将登机牌保存至您的设备

Example 3: Track Companion Pass

示例3:追踪Companion Pass进度

User: "How close am I to Southwest Companion Pass?"
Claude: I'll check your Companion Pass progress.
- Logs into Rapid Rewards account
- Navigates to tier status
- Returns: 87,450 of 135,000 qualifying points
- Or: 72 of 100 qualifying flights
- Current status: A-List Preferred
- Projected: On track for Companion Pass by October
- Tip: Credit card spending also counts
用户:"我距离获得西南航空Companion Pass还有多远?"
Claude:我将为您查询Companion Pass的获取进度。
- 登录Rapid Rewards账户
- 导航至会员等级页面
- 返回结果:已累积87,450点资格积分,目标为135,000点
- 或:已完成72次符合条件的航班,目标为100次
- 当前会员等级:A-List Preferred
- 预计进度:将于10月前获得Companion Pass
- 提示:信用卡消费也可累积资格积分

Authentication Flow

认证流程

  1. Navigate to southwest.com via Playwright MCP
  2. Click "Log in" and enter Rapid Rewards number
  3. Enter password
  4. Handle security questions if prompted
  5. Verify A-List status displayed
  6. Maintain session for bookings and check-in
  1. 通过Playwright MCP导航至southwest.com
  2. 点击“登录”并输入Rapid Rewards会员号
  3. 输入密码
  4. 如有提示,回答安全问题
  5. 验证A-List会员等级是否显示
  6. 保持会话状态以进行预订及登机操作

Error Handling

错误处理

  • Login Failed: Answer security questions, retry
  • Fare Sold Out: Show alternative dates, set alert
  • Check-in Failed: Retry immediately, alert user
  • Session Expired: Re-authenticate for check-in
  • Rate Limited: Wait and retry (critical for check-in)
  • 2FA Required: Complete security verification
  • 登录失败:回答安全问题后重试
  • 票价售罄:展示替代日期并设置提醒
  • 登机办理失败:立即重试并通知用户
  • 会话过期:重新认证以办理登机
  • 速率限制:等待后重试(对登机办理至关重要)
  • 需要双因素认证:完成安全验证

Self-Improvement Instructions

自我优化说明

After each interaction:
  • Track fare patterns by day/time
  • Note check-in timing precision
  • Log Companion Pass earning rates
  • Document UI selector changes
Suggest updates when:
  • Southwest changes booking flow
  • Rapid Rewards program updates
  • Check-in process changes
  • New fare types introduced
每次交互后:
  • 按日期/时间追踪票价规律
  • 记录登机办理的时间精度
  • 记录Companion Pass积分累积速率
  • 记录UI选择器的变更
在以下情况时建议更新:
  • 西南航空更改预订流程
  • Rapid Rewards计划更新
  • 登机办理流程变更
  • 推出新的票价类型

Notes

注意事项

  • Southwest not on Google Flights or Kayak - must search directly
  • No change or cancellation fees (credit for future travel)
  • Wanna Get Away fares are non-refundable but transferable as credit
  • Companion Pass allows free companion on all flights
  • Bags fly free: 2 checked bags included
  • Check-in timing crucial for boarding position
  • EarlyBird costs extra but guarantees early boarding
  • 西南航空未接入Google Flights或Kayak,必须直接搜索
  • 改签或取消航班不收取费用(可获得未来旅行信用额度)
  • Wanna Get Away票价不可退款,但可转换为旅行信用额度转让
  • Companion Pass可免费携带一名同行乘客搭乘所有航班
  • 免费托运行李:可免费托运2件行李
  • 登机办理时间对登机顺位至关重要
  • EarlyBird需额外付费,但可保证提前登机