Flight search

From dotanminh/travel-optimization-engine · View interactive version

Flight search is an AI agent skill from the GitHub repository dotanminh/travel-optimization-engine. Use when searching for flights, comparing airlines, or finding virtual interlining combinations across multiple carriers. Triggers on find flights, search routes, compare airlines, best price.

How to use this skill

Skill file

Flight Search - Tìm Route Combination Ẩn

Purpose

Find the best flight options by searching across multiple data sources, including virtual interlining combinations that standard search engines don't show. This is where the biggest savings happen - a combination of two separate tickets from different airlines can be 30-40% cheaper than any single-airline itinerary.

Input Required

From orchestrator:

Execution Steps

Step 1: Determine Search Strategy

Based on route type, choose data sources:

| Route Type | Primary Source | Secondary | Virtual Interlining |

|-----------|---------------|-----------|-------------------|

| Domestic VN | AI Knowledge (VN carriers) | Kiwi Tequila | Low value |

| Intra-Asia | Kiwi Tequila | AI Knowledge | HIGH value |

| Intercontinental | Kiwi Tequila | AI Knowledge | HIGHEST value |

Step 2: AI-Knowledge Search

For each route, generate estimated options using airline knowledge:

Known carrier pricing tiers (estimate ranges):

| Carrier Type | Example | Domestic VN | Asia Short-haul | Intercontinental |

|-------------|---------|------------|----------------|-----------------|

| LCC | VietJet, AirAsia | $30-80 | $50-200 | $300-600 |

| Mid-tier | Bamboo, Scoot | $50-120 | $80-300 | $400-800 |

| Legacy | VN Airlines, SQ | $80-200 | $150-500 | $600-1500 |

| Premium | Emirates, QR | N/A | $200-600 | $800-2500 |

Adjust estimates based on:

Step 3: Virtual Interlining Analysis

This is the KEY differentiator. Identify potential virtual interlining combinations:

Pattern: Route A→B has no cheap direct option, but:

Common virtual interlining opportunities:

| Origin | Destination | Via Hub | Typical Savings |

|--------|------------|---------|----------------|

| HAN | SFO | ICN (Korean Air/Asiana → United/Alaska) | 20-35% |

| SGN | CDG | BKK (VietJet → Thai/AF) | 15-30% |

| HAN | SYD | SIN (VietJet → Scoot/Jetstar) | 25-40% |

| SGN | NRT | TPE (VietJet → Peach/Vanilla) | 20-35% |

Virtual interlining risks to flag:

Step 4: Normalize and Deduplicate Results

For ALL options regardless of source:

  1. Price normalization: Ensure every price includes:
  1. Deduplication: If same flight appears from multiple sources:
  1. Tag each option:

Step 5: Sort and Present

Sort by true_total_price (ascending). Present top 10:

#  Route                    Airlines        Adv.Price  True Total  Tags
1. HAN→ICN→SFO             VJ+UA           $520       $595        [INTERLINING][LCC+LEGACY]
2. HAN→NRT→SFO             VN+UA           $680       $710        [1-STOP][LEGACY]
3. HAN→BKK→SFO             VJ+CX+UA        $490       $620        [2-STOP][INTERLINING]
4. HAN→SFO                 VN              $1,100     $1,100      [DIRECT][LEGACY]
5. HAN→TPE→SFO             VJ+EVA           $550       $630        [INTERLINING][LCC+LEGACY]

Highlight: "Options 1, 3, 5 are virtual interlining - NOT available on Google Flights or standard aggregators."

Step 6: Pass Forward

Send to downstream skills:

API-Enhanced Mode (Kiwi Tequila)

When API is configured, execute:

  1. Read references/api-integration.md for setup
  2. Run ../../scripts/kiwi_client.py with parameters
  3. Merge API results with AI-knowledge estimates
  4. Real prices override estimates for matching routes

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.