
Ctrip Flight Search
Automated Ctrip flight search that handles one-way and round-trip queries with city, airport, and date inputs.
- skills.sh installs
- 243
- GitHub stars
- 121
- last updated
- Aug 21, 2026
What it does
- Covers one-way and round-trip flight searches on ctrip.com, from homepage navigation through to the results page
- Includes a step-by-step browser SOP covering city entry, airport selection, date setting, and
pressEntersubmission with asearch/clickfallback - Handles element-not-visible and stale element reference errors by switching to keyboard input and re-locating elements before each action
- Designed for workflows that need flight prices and schedules pulled from Ctrip, with manual handling for captchas and login prompts
Install
$ npx -y skills add stvlynn/dingtalk-wukong-skills --skill ctrip-flight-search -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
携程查航班技能
功能概述
本技能提供完整的携程航班查询自动化能力,基于实际验证的浏览器操作流程,支持以下功能:
- 单程航班查询: 查询指定日期从出发地到目的地的航班
- 往返航班查询: 查询指定往返日期的航班(已验证支持)
- 多城市支持: 支持中文城市名称和机场代码输入
- 多城市通用性: 已验证支持任意城市组合(如广州→成都、北京→上海等)
- 国际航班查询: 支持国际航线查询(如上海→东京、北京→首尔等)
- 日期范围: 支持YYYY-MM-DD格式的日期输入
- 错误处理: 具备元素不可见、页面变化等异常情况的处理机制
使用场景
当用户需要:
- 查询特定日期的航班信息
- 获取航班价格和时刻表
- 自动化航班查询流程
- 从携程网提取航班数据
- 验证不同城市间的航班查询可行性
核心操作SOP流程
基础查询流程
- 导航到携程首页:
navigate→https://www.ctrip.com - 进入航班查询页面:
backbone→ 定位机票按钮 →click - 输入出发地:
type→ 城市名称 →search→ 选择具体机场 →click - 输入目的地:
search→ 目标城市 →click - 设置日期: 确认日期输入框已正确设置
- 执行查询:
press→Enter(优先方案)或点击搜索按钮
关键操作要点
出发地/目的地输入
- 先使用
type在输入框中输入城市名称(如"北京"、"上海"、"广州"、"成都"等) - 系统会自动显示下拉选择列表
- 使用
search查找具体的机场选项(如"北京(大兴国际机场)(PKX)"、"成都(双流国际机场)(CTU)"等) - 使用
click选择目标机场 - 多城市通用性: 技能已验证支持任意中文城市名称组合,包括一二三线城市
查询执行策略
- 首选方案: 使用
press+Enter提交表单(避免覆盖层阻挡问题,已在多城市场景下验证有效性) - 备选方案: 如果回车键无效,使用
search查找搜索按钮并click
Details
- Repository
- github.com/stvlynn/dingtalk-wukong-skills
- Categories
- Browser Automation & Scraping, Finance & Trading
- First seen
- Jun 3, 2026
More from stvlynn/dingtalk-wukong-skills
All 3Similar to Ctrip Flight Search
More Browser Automation & Scraping
Search Google FlightsMCP serverpunitarani3.5K starsSearch Google Flights for specific flights and cheapest travel dates, with filters.
google-flightsSkillskillhq/flight-search3.1K installsSearch Google Flights for prices, schedules, and cabin comparisons using agent-browser automation.
LetsFG — Flights & HotelsMCP serverletsfg2.3K starsFlight and hotel search plus bookings across hundreds of airlines and hotel rate lookups.
flight-ticket-searchSkillnomadamas/k-skill10.8K installsFree Google Flights lookup that returns conservative fare candidates, booking search links, and cheapest-fare comparisons.
google-hotelsSkillskillhq/hotel-search475 installsSearch Google Hotels for prices, ratings, and availability via browser automation, without leaving Google Hotels.
myrealtrip-searchSkillnomadamas/k-skill10.5K installsOfficial MCP server search for flights, stays, and tours with price checks and booking links.