ctrip-flight-search

Automate flight searches on Ctrip for prices and schedules.

11|12|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/mofa-org/mofa-skills --skill ctrip-flight-search-mofa-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ctrip-flight-search
Source: https://github.com/mofa-org/mofa-skills/tree/main/_unpublished/ctrip-flight-search
Command: npx skills add https://github.com/mofa-org/mofa-skills --skill ctrip-flight-search-mofa-org

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

该技能通过浏览器自动化,消除手动在携程网站查询航班信息的繁琐,帮助用户快速获取航班价格、时刻和可用选项。

Core Features & Use Cases

  • 支持单程与往返航班查询,输入出发地、目的地、日期等参数,并具备错误恢复能力。
  • 兼容多城市/机场输入,支持中文城市名、机场代码与完整机场名称。
  • 国际航线查询能力,能够识别并处理国际城市及航线,返回结果页。
  • 提供稳定的交互流程,包含键盘提交、下拉选择与页面动态更新的容错处理。

Quick Start

请让 AI 根据出发地、目的地和日期在携程上自动查询符合条件的航班并返回结果。

Frequently Asked Questions about ctrip-flight-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Ctrip flight search to retrieve prices and schedules?

Automating Ctrip flight search requires browser automation to input departure, destination, and date parameters. This skill handles both one-way and round-trip queries, applying error recovery to return available flight prices and schedules.

Can I use city names or airport codes for flight search queries?

Flight search queries accept Chinese city names, airport codes, and full airport names. The automation handles multi-city and international route inputs, dynamically processing dropdown selections to locate the correct target airports.

Does automated flight search support round-trip and international route queries?

Automated flight search supports both round-trip and international route queries. It identifies international cities and routes, applying keyboard submission and dynamic page update handling to retrieve accurate flight results.

How do I handle errors during browser automation for flight search?

Handling errors during browser automation involves built-in error recovery for page dynamic updates and dropdown selections. The flight search process includes fault-tolerant interactions to manage unexpected page behavior during query submission.

What are the limitations of automating Ctrip flight search?

Limitations of automating Ctrip flight search include reliance on browser automation compatibility and the need for precise input handling of dates and airport codes. Complex multi-city date-range inquiries may require additional error recovery processing.