شعار Ticketsatwork

Ticketsatwork

المجتمع
borski
ticketsatwork

Search TicketsAtWork (EBG corporate perks) for hotels, theme park tickets, attractions, and rental cars via Patchright. Often beats portals by 10-30%. Use when comparing hotel or ticket prices for a trip.

Add to TypingMind

نظرة عامة

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

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

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

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

  • الملفات المرفقة: 6

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

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

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

التثبيت

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

TicketsAtWork

Scrapes inventory from ticketsatwork.com, a corporate employee perks platform operated by Entertainment Benefits Group (EBG). Members access negotiated rates through their employer's account.

No public API. Patchright (undetected Playwright fork) is required because TaW is behind bot protection that blocks requests, vanilla Playwright, and headless Chrome.

Why TaW matters for travel hacking

TaW aggregates inventory from EBG's negotiated wholesale pool (similar inventory feeds as Costco Travel, AAA, etc.). On the same property + dates, TaW often beats:

  • The hotel's direct booking
  • Booking.com / Hotels.com / Expedia
  • Chase Travel (UR portal) and Amex Travel (MR portal)
  • Even Amex FHR / THC and Chase Edit on properties not in those programs

Discount badges are typically genuine: the "Save $X" amount is computed against the hotel's published rate at search time.

Tradeoff: No portal credits, no card-program elite benefits, no points earning on the stay. You earn TaW "Funlife" loyalty points usable at ~1 cpp on future TaW bookings only.

Capabilities

SubcommandWhat it doesStatus
hotelsHotel search by city + date range. Returns ~10-200+ properties with prices, savings vs strike rate, lat/lng, ratings, distanceStable
carsRental car search by pickup location + date/time rangeExperimental. TaW resolves the autocomplete latlng but not always the airport code their car backend needs. Some valid-looking searches return "no cars at this location" even for major airports. See "Known limitations" below.
ticketsBrowse a category landing page (e.g. disneyland, wdw, usf) or keyword-search via ReflektionStable. Returns deal title, savings claim, description, image, detail URL. Prices are not on the listing, they appear on the detail page.

Prerequisites

  • Docker running locally (for the published image) OR Patchright installed locally (pip install patchright && patchright install chromium)
  • A TaW account (created via your employer's TaW URL or corporate code)
  • TaW email + password set as TAW_USER and TAW_PASS environment variables

Authentication

Form-based email + password. The skill submits the login form via JavaScript directly. Each script run uses a fresh browser profile, so each run logs in fresh.

The visible "Sign in / Register" UI requires modal interactions that Patchright handles unreliably (cookie banner overlap, modal trigger visibility issues). The login form (#member_login_form) is in the DOM at all times, so we set values via JS and click the form's submit button.

Docker Usage

bash
docker pull ghcr.io/borski/ticketsatwork:latest

# Hotels
docker run --rm -e TAW_USER -e TAW_PASS \
  ghcr.io/borski/ticketsatwork hotels \
  --city "Carlsbad, CA" --checkin 2027-03-04 --checkout 2027-03-07 \
  --rooms 1 --adults 2 --json

# Tickets / attractions (category)
docker run --rm -e TAW_USER -e TAW_PASS \
  ghcr.io/borski/ticketsatwork tickets \
  --category disneyland --json

# Tickets / attractions (keyword)
docker run --rm -e TAW_USER -e TAW_PASS \
  ghcr.io/borski/ticketsatwork tickets \
  --keyword "universal studios" --json

# Live events in destination cities (concerts, theater, sports)
docker run --rm -e TAW_USER -e TAW_PASS \
  ghcr.io/borski/ticketsatwork tickets \
  --section events --json

# Rental cars (experimental)
docker run --rm -e TAW_USER -e TAW_PASS \
  ghcr.io/borski/ticketsatwork cars \
  --pickup "San Diego Airport, CA" \
  --pickup-date 2026-06-15 --pickup-time 12:00 \
  --dropoff-date 2026-06-18 --dropoff-time 12:00 \
  --age 30 --json

Local Usage (opens a Chrome window briefly)

bash
# Hotels
TAW_USER=you@example.com TAW_PASS=yourpass \
  python3 scripts/search_hotels.py --city "Carlsbad, CA" \
  --checkin 2027-03-04 --checkout 2027-03-07 --json

# Tickets
TAW_USER=you@example.com TAW_PASS=yourpass \
  python3 scripts/browse_tickets.py --category disneyland --json

# Cars
TAW_USER=you@example.com TAW_PASS=yourpass \
  python3 scripts/search_cars.py \
  --pickup "San Diego Airport, CA" \
  --pickup-date 2026-06-15 --pickup-time 12:00 \
  --dropoff-date 2026-06-18 --dropoff-time 12:00 --json

Hotels: arguments and output

Arguments

FlagRequiredDefaultDescription
--cityyesCity or address. Goes into the destination autocomplete.
--checkinyesCheck-in date in YYYY-MM-DD.
--checkoutyesCheck-out date in YYYY-MM-DD.
--roomsno1Number of rooms.
--adultsno2Adults per room.
--childrenno0Children per room.
--jsonnooffStructured JSON instead of a human-readable table.
--debugnooffSave screenshots + HTML at each step to /output (Docker) or /tmp/taw_debug/ (local).
--raw-html-outnoWrite the raw results HTML to a file for offline analysis.

Output schema (JSON mode)

json
{
  "city": "Carlsbad, CA",
  "checkin": "2027-03-04",
  "checkout": "2027-03-07",
  "rooms": 1,
  "adults": 2,
  "children": 0,
  "display_pages": 14,
  "listing_count": 134,
  "listings": [
    {
      "id": "hotel_NNNNNN_x",
      "name": "Property Display Name",
      "name_normalized": "property display name",
      "rating": 4.5,
      "guest_rating": 9.0,
      "price_per_night_usd": 184,
      "total_price_usd": 746,
      "strike_price_usd": 1122,
      "savings_usd": 375.68,
      "loyalty_points": 1492,
      "distance_miles": 0.89,
      "distance_label": "0.89 miles from the center of Carlsbad",
      "property_type": "hotel",
      "lat": 33.121,
      "lng": -117.310,
      "tripadvisor": 0.0,
      "room_id": "...",
      "rate_code": "...",
      "featured": false,
      "discount_ranking": 717.95,
      "detail_url": "https://www.ticketsatwork.com/tickets/hotels.php?sub=details&id=NNNNNN_x"
    }
  ]
}

Field notes:

  • rating = property star rating (0.0 - 5.0).
  • guest_rating = post-stay review average (0.0 - 10.0).
  • total_price_usd = all-in for the stay (taxes/fees included; "All fees included" shown in UI).
  • strike_price_usd = published comparison rate (what you'd pay direct or non-discount channel).
  • savings_usd = strike_price_usd - total_price_usd per the badge.
  • loyalty_points = TaW Funlife points earned from this booking.
  • discount_ranking = TaW's internal discount-magnitude score (bigger = bigger savings vs comp rate).

Pagination behavior

TaW renders all matching hotels in the initial DOM and uses simple-pagination (jQuery) to chunk visually. There are no additional listings to fetch; one parse covers the full result set. The display_pages field reflects what TaW shows the user, not what the script needs to walk.

Tickets: arguments and output

Arguments

Use exactly one of --category or --keyword:

FlagDescription
--category SLUGCategory slug like disneyland, wdw, usf, seaworld. See category list below.
--keyword TEXTFree-text keyword. Uses Reflektion site search. On Enter, TaW often redirects directly to the most relevant category landing page.
--jsonStructured JSON output.
--debugSave screenshots + HTML.
--raw-html-outWrite the raw landing page HTML to a file.

Common category slugs

These are stable category landing pages (/tickets/pages.php?sub=<slug>):

SlugPage
wdwWalt Disney World
disneylandDisneyland Resort (California)
disneyland-parisDisneyland Paris
usfUniversal Orlando
ushUniversal Studios Hollywood
seaworldSeaWorld parks
busch-gardens-parksBusch Gardens parks
sesame-placeSesame Place parks
all-theme-parks-attractionsCombined theme parks + attractions index

For other categories, navigate /tickets/index.php in a browser, find the category, copy the ?sub= slug from the URL.

Output schema

json
{
  "category": "disneyland",
  "keyword": null,
  "landed_url": "https://www.ticketsatwork.com/tickets/pages.php?sub=disneyland",
  "deal_count": 6,
  "deals": [
    {
      "type": "ticket",
      "filter_entity_id": "4704",
      "title": "Disneyland Resort - California",
      "subtitle": "Save up to $65 on Multi-Day Tickets",
      "description": "Explore 1-5 Day Disneyland Resort theme park tickets...",
      "image_url": "https://www.ticketsatwork.com/common_resources/...",
      "detail_url": "https://www.ticketsatwork.com/tickets/packages.php?sub=packages&action=view&id=4704"
    }
  ]
}

type is ticket (a TaW package, prices appear on the detail page) or url (an external link, often to a hotel detail).

Pricing note: Most category pages don't show prices in the listing. The subtitle field contains the savings claim ("Save up to $65", "Tickets from $48 Per Day"); exact pricing requires following detail_url.

Cars: arguments and known limitations

Arguments

FlagRequiredDefaultDescription
--pickupyesPickup location. Airport names work best.
--dropoffnosame as pickupDropoff location.
--pickup-dateyesYYYY-MM-DD.
--pickup-timeno12:00HH:MM 24h. Must be :00 or :30 boundary.
--dropoff-dateyesYYYY-MM-DD.
--dropoff-timeno12:00Same format.
--ageno30Driver age. TaW supports 20-25 with surcharge, 25+ standard.

Known limitations

The TaW car results page uses Handlebars templates that get filled by an XHR call to TaW's car backend. Even with the autocomplete-resolved latlng, the airport code that the backend needs is sometimes not populated by the autocomplete widget callback. The script backfills the visible input value into the hidden value field, but TaW's car API may require an additional pickup_code field that we're not setting.

Symptom: the car results page renders the skeleton, then shows "Sorry, there are no cars available at this location for your selected dates and time" even for major airports on near-term dates.

Workaround if you need cars urgently: open ticketsatwork.com in a regular browser, do the search manually, see the offers. Then if you want price comparison data scripted, this skill does still surface what TaW's hotel and ticket inventory looks like programmatically.

The script is wired and parses car cards correctly when the page renders them; the gap is in passing the right pickup-code metadata through the form. PRs welcome.

When to use

  • Comparing hotel rates for a specific destination + dates against direct / portal / Booking
  • After narrowing to a hotel via Trivago / Google Hotels, check if TaW has the chosen property cheaper
  • Discovering which theme-park / attraction discounts TaW currently offers (the discounts rotate seasonally)
  • Verifying a "this is the best deal" claim before booking through Chase Travel / Amex Travel / direct

When NOT to use

  • The hotel is in Amex FHR / THC and the user wants the property credit + breakfast (the program stack usually beats TaW's nightly savings)
  • The user wants hotel-program elite credits or points (TaW bookings don't credit Marriott Bonvoy, Hilton Honors, etc.)
  • The user needs a flexible/refundable rate (TaW rates are often non-refundable; check the property detail page)
  • Bookings where elite-status benefits matter more than rate

Implementation gotchas (for future maintainers)

These are documented for future work. The scripts already handle them.

Login via JS, not modal

The visible "Sign in / Register" button opens a modal containing the real login form. The trigger is sometimes invisible to Patchright (overlay z-index, OneTrust banner). The form is in the DOM regardless. We set values directly via JS and click submit.

javascript
const form = document.querySelector('#member_login_form');
const emailEl = form.querySelector('input[name="login_email"]');
const passEl = form.querySelector('input[name="login_password"]');
// ...set values, dispatch input/change events, click submit

Destination autocomplete is jQuery UI + ElasticSearch

The destination input (#place_name for hotels, #pickup_location for cars) is decorative until a suggestion is clicked. Hidden lat/lng fields populate on click via the autocomplete's callback.

Selectors (hotels):

  • Suggestion dropdown: .ui-autocomplete.ebg-autocomplete .ui-menu-item:visible
  • Lat: #place_lat, Lng: #place_lng

Selectors (cars):

  • Same dropdown class
  • Visible: #pickup_location, #dropoff_location
  • Hidden value: #origin_search_value, #destination_search_value
  • Hidden latlng (combined): #origin_lat_lng, #destination_lat_lng

Race condition: First-type often misses. Retry up to 3 times, clearing the field each time. Each attempt waits up to 8s for the targets to populate.

Cars-specific: Latlng populates reliably; the canonical place value field doesn't always populate via callback. The script backfills it from the visible input text. This is enough for the form to submit but may not be enough for the car backend to resolve an airport code.

Date inputs are readonly

#check_in, #check_out, #pick_up_date, #drop_off_date are readonly="readonly" and driven by jQuery datepicker. You cannot fill() them like normal inputs. Set .value via JS using the underlying HTMLInputElement.value setter.

Date format: MM/DD/YY (2-digit year).

Hotel listings render after the shell

Results page shell loads first; listings render via XHR. Wait for at least one <li id="hotel_..." data-name="..."> to be attached to the DOM. Without this, parse fires too early and returns 0 listings.

Hotel listings are pre-rendered

The full result set is delivered in the initial response. Pagination is purely visual via simple-pagination. Don't waste time clicking page links; one parse on the initial render gets you everything.

Cars use Handlebars templates filled later

Car results use a Handlebars-style template page. The page renders immediately with {{var}} placeholders, then a backend XHR fills in actual offers. Wait for .rc-totals content to no longer match {{total}} before parsing.

Cookie banner

OneTrust banner appears on first visit and intercepts clicks. Dismiss via button#onetrust-accept-btn-handler or button:has-text('Accept') early in the flow.

Tickets / category pages are static HTML

Unlike hotels and cars, category landing pages render their deal grid in the initial HTML response. No XHR wait needed. Cards are <li class="grid-template-seen"> with data-unq (URL) and inline title/subtitle/description.

Building the Docker image

bash
cd skills/ticketsatwork
docker build -t ghcr.io/borski/ticketsatwork:latest .
docker push ghcr.io/borski/ticketsatwork:latest

The base image (ghcr.io/borski/patchright-docker:latest) is shared with southwest, chase-travel, amex-travel, and other Patchright-based skills.

Privacy / safety

  • Do NOT book through this skill. Price discovery only. Always click through to TaW in a real browser to complete a booking.
  • TaW's terms of service may restrict automated access. The skill makes one search per invocation, doesn't aggressively crawl, and uses one page-load worth of work. Use for personal price comparison, not bulk scraping.
  • Credentials are passed via env vars only. The skill never writes credentials to disk and never prints them to logs.
  • Debug output may contain personal data. TaW embeds the logged-in user's email, employer, IP, and account hash in the result page HTML. The script never prints these, but --debug mode and --raw-html-out capture full page HTML which contains them. Don't share debug artifacts publicly.

Future expansions

  • search-shopping for gift cards, electronics, etc. (/tickets/shopping.php?sub=...)
  • search-packages for vacation bundles (/tickets/packages.php?sub=packages&action=view&id=N)
  • fix-cars to resolve the airport-code population issue
  • with-prices mode for tickets that follows each detail_url to extract pricing (slow, multi-page)

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

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

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

Search TicketsAtWork (EBG corporate perks) for hotels, theme park tickets, attractions, and rental cars via Patchright. Often beats portals by 10-30%. Use when comparing hotel or ticket prices for a trip.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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