fee-analysis

Parse flight fares and compute true_total with airline fee rules.

38|29|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/dotanminh/travel-optimization-engine --skill fee-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fee-analysis
Source: https://github.com/dotanminh/travel-optimization-engine/tree/main/skills/fee-analysis
Command: npx skills add https://github.com/dotanminh/travel-optimization-engine --skill fee-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Hidden airline fees often obscure the true cost of travel, causing buyers to overpay or miscompare options. Fee-analysis strips out baggage, seat, and surcharge charges to reveal the true total for each option.

Core Features & Use Cases

  • True total calculation: accounts for carry-on and checked baggage, seat selection, change fees, and payment surcharges to show the actual price.
  • Option ranking: re-orders flight options by true_total to surface the best value, not the lowest advertised fare.
  • What-if scenarios: supports loyalty status effects and varying baggage counts to simulate different traveler profiles and needs.

Quick Start

Feed a sample flight results JSON and passenger profile to compute true totals and see re-ranked options.

Frequently Asked Questions about fee-analysis

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

FAQPage Schema
How do I calculate the true total cost of flights with hidden airline fees?

Flight pricing analysis works by parsing base fares and applying airline-fee rules per carrier to account for hidden charges. It computes total costs per passenger by including baggage counts, seat selection, and payment surcharges to reveal the actual price.

How do I re-rank flight options by true cost instead of advertised base fare?

Re-ranking flight options involves computing a true_total that includes baggage charges and surcharges for each itinerary, then ordering the results by this computed metric. This process surfaces the best overall value rather than the lowest advertised base fare.

Can I simulate different traveler profiles to compare airline baggage fees and loyalty waivers?

You can simulate different traveler profiles by adjusting passenger baggage counts and toggling loyalty status flags within the analysis. This what-if scenario modeling applies carrier-specific loyalty waivers to compute accurate total costs for varying traveler needs.

What flight data format is needed to compare multiple carriers and fare rules?

Comparing multiple carriers requires a flight results JSON containing base fares and fare rules, paired with a passenger profile specifying baggage counts and loyalty status. This structured travel data allows the engine to parse options and apply airline-fee rules accurately.

Does fee analysis work for comparing itineraries with different carry-on and checked baggage charges?

Fee analysis is specifically designed for scenarios comparing multiple carriers and fare rules across itineraries. It explicitly accounts for both carry-on and checked baggage charges to ensure accurate cost optimization when evaluating different flight options.