شعار Wheretocredit

Wheretocredit

المجتمع
borski
wheretocredit

Mileage earning rates by airline and booking class via wheretocredit.com. Redeemable and qualifying miles across 50+ programs. Use when deciding where to credit a flight or comparing earning rates.

نظرة عامة

الناشرborski
المستودعtravel-hacking-toolkit
اسم المهارةwheretocredit
النجوم
690
التفريعات
75
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها borski على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Wheretocredit في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/borski/travel-hacking-toolkit/tree/main/plugins/travel-hacking-toolkit/skills/wheretocredit
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/borski/travel-hacking-toolkit.git /tmp/travel-hacking-toolkit
mkdir -p .claude/skills
cp -r /tmp/travel-hacking-toolkit/plugins/travel-hacking-toolkit/skills/wheretocredit .claude/skills/wheretocredit
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Wheretocredit في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Wheretocredit تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Wheretocredit بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Where to Credit

Look up mileage earning rates for any airline and booking class across 50+ frequent flyer programs. Covers both redeemable miles (the ones you spend) and qualifying miles (the ones that count toward elite status).

Source: wheretocredit.com — No API key required. Data is scraped via webfetch.

URL Patterns

All data lives at predictable URLs on wheretocredit.com:

Airline booking class detail (PRIMARY)

https://www.wheretocredit.com/en/{IATA_CODE}/{BOOKING_CLASS}

Returns: cabin type, fare types, redeemable miles table, qualifying miles table.

Example: https://www.wheretocredit.com/en/AY/Z (Finnair class Z)

Airline overview (all classes)

https://www.wheretocredit.com/en/{IATA_CODE}

Returns: list of all booking classes with cabin, fare types, and top earning program for each.

Example: https://www.wheretocredit.com/en/AY (all Finnair classes)

Program overview (all partner airlines)

https://www.wheretocredit.com/en/programs/{PROGRAM_CODE}

Returns: list of all airlines that credit to this program.

Example: https://www.wheretocredit.com/en/programs/AA (AA AAdvantage partners)

Common IATA Codes

CodeAirline
AAAmerican Airlines
ASAlaska Airlines
AFAir France
AYFinnair
BABritish Airways
CXCathay Pacific
DLDelta
EKEmirates
IBIberia
JLJapan Airlines
KLKLM
LHLufthansa
NHANA
QFQantas
QRQatar Airways
SKSAS
SQSingapore Airlines
TKTurkish Airlines
UAUnited Airlines
VSVirgin Atlantic

Common Program Codes

CodeProgram
AAAmerican Airlines AAdvantage
AS2Alaska/Hawaiian Atmos Rewards
AFBFlying Blue (Air France/KLM)
BA2British Airways Club
CXCathay Marco Polo / Asia Miles
DL2Delta SkyMiles
IB2Iberia Plus
JLJapan Airlines Mileage Bank
LHMiles & More
QRQatar Privilege Club
SKSAS EuroBonus
SQSingapore KrisFlyer
UAUnited MileagePlus
VSVirgin Atlantic Flying Club

Reading the Results

Redeemable Miles Table

Shows the percentage of flown distance you earn as spendable miles.

ColumnMeaning
BaseEarning rate with no elite status
Tier 1First elite tier bonus
Tier 2Second elite tier bonus
Tier 3Third elite tier bonus
Tier 4Highest elite tier bonus
MinimumFloor (e.g., "500 Miles" means you earn at least 500 regardless of distance)
RestrictionLimitations (e.g., "Countries Excluded: CU" = no earning on Cuba routes)

Qualifying Miles Table

Shows the percentage of flown distance that counts toward elite status.

Same column structure. Often different rates from redeemable. Some programs earn 0% qualifying on discounted fares even when they earn redeemable miles.

Key distinction: A flight can earn redeemable miles but zero qualifying miles. Always check BOTH tables.

Tier Levels by Program

Programs use different names for their tiers. Map your status to the right tier column:

ProgramBaseTier 1Tier 2Tier 3Tier 4
AA AAdvantageBaseGoldPlatinumPlatinum ProExecutive Platinum
Alaska AtmosBaseMVPMVP GoldMVP Gold 75KMVP Gold 100K
Delta SkyMilesBaseSilverGoldPlatinumDiamond
United MileagePlusBaseSilverGoldPlatinum1K
Flying BlueBaseSilverGoldPlatinumUltimate
BA Executive ClubBaseBronzeSilverGoldGold Guest List

Traveler Profiles

Before using the decision algorithm, define each traveler's profile. You need:

  • Which FF programs they have accounts in
  • Their elite status tier in each program
  • Which program is their "primary" (the one they're actively building status in)

Example profile:

Traveler: Alex
Programs: AA AAdvantage (Platinum, Tier 2), Alaska Atmos (Base), Flying Blue (Silver, Tier 1)
Primary: AA AAdvantage (retaining Platinum status)

Only recommend programs someone has an account in. Don't suggest crediting to Etihad Guest if nobody has one, unless the earning is dramatically better AND the program is useful for future redemptions.

Decision Algorithm

When a flight is booked, run this logic to determine where to credit:

Step 1: Gather inputs

  • Operating airline IATA code (from ticket, NOT ticketing airline)
  • Booking class letter (from ticket or fare details)
  • Route distance in miles (estimate or look up)
  • Which traveler(s) are on the ticket

Step 2: Fetch earning rates

  • Fetch https://www.wheretocredit.com/en/{IATA}/{CLASS}
  • Extract redeemable AND qualifying rates for all of that traveler's programs

Step 3: Calculate actual miles earned

For each reachable program, for each traveler:

raw_miles = route_distance × (base_rate + tier_bonus) / 100
actual_miles = max(raw_miles, minimum_floor)

If a program uses fare-price earning (e.g., "6 Miles/EUR"), calculate based on ticket price instead of distance.

Step 4: Apply decision rules

Rule 1: Short-haul floor advantage. On flights under ~1,500 miles, programs with a 500+ mile minimum floor (like Alaska) can earn MORE than programs offering a percentage of distance. Calculate both and compare. At Base tier, Alaska's 500 floor beats 25% earning on any flight under 2,000 miles. At higher tiers with bonus percentages, the crossover point drops.

Rule 2: Qualifying miles matter for status chasers. If a traveler is actively building or retaining elite status, qualifying miles matter. If a flight earns qualifying miles on their primary program but not on the higher-earning alternative, flag the tradeoff.

Rule 3: Highest redeemable wins (all else equal). If qualifying miles are a wash or irrelevant, credit to whichever program earns the most spendable miles.

Rule 4: Don't split for tiny differences. If two programs are within 50 miles of each other, default to the traveler's primary program for simplicity.

Step 5: Output the recommendation

Format:

✈️ {AIRLINE} {FLIGHT} ({CLASS}) · {ORIGIN}→{DEST} · ~{DISTANCE} mi

{Traveler} → Credit to {PROGRAM}: {MILES} redeemable miles ({QUALIFYING} qualifying)
  Why: {one sentence reason}

Worked example (Finnair AY806, class Z, BGO→ARN, ~770 mi)

Traveler A: AA Platinum (Tier 2), Alaska Base Traveler B: Alaska Base only

✈️ Finnair AY806 (Z) · BGO→ARN · ~770 mi

Traveler A → Credit to AA AAdvantage: ~308 redeemable (770 × 40%), ~193 qualifying (770 × 25%)
  Why: Tier 2 bonus pushes AA past Alaska's 500 floor. Qualifying miles help retain status.

Traveler B → Credit to Alaska Atmos: 500 redeemable (floor), 0 qualifying
  Why: 500 mile floor beats 25% of 770 (= 193). Only program available.

Reference Workflows

"What does class X earn on airline Y?"

  1. Fetch https://www.wheretocredit.com/en/{IATA}/{CLASS}
  2. Read both redeemable and qualifying tables
  3. Note cabin type and fare types listed at the top

"Which airlines credit to program X?"

  1. Fetch https://www.wheretocredit.com/en/programs/{CODE}
  2. Lists all partner airlines with links to their booking class charts

Fare Type Mapping

Booking classes map to fare brands, but every airline names them differently. The wheretocredit page header shows which fare types apply for that airline.

Common patterns (names vary by carrier):

  • Full flex / Refundable = fully flexible, changeable, refundable
  • Standard / Classic = some flexibility, partial refund
  • Basic / Light / Saver = restricted, limited changes
  • Ultra-basic / Superlight = cheapest, most restrictions, often no checked bag

Examples: Finnair uses Superlight/Classic/Flex. SAS uses SAS Go Light/Go/Plus/Business. Norwegian uses LowFare/LowFare+/Flex. United uses Basic Economy/Economy/Economy Flex. Always check the specific airline's fare page for exact names.

The same booking class letter can map to different fare types on different airlines.

Important Notes

  • The calculator page requires JavaScript and won't work via webfetch
  • Data is maintained by Travel-Dealz.com (took over from original WTC team)
  • Some programs earn based on fare price (e.g., Finnair Plus: "6 Miles/EUR") rather than distance percentage
  • Always check the "Restriction" column for country exclusions or other limitations
  • Earning rates change. When in doubt, verify against the airline's own partner earning page

When to Use

Load this skill when:

  • Booking a flight and deciding which FF program to credit it to
  • Comparing earning rates across programs for a specific airline/class
  • Checking if a discounted fare earns qualifying miles
  • Need to know tier bonus rates for elite status holders
  • Any "where to credit" or "how many miles will I earn" question

Do not:

  • Assume the calculator works via webfetch (it needs JS)
  • Confuse redeemable miles with qualifying miles. Always specify which.
  • Forget that operating carrier matters, not ticketing carrier

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Wheretocredit؟

Mileage earning rates by airline and booking class via wheretocredit.com. Redeemable and qualifying miles across 50+ programs. Use when deciding where to credit a flight or comparing earning rates.

لماذا تستخدم Wheretocredit على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Wheretocredit عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Wheretocredit في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/borski/travel-hacking-toolkit/tree/main/plugins/travel-hacking-toolkit/skills/wheretocredit. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Wheretocredit؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Wheretocredit؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Wheretocredit معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Wheretocredit مجانية؟

نعم. نشرها borski على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇