tourmind-booking
Installation
SKILL.md
TourMind hotel booking
Start here: identity, welcome and updates
- 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. Auk_token selects personal ToC: send the currentuser_keyon everysearch_hotelscall and follow each other endpoint’s credential rules;sk_selects business ToB (tokenon 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. - 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.
- Before the first workflow API call in each new conversation, or on resuming after at least 24 hours of inactivity: call
check_skill_updatewithcurrent_versionfrom this file'smetadata.version. For no token oruk_, POST to/skill/toc/check_skill_updatewith the version only; forsk_, POST to/skill/tob/check_skill_updatewith 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. - 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.