dotanminh/travel-optimization-engine/route-optimization
Claude Code and agent skill by dotanminh/travel-optimization-engine
- community
Checking that the SKILL.md file is still in the repository.
Use when direct flights are expensive and traveler is open to layovers. Triggers on cheaper route, alternative routing, transit hub, is a layover worth it, save money with connection.
Install
npx vskill@latest install dotanminh/travel-optimization-engine/route-optimizationSKILL.md
Route Optimization - Tối Ưu Lộ Trình Qua Điểm Trung Chuyển
Purpose
Most travelers search for direct flights by default. They don't know that routing through a strategic hub can save $200-500 with only 2-3 extra hours. This skill quantifies that trade-off precisely: "Is $350 savings worth 2.5 extra hours?"
Input Required
origin,destination(IATA codes)baseline_priceandbaseline_durationfrom flight-search (direct/fastest option)travel_purposefrom profile (business travelers value time more)risk_tolerancefrom profile
Execution Steps
Step 1: Establish Baseline
The baseline is the direct or fastest route found by flight-search:
Step 2: Identify Strategic Hubs
Based on the origin-destination pair, select top hub candidates:
Decision logic for hub selection:
| O&D Region | Top Hubs to Check | Why | |
|---|---|---|---|
| Vietnam → US West | ICN, NRT, TPE, HKG | Short detour, competitive pricing | |
| Vietnam → US East | DOH, IST, ICN | Middle East hubs or Pacific routing | |
| Vietnam → Europe | IST, DOH, DXB, BKK | Turkish=cheapest, Gulf=quality | |
| Vietnam → Oceania | SIN, KUL, BKK | LCC connections available | |
| Vietnam → Japan | TPE, HKG | Short detour for cheaper fares | |
| Intra-Vietnam | No hubs needed | Direct always optimal |
Step 3: Calculate Each Alternative Route
For each hub route, compute:
Value rating system:
| $/hour saved | Rating | Recommendation | |
|---|---|---|---|
| > $100/hr | ⭐⭐⭐ Excellent | Always worth it | |
| $50-100/hr | ⭐⭐ Good | Worth it for most travelers | |
| $25-50/hr | ⭐ Acceptable | Worth it if flexible | |
| < $25/hr | ❌ Poor | Only for extreme budget |
Step 4: Flag Special Considerations
For each alternative route, check:
- Transit visa required?
- China (PEK/PVG): YES - Transit visa needed for most nationalities
- Japan (NRT/HND): NO - Transit without visa up to 72h
- Korea (ICN): NO - Transit without visa, KTAV required
- Singapore (SIN): NO - Transit up to 96h
- Turkey (IST): NO - Most nationalities okay
- Ground transportation needed?
- Some "hub" routes require train/bus between airports
- Flag with cost estimate (e.g., "Train FRA→city center €4, taxi €35")
- Minimum connection time?
- International-International: min 2h (recommended 3h)
- Different terminal: add 1h buffer
- Immigration required at hub: add 1.5h
- Layover quality?
- IST: Excellent (lounges, transit hotel, long opening hours)
- SIN: Excellent (Jewel, free city tour)
- ICN: Excellent (transit hotel, culture center)
- DOH: Very good (Al Maha lounge, transit hotel)
- BKK: Good but terminal change can be tiring
Step 5: Present Results
Step 6: Ground Transport Flag
If any route involves non-flight segments:
Traveler Type Adjustments
| Profile | Threshold | Recommendation Bias | |
|---|---|---|---|
| Business | > $100/hr | Only recommend ⭐⭐⭐ routes | |
| Leisure | > $50/hr | Recommend ⭐⭐ and above | |
| Budget/Remote | > $25/hr | All rated options | |
| Family w/ kids | > $75/hr | Penalize 2+ stop routes, long layovers |
Limitations
- Hub pricing is estimated in AI-Knowledge mode
- Actual hub connections depend on schedule alignment (checked by flight-search if API active)
- Ground transport costs are approximate and vary by time of day
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/route-optimization/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dotanminh/travel-optimization-engine/route-optimization)