Flight Price Comparison: Check Direct Flight Prices on 5 Platforms at Once

Introduction

When booking domestic flights, the quoted price for the same flight often differs across OTAs. Manually switching between apps like Fliggy, Tuniu, and Tongcheng requires aligning flight numbers, remembering each platform’s links, and leaves you at risk of missing lower fares. If you’re already using a coding assistant or Agent that supports Skills, you can hand over the “departure city / arrival city + departure date” to the Skill and let it concurrently fetch multi-source quotes in the background, then merge and display results by flight number.

Below we introduce the community Skill “Flight Price Compare” (@user_b95ee7e5/china-flight-price-compare, current version 1.0.5) on SkillHub, along with installation steps and usage boundaries.

What This Is

“Flight Price Compare” is a multi-platform price-comparison Skill for domestic nonstop routes, maintained by community publisher user_b95ee7e5. It is categorized under life-service on SkillHub and marked with the source community. The page notes requires_api_key=false, meaning you can use it without applying for an API key (the proxy URL and token are described as being auto-configured by the Skill, not as mandatory environment variables).

The Skill uses the tool flight_compare to accept departure city, arrival city, and departure date (YYYY-MM-DD). It concurrently queries five sources—Fliggy, Tuniu, Tongcheng, Meituan, and RollingGo—matches quotes for the same flight across platforms by flight number, and provides booking redirection links. Cabin coverage spans from economy to first class, as returned by each platform.

Official entries:

  • SkillHub page: https://www.skillhub.cn/skills/user_b95ee7e5/china-flight-price-compare
  • API coordinates: https://api.skillhub.cn/user_b95ee7e5/china-flight-price-compare

Core Capabilities

The following capabilities are based on the Skill’s SKILL.md documentation and can be cross-checked with the bundled docs.

Concurrent Multi-Source Queries and Comparison

  1. Submits nonstop flight queries to five OTAs simultaneously; the documentation notes a single run returns a consolidated result in roughly 15–25 seconds.
  2. Merges quotes for the same flight across platforms by flight number and annotates prices from each platform in the results (e.g., per-platform prices shown side by side).
  3. Supports mapping of 35+ city names to query codes; airline two-letter codes are displayed as Chinese names (e.g., CA/MU/CZ mappings are listed in the docs).
  4. The Tongcheng side merges and de-duplicates data from both DeepTrip and structured API pipelines.
  5. If RollingGo cannot return same-day results, the documentation states it falls back to querying the next day’s flights for reference.
  6. If a platform’s price is unusually low or there’s a significant spread across platforms, it provides verification reminders.

Tool Parameters

When the Agent calls the built-in tool, the fields are as follows:

Parameter Type Description
from_city string Departure city, e.g., “Shanghai”, “Beijing”
to_city string Arrival city, e.g., “Sanya”, “Guangzhou”
date string Departure date in YYYY-MM-DD format

Optional environment variables FLIGHT_COMPARE_PROXY_URL and PROXY_TOKEN are used for the comparison proxy; the documentation notes these are typically auto-configured by the Skill and do not require manual setup.

Explicitly Not Supported

  • Cannot complete payment or issue tickets within the conversation; it only compares prices and provides booking links to the lowest-price platform.
  • Supports nonstop routes only; no connecting itineraries.
  • Does not cover international or routes to/from Hong Kong, Macao, and Taiwan.
  • Does not provide post-flight services such as ticket status or check-in.

Installation and Activation

Option 1: Have the Agent install it per the official guide

The installation prompt provided on the SkillHub page is suitable for Agents that can run terminal commands, such as Cursor or Claude Code:

Please install `@user_b95ee7e5/china-flight-price-compare` according to https://skillhub.cn/install/skillhub.md.

The Agent will follow the SkillHub installation guide to check or install the skillhub CLI, then place the Skill into the current environment’s skills directory.

Option 2: Install via local CLI

First, check whether the CLI is installed:

command -v skillhub && skillhub --version

If not installed, follow the official documentation to complete installation (the recommended one-liner is shown below):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing the Skill, use --dir to point to the current Agent’s skills directory; otherwise the default ./skills/ may not be recognized. Common paths (from the official installation docs) include:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under your project

Run the install command in the corresponding directory:

skillhub install china-flight-price-compare --namespace user_b95ee7e5 --dir ~/.cursor/skills/

Replace ~/.cursor/skills/ with the actual path for your Agent. After installation, refresh or restart your client as instructed to activate the Skill.

Typical Usage

The natural-language examples provided in the Skill’s documentation can be reproduced directly. The core is to supply the three elements: “departure city, arrival city, departure date.” If the user does not provide a date, the Skill requires the Agent to proactively ask—no defaulting to an arbitrary date.

  1. “Help me check flights from Shanghai to Sanya on July 1st.”
  2. “How much are tickets from Beijing to Guangzhou next Friday?” (The Agent must resolve this to a specific YYYY-MM-DD.)
  3. “Cheap flights from Shenzhen to Chengdu on the 15th.”

For further filtering, you can add time slots (morning/afternoon/evening), airline preferences, or a maximum price; the Agent can perform a secondary filtering on the returned list.

The documented data flow is: user input goes through this Skill to a cloud proxy (Tencent Cloud SCF), then is forwarded to each OTA; after parsing, the comparison results are returned. The proxy side states that it does not store user data.

Use Cases and Notes

Who it’s for: Developers or individual users who need quick comparisons of domestic nonstop fares and want to see cross-platform price differences for the same flight at a glance. Useful for business trips, travel planning, and quick price checks before last-minute changes.

Notes:

  • Ticket prices change in real time; the final price should be based on each platform’s booking page.
  • Meituan may return starting prices; whether taxes are included should be confirmed on the page. RollingGo’s full-fare tickets may be marked as “Full Fare” in the results.
  • Occasional timeouts on some platforms may cause a source to be missing; the results will indicate which platforms did not return data at the end.
  • The SkillHub page’s statistics for this Skill (as of data capture) show a rating of 100000 and 2102 downloads. For community Skills, update cadence and SLA may vary—please track the version number yourself (currently 1.0.5).

Conclusion

“Flight Price Compare” encapsulates nonstop queries across five OTAs and the alignment work by flight number into a single Skill. In an Agent, you can trigger it with city names and a YYYY-MM-DD date, making it suitable to replace manual multi-app price comparisons. For installation and coordinates, refer to SkillHub: https://www.skillhub.cn/skills/user_b95ee7e5/china-flight-price-compare .

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye