شعار Compare Hotels

Compare Hotels

المجتمع
borski
compare-hotels

Unified hotel comparison across Chase Edit, Amex FHR/THC, metasearch, and Airbnb. Highlights premium program benefits, stacking opportunities, and benefit-adjusted pricing.

Add to TypingMind

نظرة عامة

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

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

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

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

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

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

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

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

التثبيت

ثبّت مهارة الذكاء الاصطناعي Compare Hotels في 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/compare-hotels
  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/compare-hotels .claude/skills/compare-hotels
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Companion reference skills. Load these for deeper context:

  • hotel-chains — branded property to loyalty program mapping
  • premium-hotels — FHR / THC / Chase Edit credits and stacking strategy
  • points-valuations — CPP floor/ceiling for hotel programs (Hyatt 1.4-1.7cpp, Hilton 0.4cpp floor, etc.)
  • fallback-and-resilience — recovery when a hotel source fails

Compare Hotels

Search every available source for accommodation and present one unified comparison. Combines portal premium programs (Chase Edit, Amex FHR/THC), cash pricing, and Airbnb alternatives into a single view.

This is an orchestration skill. It tells the agent which tools to run and how to combine results. No standalone script.

When to Use

  • "Find me a hotel in Paris for Aug 11-15"
  • "Should I book through Chase or Amex for this hotel?"
  • "Compare hotels vs Airbnb in Oslo"
  • Any accommodation search where the user wants the full picture

Sources

Run these in parallel where possible. Never fail silently.

Portal Premium Programs (Docker required)

SourceSkillSpeedWhat It Finds
Chase Travelchase-travel~45sEdit hotels ($100 credit, breakfast, upgrade), Points Boost, standard hotels
Amex Travelamex-travel~45sFHR ($100+ credit, breakfast, upgrade, late checkout), THC ($100 credit on 2+ nights)

Cash Prices and Metasearch

SourceSkill/ToolSpeedWhat It Finds
SerpAPIserpapi~3sGoogle Hotels cash prices and direct booking links.
Trivagoweb search~5sMetasearch across many OTAs. Use tavily/exa to search trivago.com. Finds the absolute cheapest OTA rate.
LiteAPIweb search~5sHotel API aggregator with negotiated rates. Check liteapi.travel. Can find rates below public OTA pricing.
RapidAPIrapidapi~3sBooking.com inventory and pricing. Optional, use when user asks for Booking.com specifically.

Quality and Ratings

SourceSkill/ToolSpeedWhat It Finds
TripAdvisortripadvisor~2sRatings, rankings, subratings (location/service/cleanliness), reviews, photos, amenities, awards. 5K calls/month.

SerpAPI, Trivago, and LiteAPI are all default. Always search all three. Only add RapidAPI if the user asks for Booking.com specifically. Use TripAdvisor for quality data (ratings, rankings, reviews) to complement pricing from other sources.

Vacation Rentals

SourceSkill/ToolSpeedWhat It Finds
Airbnbairbnb_search MCP tool~5sEntire homes, private rooms, with total pricing
VRBOvrbo skill (Patchright)~20sWhole homes, condos, cabins. Professionally-managed units often not on Airbnb. Headed/Docker — behind Akamai.

Premium Property Databases (local, instant)

SourceData FileWhat It Finds
FHR propertiesdata/fhr-properties.jsonCheck if a hotel is FHR before booking
THC propertiesdata/thc-properties.jsonCheck if a hotel is THC
Chase Edit propertiesdata/chase-edit-properties.jsonCheck if a hotel is in Chase's Edit program

Workflow

Step 1: Search All Sources

PARALLEL GROUP 1 (fast — HTTP/API/MCP calls, no browser, ~3-5s):
  - SerpAPI: Google Hotels cash prices
  - Trivago: metasearch across OTAs (web search)
  - LiteAPI: negotiated hotel rates (web search)
  - Airbnb: vacation rentals in the area (npx MCP — lightweight scrape, not a browser)
  - Local data: check premium-hotels databases for the city

PARALLEL GROUP 2 (slow — headed browser via Patchright/Xvfb in Docker, ~20-45s):
  - VRBO: whole homes / condos / cabins — vrbo skill (~20s, headed/Docker, behind Akamai; run for whole-home comparisons alongside Airbnb)
  - Chase Travel: --hotel --dest "City" --checkin YYYY-MM-DD --checkout YYYY-MM-DD --json
  - Amex Travel: --hotel --dest "City" --checkin YYYY-MM-DD --checkout YYYY-MM-DD --json

For each source, capture:

  • Source name
  • Status: "ok" | "error: {reason}" | "skipped: {reason}"
  • Results count
  • Data

Step 2: Identify Stacking Opportunities

Cross-reference results with data/fhr-properties.json, data/thc-properties.json, and data/chase-edit-properties.json:

For each hotel in results:
  - Is it in FHR? → Tag [FHR]
  - Is it in THC? → Tag [THC]
  - Is it in Chase Edit? → Tag [EDIT]
  - Is it in multiple? → Tag [FHR+EDIT] and note stacking potential

Stacking means: book through one portal, pay with the other card separately. For example, book FHR through Amex (get breakfast + credit + upgrade), then use CSR $300 travel credit on something else at the property.

Step 3: Calculate Points Value

Chase:

  • Chase portal pricing on CSR/CSP is dynamic Points Boost. Each booking quotes a specific points price; effective cpp typically falls in the 1.5-2.0 cpp range on CSR but is not a guaranteed floor on every booking. Pull the actual portal quote.
  • Points Boost offers are dynamic and vary by route/date/inventory.
  • The portal quote IS the actual UR cost. Don't divide by 1.5 — the listed points already reflect the dynamic Boost rate at quote time.

Amex:

  • Hotel portal pricing is variable (NOT always 1 cpp like flights).
  • The points price shown is the actual MR cost. Calculate CPP from cash/points ratio.
  • FHR benefits ($100+ credit, breakfast) offset the rate significantly.

Calculate benefit-adjusted price:

FHR adjusted = total_price - $100 credit - (breakfast_value × nights)
  breakfast_value ≈ $30-50/person × 2 people = $60-100/night
THC adjusted = total_price - $100 credit (2+ night stays only)
Edit adjusted = total_price - $100 credit - (breakfast_value × nights)

Step 4: Present Unified Table

Always use markdown tables. Hotels sorted by benefit-adjusted total price.

Example: Paris, Aug 11-15 (4 nights, 2 guests)
#HotelProgramStarsPer NightTotalPointsBenefitsAdj Total
1SO/ ParisEDIT+BOOST5★$639$2,555127,756 URBreakfast, $100 credit, upgrade~$1,855
2Hotel BalzacEDIT+BOOST5★$614$2,455122,769 URBreakfast, $100 credit, upgrade~$1,755
3Le BristolFHR5★$1,849$8,284n/a$100 credit, breakfast, upgrade, 4pm checkout~$6,884
4Marriott Champs-Élysées—4★$289$1,156——$1,156
5Airbnb: Marais 2BR——$195$780—Kitchen, washing machine$780

Sources checked:

  • ✅ Chase Travel: 21 hotels (15 Edit, 6 standard)
  • ✅ Amex Travel: 17 hotels (13 FHR, 4 THC)
  • ✅ SerpAPI: 25 hotels
  • ✅ Trivago: 30 hotels (cheapest OTA per hotel)
  • ✅ LiteAPI: 22 hotels (negotiated rates)
  • ✅ Airbnb: 18 listings
  • ✅ Premium databases: 8 FHR, 3 THC, 15 Edit properties in Paris
  • ⏭️ RapidAPI/Booking.com: skipped (not requested)

Step 5: Recommendation

After the table, always provide:

  1. Best luxury value: Which premium hotel gives the most benefit-adjusted savings
  2. Best budget option: Cheapest option (often Airbnb for longer stays)
  3. Stacking opportunities: Hotels in both FHR/THC AND Chase Edit
  4. Credit usage: Which card credits apply ($600 Amex FHR, $300 CSR travel, $250 Select Hotels)
  5. Points vs cash: Is using points worthwhile for any of these? (Calculate CPP)
  6. Direct booking comparison: Note if direct booking is significantly cheaper than portal price

Airbnb Integration

Use the airbnb_search MCP tool:

airbnb_search(
  location="Paris, France",
  checkin="2026-08-11",
  checkout="2026-08-15",
  adults=2,
  propertyType="entire_home"
)

For each Airbnb result, extract:

  • Name, price, rating, reviews
  • Property type (entire home, private room)
  • Key amenities (kitchen, washer, wifi, AC)
  • Direct link to listing

When Airbnb makes sense:

  • Stays of 5+ nights (usually cheaper per night)
  • Groups or families needing space
  • Destinations where hotels are overpriced
  • When kitchen access matters (dietary restrictions, saving on meals)

When hotels win:

  • Short stays (1-2 nights)
  • Premium benefits offset the rate (FHR breakfast alone can be $100+/night value)
  • Points redemption gives good CPP
  • Loyalty status benefits (upgrades, late checkout, lounge access)

Error Handling

NEVER fail silently. Every source must report its status.

- ❌ Chase Travel: Login failed. No Chase portal pricing available.
- ❌ Airbnb: No results for this location/dates.
- ⚠️ Amex Travel: Only 3 results (some hotels may not be available for these dates).

If premium databases show FHR/Edit properties in the city but the portal search didn't return them, note this: "The FHR database lists 8 properties in Paris but Amex Travel only returned 3. Some may not have availability for your dates."

Data Files Used

FilePurpose
data/fhr-properties.jsonFHR property lookup by city/coordinates
data/thc-properties.jsonTHC property lookup
data/chase-edit-properties.jsonChase Edit property lookup
data/hotel-chains.jsonHotel chain to loyalty program mapping
data/points-valuations.jsonCPP valuations for points calculations

Limitations

  • Portal searches require Docker and credentials. Skip if not configured.
  • Airbnb MCP must be available. Skip gracefully if not.
  • FHR/THC/Edit databases are updated periodically. Properties may have been added or removed.
  • Amex hotel points pricing is variable (not 1 cpp). Use the actual points price from the portal.
  • Chase portal pricing is dynamic Points Boost (~1.5-2.0 cpp on select bookings, not a guaranteed floor). The historical static 1.5x multiplier is gone.
  • Direct booking prices (via SerpAPI) may differ from portal prices for the same hotel.

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

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

Unified hotel comparison across Chase Edit, Amex FHR/THC, metasearch, and Airbnb. Highlights premium program benefits, stacking opportunities, and benefit-adjusted pricing.

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

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

كيف أثبّت Compare Hotels في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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