# Global Flight Deal

> Find globally low-priced flights from a destination or route request by querying multiple provider adapters such as FlyAI/Fliggy, Amadeus, and Kiwi/Tequila, then ranking normalized fares.

- Skill: `wxin4808-bot/global-flight-deal` (Agent Skill, multi-file: 7 files)
- Install (CLI): `npx skillmds@latest add wxin4808-bot/global-flight-deal`
- Raw SKILL.md: https://api.skillmd.com/api/skills/wxin4808-bot/global-flight-deal/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: wxin4808-bot (https://skillmd.com/u/wxin4808-bot)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/wxin4808-bot/global-flight-deal

---


# Global Flight Deal

Use this skill when the user wants the cheapest flight to a destination, asks for global low-price flights, asks to compare nearby airports, or wants a flight-price search that is not tied to one platform.

## Workflow

1. Identify destination, travel date or date range, trip type, passenger count, cabin class, and acceptable origin airports.
2. If the user only gives a destination, infer likely origin from context when safe; otherwise ask for the origin.
3. Prefer nearby airports when the user allows them. For example, Shanghai can include PVG and SHA; Suzhou can include WUX or nearby Shanghai airports; Changzhou can include CZX.
4. Run the CLI:

```bash
global-flight --origin <origin> --destination <destination> --date-start <YYYY-MM-DD> --date-end <YYYY-MM-DD>
```

5. If the user gives multiple origins, pass `--origin` more than once.
6. Use configured providers. If API keys are missing, report which providers were skipped.
7. Sort by total price and present:
   - cheapest option
   - next best options
   - provider and booking URL when available
   - caveats about taxes, baggage, and live price changes

## Provider Setup

Optional provider credentials:

```powershell
$env:AMADEUS_CLIENT_ID="..."
$env:AMADEUS_CLIENT_SECRET="..."
$env:TEQUILA_API_KEY="..."
```

FlyAI works through a local `flyai` CLI if installed:

```bash
npm install -g @fly-ai/flyai-cli
```

## Good Answers

- Be explicit about date, route, airport, and cabin.
- Say when the result is from only one provider.
- Do not pretend a fare is bookable until the booking link is checked.
- For expensive purchases, recommend checking at least two booking platforms before payment.

## Examples

```bash
global-flight --origin 上海 --origin 苏州 --origin 常州 --destination 香港 --date-start 2026-05-15 --date-end 2026-05-25
```

```bash
global-flight --origin Bangkok --destination Tokyo --date-start 2026-06-01 --date-end 2026-06-10 --provider amadeus --provider kiwi
```

