Fee Analysis logo

Fee Analysis

Community
dotanminh
fee-analysis

Use when advertised flight price seems too good, or when comparing LCC vs legacy carrier total costs. Triggers on hidden fees, baggage cost, true price, real cost, checkout surprise.

Overview

Publisherdotanminh
Repositorytravel-optimization-engine
Skill namefee-analysis
Stars
40
Forks
29
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dotanminh on GitHub. Read the source before you install it.

Installation

Install the Fee Analysis AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dotanminh/travel-optimization-engine/tree/master/skills/fee-analysis
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dotanminh/travel-optimization-engine.git /tmp/travel-optimization-engine
mkdir -p .claude/skills
cp -r /tmp/travel-optimization-engine/skills/fee-analysis .claude/skills/fee-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fee Analysis in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fee Analysis on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fee Analysis is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Fee Analysis - Phân Tích và Loại Bỏ Phí Phụ Thu

Purpose

Airlines - especially LCCs - intentionally show low base fares then add fees at checkout. This skill strips away the deception, calculates what you'll actually pay, and re-ranks options by true cost. A $89 Spirit ticket that becomes $275 after fees loses to a $189 Southwest that includes everything.

Input Required

  • flight_options[] from flight-search skill
  • baggage from traveler profile (carry_on | checked_1 | checked_2)
  • loyalty_programs[] from traveler profile
  • preferred_payment (credit card type, if known)

Execution Steps

Step 1: Load Airline Fee Matrix

Read references/airline-fee-matrix.md for comprehensive fee data by airline.

Step 2: Calculate True Total for Each Option

For each flight option, compute:

true_total = base_fare
           + taxes_and_surcharges
           + carry_on_fee          (if LCC and carry_on not included)
           + checked_bag_fee       (× number of bags × number of passengers)
           + seat_selection_fee    (if desired, per passenger)
           + meal_fee              (if not included, long-haul)
           + change_fee_risk       (weighted by probability from flexibility-analysis)
           + payment_surcharge     (credit card fee if applicable)

Step 3: Fee Breakdown Table

Present each option with full fee breakdown:

Fee Breakdown: HAN → SFO, 2 Adults + 1 Child

                    Option A (VietJet)    Option B (VN Airlines)   Option C (Korean Air)
Base Fare           $380 × 3 = $1,140     $620 × 3 = $1,860       $580 × 3 = $1,740
Tax & Surcharge     $95 × 3 = $285        $120 × 3 = $360         $110 × 3 = $330
Carry-on (7kg)      Included              Included                 Included
Checked Bag (23kg)  $45 × 3 = $135        Included                 Included
Seat Selection      $12 × 3 = $36         Free                     $15 × 3 = $45
Meal                Not included          Included                 Included
Payment Fee         $0 (debit)            $0                       $0
─────────────────────────────────────────────────────────────────────────
TRUE TOTAL          $1,596                $2,220                   $2,115
Per Person          $532                  $740                     $705
Rank Change         Was #1 → Still #1    Was #3 → Now #3          Was #2 → Now #2

Step 4: Identify Rank Reversals

Critical insight: When true_total changes the ranking from advertised price:

⚠️ RANK REVERSAL DETECTED:
  Option X was ranked #3 by advertised price ($89)
  After fees, it's actually #5 ($275)
  Option Y was ranked #5 by advertised price ($189)
  After fees, it's actually #2 ($189) - no hidden fees!

Step 5: Fee Avoidance Strategies

For each applicable fee, provide actionable avoidance advice:

Carry-on Fee (LCC):

  • Pack within airline's free personal item dimensions
  • VietJet: 7kg carry-on included; Spirit: personal item only (45×35×20cm)
  • Consider: Is the carry-on fee still cheaper than a legacy carrier total?

Checked Bag Fee:

  • Airline credit card: Many waive first bag (e.g., United Explorer card)
  • Status match: Silver/Gold loyalty = free bags
  • Pre-pay online: Always cheaper than airport counter (20-50% savings)
  • Ship luggage separately: Services like LuggageForward for long trips

Seat Selection Fee:

  • Skip it: Accept random assignment for savings
  • Check in exactly at 24h mark: Best free seats available
  • Back of plane: Often free even when front costs extra

Change/Cancel Fee:

  • Book with credit card that offers trip protection
  • Some airlines (Southwest, JetBlue) offer free changes
  • 24-hour rule: Most US carriers allow free cancellation within 24h of booking

Payment Surcharge:

  • Use debit card (many airlines waive surcharge)
  • Some airlines charge extra for credit card (Ryanair, AirAsia)
  • PayPal sometimes adds processing fees

Step 6: Cabin Bag Size Reference

Include for options with strict carry-on policies:

AirlinePersonal ItemCabin BagWeight Limit
VietJet36×23×56cm7kg total7kg
AirAsia40×30×10cm54×38×23cm (paid)7kg
Spirit45×35×20cm56×46×25cm (paid)None stated
Ryanair40×20×25cm55×40×20cm (paid)10kg
SouthwestNo limit61×41×28cmNone stated
Vietnam Airlines56×36×23cm12kg (economy)12kg

Step 7: Output Summary

ORIGINAL RANKING (by advertised price):
  1. VietJet $380    2. Korean $580    3. VN Airlines $620

TRUE RANKING (all fees included):
  1. VietJet $532    2. Korean $705    3. VN Airlines $740

VERDICT: VietJet remains cheapest even after fees (+$152 in extras).
However, VN Airlines includes lounge access with Business Saver 
that isn't captured in this analysis.

Limitations

  • Fee data is based on published policies - airlines may change without notice
  • Some fees vary by route, booking channel, or time of purchase
  • Loyalty status benefits are estimated - check your specific tier
  • Meal costs for LCCs are not included (varies too widely)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Fee Analysis AI skill do?

Use when advertised flight price seems too good, or when comparing LCC vs legacy carrier total costs. Triggers on hidden fees, baggage cost, true price, real cost, checkout surprise.

Why use Fee Analysis on TypingMind?

Because you install it once and use it with any model. Fee Analysis is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fee Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dotanminh/travel-optimization-engine/tree/master/skills/fee-analysis. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Fee Analysis?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fee Analysis?

As many as you like. As long as a model supports skills, you can use Fee Analysis with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fee Analysis AI skill free?

Yes. It is published on GitHub by dotanminh under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇