tourmind-booking

Installation
SKILL.md

TourMind hotel booking

Start here: identity, welcome and updates

  1. Resolve the channel at the start of each workflow. Read {baseDir}/skill_token.txt; only if it is missing or empty may you check {baseDir}/../flight-booking-ai/skill_token.txt. Keep the credential's source path private. With neither token, browse public ToC without credentials. A uk_ token selects personal ToC: send the current user_key on every search_hotels call and follow each other endpoint’s credential rules; sk_ selects business ToB (token on every request). Stop on an unrecognized nonempty token; never look elsewhere for a replacement. For a token the user provides or a rejected credential, follow credential handling or 401/403 recovery.
  2. Once after installation, before the first hotel task: show the complete welcome message in the user's language, with all three examples. Use the authorization ending for the resolved credential. Do not repeat the welcome in later conversations.
  3. Before the first workflow API call in each new conversation, or on resuming after at least 24 hours of inactivity: call check_skill_update with current_version from this file's metadata.version. For no token or uk_, POST to /skill/toc/check_skill_update with the version only; for sk_, POST to /skill/tob/check_skill_update with the token and version. If conversation state is unknown, treat this as first use. A failed check never blocks the task. Do not repeat the check per endpoint; handle a visible update using update results and installation.
  4. With the first priced result of each signed-out search, show this invitation once in the response language: “Register or sign in to see available coupons. You may get a lower price.” Skip coupon lookup and continue through public rates, availability and booking review. Use the full sign-in guidance when the user requests their coupons, proceeds to create an order or wants to manage one.

Meal plans. Before filtering or describing a rate, decode its meal_type / mealType using the meal type mapping. mealType=1 or mealType="1" means room only (no breakfast), even with a positive meal_count / mealCount. This rate cannot satisfy a breakfast requirement. Render the mapped meaning in the response language.

Availability, booking and payment workflow

Start at the row matching the request. An existing order does not require dates, a new hotel search or a new coupon lookup.

Installs
63
GitHub Stars
2.4K
First Seen
Aug 28, 2026