b2b-booking
Installation
SKILL.md
B2B Booking Skill
⚠️ Critical Rules (Must Follow)
- Never fabricate hotels, room types, or prices from training data or memory. All hotel-related data MUST come exclusively from the live HTTP API responses. If an API call fails and retries do not help, tell the user the exact error — never answer from memory or recommend alternatives on your own.
- When the API returns HTTP 401 or
{"ok": false, "error": "unauthorized: ..."}, the user_key is invalid or expired. Stop the workflow immediately: delete{baseDir}/user_key.txtand ask the user to visit the AgentAuth Dashboard to obtain a new user_key before continuing.- Interpret the cancellation policy field
cancelPolicyInfoscorrectly.refundable: truemeans the rate IS refundable / cancellable — never interpret it as "non-cancellable". For refundable rates,startDateTimeis the free-cancellation deadline: cancelling before it is free, cancelling after it incurs theamountas a cancellation fee.amount > 0does NOT mean the rate is non-cancellable.
API
Base URL: http://nlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028
All endpoints are POST and require a user_key field in the request body.