[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77J7W0MCKZ8ZWA1YQR64GRW":3,"skill-same:01M77J7W0MCKZ8ZWA1YQR64GRW":46},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M77J7W0MCKZ8ZWA1YQR64GRW","hotel-booking-ai",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fh\u002Fhotel-booking-ai\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: b2b-booking\ndescription: Hotel booking skill. **Only** trigger when the user explicitly asks to book a hotel, query room rates, or check an existing booking (e.g. \"book me a hotel\", \"find hotels in Beijing\", \"I want to reserve a room\"). Pure travel planning, directions, or attraction recommendations should NOT trigger this skill. Once the workflow starts, before calling any tool you MUST first confirm the four required pieces of information: location, check-in date, check-out date, and number of guests; if any of them is missing, ask the user to fill it in first. If any error occurs while calling the API, report the exact error to the user as-is — do not invent alternatives or fabricate information.\nmetadata.openclaw: {\"emoji\": \"🏨\", \"primaryEnv\": \"user_key.txt\"}\n---\n\n# B2B Booking Skill\n\n> **⚠️ Critical Rules (Must Follow)**\n>\n> 1. **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.\n> 2. **When the API returns HTTP 401 or `{\"ok\": false, \"error\": \"unauthorized: ...\"}`, the user_key is invalid or expired. Stop the workflow immediately: delete `{baseDir}\u002Fuser_key.txt` and ask the user to visit the [AgentAuth Dashboard](https:\u002F\u002Faauth-170125614655.asia-northeast1.run.app\u002Fdashboard) to obtain a new user_key before continuing.**\n> 3. **Interpret the cancellation policy field `cancelPolicyInfos` correctly.** `refundable: true` means the rate IS refundable \u002F cancellable — never interpret it as \"non-cancellable\". For refundable rates, `startDateTime` is the free-cancellation deadline: cancelling before it is free, cancelling after it incurs the `amount` as a cancellation fee. `amount > 0` does NOT mean the rate is non-cancellable.\n\n## API\n\n**Base URL:** `http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028`\n\nAll endpoints are `POST` and require a `user_key` field in the request body.\n\n### Endpoint List\n\n| Function | Path |\n|----------|------|\n| Search regions \u002F hotels | `\u002Fskill\u002Fsearch_location` |\n| Search hotel list | `\u002Fskill\u002Fsearch_hotels` |\n| Query room types and rates | `\u002Fskill\u002Fquery_room_rates` |\n| Verify price & lock room | `\u002Fskill\u002Fcheck_room_availability` |\n| Create booking | `\u002Fskill\u002Fcreate_booking` |\n| Query booking | `\u002Fskill\u002Fquery_booking` |\n| Cancel booking | `\u002Fskill\u002Fcancel_booking` |\n| Initiate payment | `\u002Fskill\u002Fpay_order` |\n\n### Response Format\n\nSuccess: `{\"ok\": true, \"data\": {...}}`  \nFailure: `{\"ok\": false, \"error\": \"error description\"}`\n\n### Calling Examples (curl)\n\n```bash\n# Search regions\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fsearch_location\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"keyword\": \"Tokyo\"}'\n\n# Search hotels\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fsearch_hotels\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"region_id\": \"3263\", \"check_in_date\": \"2026-05-01\", \"check_out_date\": \"2026-05-03\", \"adults\": 2}'\n\n# Query room types\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fquery_room_rates\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"hotel_id\": \"12345\", \"check_in_date\": \"2026-05-01\", \"check_out_date\": \"2026-05-03\", \"adults\": 2, \"room_count\": 1}'\n\n# Verify price\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fcheck_room_availability\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"hotel_id\": \"12345\", \"rate_code\": \"xxx\", \"check_in_date\": \"2026-05-01\", \"check_out_date\": \"2026-05-03\", \"adults\": 2, \"room_count\": 1}'\n\n# Create booking\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fcreate_booking\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"hotel_id\": \"12345\", \"rate_code\": \"xxx\", \"check_in_date\": \"2026-05-01\", \"check_out_date\": \"2026-05-03\", \"guest_name\": \"John Smith\", \"adults\": 2, \"room_count\": 1, \"total_price\": 1260.00}'\n\n# Query booking\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fquery_booking\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"agent_ref_id\": \"TM20260501001\"}'\n\n# Cancel booking\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fcancel_booking\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"agent_ref_id\": \"TM20260501001\"}'\n\n# Pay\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fpay_order\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"agent_ref_id\": \"TM20260501001\", \"payment_type\": 11}'\n```\n\n---\n\n## Setup\n\nBefore calling any API, the user must be authenticated.\n\n### Step 1 — User Key\n\n1. Read `{baseDir}\u002Fuser_key.txt`.\n2. If the file **does not exist or is empty** — do NOT call any API. Tell the user:\n   > \"Before we start, I need to verify your identity. Please visit https:\u002F\u002Faauth-170125614655.asia-northeast1.run.app\u002Fdashboard, sign in with Google, copy your `user_key` (format: `uk_xxxxxxxx`), and paste it here.\"\n   When the user provides it, save it to `{baseDir}\u002Fuser_key.txt` and continue.\n3. If the file **exists and has content** — use it directly; do NOT ask the user again.\n4. If the API returns 401 or an error containing `unauthorized` — delete `{baseDir}\u002Fuser_key.txt` and repeat step 2.\n\n---\n\n## Endpoint Parameters\n\n### \u002Fskill\u002Fsearch_location\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| keyword | string | Search keyword (city name, landmark, hotel name, etc.) |\n\nReturns `data.regions` (region list with `region_id`) and `data.hotels` (hotel list with `hotel_id`).\n\n### \u002Fskill\u002Fsearch_hotels\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| region_id | string | Region ID (must be passed as a string, e.g. `\"3263\"`) |\n| check_in_date | string | Check-in date in YYYY-MM-DD |\n| check_out_date | string | Check-out date in YYYY-MM-DD |\n| adults | int | Number of adults per room |\n| lowest_price | int | Minimum price (CNY, optional) |\n| highest_price | int | Maximum price (CNY, optional) |\n\nReturns `data.hotels` — at most the 3 cheapest hotels.\n\n### \u002Fskill\u002Fquery_room_rates\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| hotel_id | string | Hotel ID |\n| check_in_date | string | Check-in date |\n| check_out_date | string | Check-out date |\n| adults | int | Number of adults per room |\n| room_count | int | Number of rooms (default 1) |\n\nReturns `data.room_types`. Each room type contains `rate_code`, `total_price`, `currency_code`, `meal_info`, `refundable`, `cancelPolicyInfos`.\n\n### \u002Fskill\u002Fcheck_room_availability\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| hotel_id | string | Hotel ID |\n| rate_code | string | The `rate_code` returned by query_room_rates |\n| check_in_date | string | Check-in date |\n| check_out_date | string | Check-out date |\n| adults | int | Number of adults per room |\n| room_count | int | Number of rooms (default 1) |\n\nReturns `data.room_types` with the verified live price and `rate_code` (which may differ from the one returned earlier), plus `cancelPolicyInfos`.\n\n### \u002Fskill\u002Fcreate_booking\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| hotel_id | string | Hotel ID |\n| rate_code | string | The `rate_code` returned by check_room_availability |\n| check_in_date | string | Check-in date |\n| check_out_date | string | Check-out date |\n| guest_name | string | Guest name (the system parses Chinese \u002F English names automatically) |\n| adults | int | Number of adults per room |\n| room_count | int | Number of rooms (default 1) |\n| currency | string | Currency, default CNY |\n| total_price | float | Total price returned by check_room_availability |\n\nReturns `data.agent_ref_id` (booking reference).\n\n### \u002Fskill\u002Fquery_booking\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| agent_ref_id | string | Booking reference returned by create_booking |\n\n### \u002Fskill\u002Fcancel_booking\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| agent_ref_id | string | Booking reference returned by create_booking |\n\nReturns `data.status`, `data.cancel_fee`, `data.refund_amount` (if any), `data.currency`. Always confirm the booking reference with the user before cancelling.\n\n### \u002Fskill\u002Fpay_order\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| agent_ref_id | string | Booking reference |\n| payment_type | int | `11` = WeChat Pay, `12` = Alipay |\n| return_url | string | Redirect URL after payment (optional) |\n\nReturns `data.pay_url` — share this link with the user to complete the payment.\n\n---\n\n## Booking Workflow\n\n```\n0. Search region (if needed)  → search_location to get region_id\n1. Search hotels              → search_hotels\n2. Query room rates           → query_room_rates\n3. Verify price & lock room   → check_room_availability\n4. Create booking             → create_booking (no phone or email required)\n5. Initiate payment           → ask the user for payment method, then pay_order\n6. Query booking              → query_booking (any time)\n7. Cancel booking             → only after the user explicitly asks AND confirms the booking reference, then cancel_booking\n```\n\n---\n\n## Notes\n\n- **All dates must be in `YYYY-MM-DD` format.**\n- **`region_id` and `hotel_id` MUST be passed as strings** (e.g. `\"3263\"`, not `3263`).\n- **`total_price` MUST use the value returned by `check_room_availability`**, not the one from `query_room_rates`.\n- **Do not proactively collect phone numbers or emails** — the booking flow does not need them.\n- **After `create_booking`, ask for the payment method** before calling `pay_order`.\n- **Always confirm the booking reference with the user** before calling `cancel_booking`.\n- **Reading the cancellation policy:** `refundable: true` = refundable \u002F cancellable; `startDateTime` = free-cancellation deadline; `amount` = cancellation fee charged after that deadline — it does NOT mean non-cancellable.\n- **When showing room types for multiple hotels, the data for each hotel MUST come strictly from that hotel's `query_room_rates` response. Never mix data across hotels. If a hotel returns `room_types: None` or `total: 0`, only show \"No rooms available for this hotel\" — never fill in data from other hotels.**\n- When an API call fails, report the exact error to the user — do not fabricate data or recommend alternatives.\n\n> **For detailed parameter reference, region IDs, currency codes, and troubleshooting**, see [references\u002Fparameter_guide.md](references\u002Fparameter_guide.md)\n","# B2B Booking Skill\n\n> **⚠️ Critical Rules (Must Follow)**\n>\n> 1. **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.\n> 2. **When the API returns HTTP 401 or `{\"ok\": false, \"error\": \"unauthorized: ...\"}`, the user_key is invalid or expired. Stop the workflow immediately: delete `{baseDir}\u002Fuser_key.txt` and ask the user to visit the [AgentAuth Dashboard](https:\u002F\u002Faauth-170125614655.asia-northeast1.run.app\u002Fdashboard) to obtain a new user_key before continuing.**\n> 3. **Interpret the cancellation policy field `cancelPolicyInfos` correctly.** `refundable: true` means the rate IS refundable \u002F cancellable — never interpret it as \"non-cancellable\". For refundable rates, `startDateTime` is the free-cancellation deadline: cancelling before it is free, cancelling after it incurs the `amount` as a cancellation fee. `amount > 0` does NOT mean the rate is non-cancellable.\n\n## API\n\n**Base URL:** `http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028`\n\nAll endpoints are `POST` and require a `user_key` field in the request body.\n\n### Endpoint List\n\n| Function | Path |\n|----------|------|\n| Search regions \u002F hotels | `\u002Fskill\u002Fsearch_location` |\n| Search hotel list | `\u002Fskill\u002Fsearch_hotels` |\n| Query room types and rates | `\u002Fskill\u002Fquery_room_rates` |\n| Verify price & lock room | `\u002Fskill\u002Fcheck_room_availability` |\n| Create booking | `\u002Fskill\u002Fcreate_booking` |\n| Query booking | `\u002Fskill\u002Fquery_booking` |\n| Cancel booking | `\u002Fskill\u002Fcancel_booking` |\n| Initiate payment | `\u002Fskill\u002Fpay_order` |\n\n### Response Format\n\nSuccess: `{\"ok\": true, \"data\": {...}}`  \nFailure: `{\"ok\": false, \"error\": \"error description\"}`\n\n### Calling Examples (curl)\n\n```bash\n# Search regions\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fsearch_location\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"keyword\": \"Tokyo\"}'\n\n# Search hotels\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fsearch_hotels\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"region_id\": \"3263\", \"check_in_date\": \"2026-05-01\", \"check_out_date\": \"2026-05-03\", \"adults\": 2}'\n\n# Query room types\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fquery_room_rates\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"hotel_id\": \"12345\", \"check_in_date\": \"2026-05-01\", \"check_out_date\": \"2026-05-03\", \"adults\": 2, \"room_count\": 1}'\n\n# Verify price\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fcheck_room_availability\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"hotel_id\": \"12345\", \"rate_code\": \"xxx\", \"check_in_date\": \"2026-05-01\", \"check_out_date\": \"2026-05-03\", \"adults\": 2, \"room_count\": 1}'\n\n# Create booking\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fcreate_booking\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"hotel_id\": \"12345\", \"rate_code\": \"xxx\", \"check_in_date\": \"2026-05-01\", \"check_out_date\": \"2026-05-03\", \"guest_name\": \"John Smith\", \"adults\": 2, \"room_count\": 1, \"total_price\": 1260.00}'\n\n# Query booking\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fquery_booking\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"agent_ref_id\": \"TM20260501001\"}'\n\n# Cancel booking\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fcancel_booking\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"agent_ref_id\": \"TM20260501001\"}'\n\n# Pay\ncurl -s -X POST -H \"Content-Type: application\u002Fjson\" \\\n  \"http:\u002F\u002Fnlb-3psfnp4wzcgnlw0fe0.cn-shenzhen.nlb.aliyuncsslb.com:19028\u002Fskill\u002Fpay_order\" \\\n  -d '{\"user_key\": \"\u003Cuser_key>\", \"agent_ref_id\": \"TM20260501001\", \"payment_type\": 11}'\n```\n\n---\n\n## Setup\n\nBefore calling any API, the user must be authenticated.\n\n### Step 1 — User Key\n\n1. Read `{baseDir}\u002Fuser_key.txt`.\n2. If the file **does not exist or is empty** — do NOT call any API. Tell the user:\n   > \"Before we start, I need to verify your identity. Please visit https:\u002F\u002Faauth-170125614655.asia-northeast1.run.app\u002Fdashboard, sign in with Google, copy your `user_key` (format: `uk_xxxxxxxx`), and paste it here.\"\n   When the user provides it, save it to `{baseDir}\u002Fuser_key.txt` and continue.\n3. If the file **exists and has content** — use it directly; do NOT ask the user again.\n4. If the API returns 401 or an error containing `unauthorized` — delete `{baseDir}\u002Fuser_key.txt` and repeat step 2.\n\n---\n\n## Endpoint Parameters\n\n### \u002Fskill\u002Fsearch_location\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| keyword | string | Search keyword (city name, landmark, hotel name, etc.) |\n\nReturns `data.regions` (region list with `region_id`) and `data.hotels` (hotel list with `hotel_id`).\n\n### \u002Fskill\u002Fsearch_hotels\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| region_id | string | Region ID (must be passed as a string, e.g. `\"3263\"`) |\n| check_in_date | string | Check-in date in YYYY-MM-DD |\n| check_out_date | string | Check-out date in YYYY-MM-DD |\n| adults | int | Number of adults per room |\n| lowest_price | int | Minimum price (CNY, optional) |\n| highest_price | int | Maximum price (CNY, optional) |\n\nReturns `data.hotels` — at most the 3 cheapest hotels.\n\n### \u002Fskill\u002Fquery_room_rates\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| hotel_id | string | Hotel ID |\n| check_in_date | string | Check-in date |\n| check_out_date | string | Check-out date |\n| adults | int | Number of adults per room |\n| room_count | int | Number of rooms (default 1) |\n\nReturns `data.room_types`. Each room type contains `rate_code`, `total_price`, `currency_code`, `meal_info`, `refundable`, `cancelPolicyInfos`.\n\n### \u002Fskill\u002Fcheck_room_availability\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| hotel_id | string | Hotel ID |\n| rate_code | string | The `rate_code` returned by query_room_rates |\n| check_in_date | string | Check-in date |\n| check_out_date | string | Check-out date |\n| adults | int | Number of adults per room |\n| room_count | int | Number of rooms (default 1) |\n\nReturns `data.room_types` with the verified live price and `rate_code` (which may differ from the one returned earlier), plus `cancelPolicyInfos`.\n\n### \u002Fskill\u002Fcreate_booking\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| hotel_id | string | Hotel ID |\n| rate_code | string | The `rate_code` returned by check_room_availability |\n| check_in_date | string | Check-in date |\n| check_out_date | string | Check-out date |\n| guest_name | string | Guest name (the system parses Chinese \u002F English names automatically) |\n| adults | int | Number of adults per room |\n| room_count | int | Number of rooms (default 1) |\n| currency | string | Currency, default CNY |\n| total_price | float | Total price returned by check_room_availability |\n\nReturns `data.agent_ref_id` (booking reference).\n\n### \u002Fskill\u002Fquery_booking\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| agent_ref_id | string | Booking reference returned by create_booking |\n\n### \u002Fskill\u002Fcancel_booking\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| agent_ref_id | string | Booking reference returned by create_booking |\n\nReturns `data.status`, `data.cancel_fee`, `data.refund_amount` (if any), `data.currency`. Always confirm the booking reference with the user before cancelling.\n\n### \u002Fskill\u002Fpay_order\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| user_key | string | Read from `{baseDir}\u002Fuser_key.txt` |\n| agent_ref_id | string | Booking reference |\n| payment_type | int | `11` = WeChat Pay, `12` = Alipay |\n| return_url | string | Redirect URL after payment (optional) |\n\nReturns `data.pay_url` — share this link with the user to complete the payment.\n\n---\n\n## Booking Workflow\n\n```\n0. Search region (if needed)  → search_location to get region_id\n1. Search hotels              → search_hotels\n2. Query room rates           → query_room_rates\n3. Verify price & lock room   → check_room_availability\n4. Create booking             → create_booking (no phone or email required)\n5. Initiate payment           → ask the user for payment method, then pay_order\n6. Query booking              → query_booking (any time)\n7. Cancel booking             → only after the user explicitly asks AND confirms the booking reference, then cancel_booking\n```\n\n---\n\n## Notes\n\n- **All dates must be in `YYYY-MM-DD` format.**\n- **`region_id` and `hotel_id` MUST be passed as strings** (e.g. `\"3263\"`, not `3263`).\n- **`total_price` MUST use the value returned by `check_room_availability`**, not the one from `query_room_rates`.\n- **Do not proactively collect phone numbers or emails** — the booking flow does not need them.\n- **After `create_booking`, ask for the payment method** before calling `pay_order`.\n- **Always confirm the booking reference with the user** before calling `cancel_booking`.\n- **Reading the cancellation policy:** `refundable: true` = refundable \u002F cancellable; `startDateTime` = free-cancellation deadline; `amount` = cancellation fee charged after that deadline — it does NOT mean non-cancellable.\n- **When showing room types for multiple hotels, the data for each hotel MUST come strictly from that hotel's `query_room_rates` response. Never mix data across hotels. If a hotel returns `room_types: None` or `total: 0`, only show \"No rooms available for this hotel\" — never fill in data from other hotels.**\n- When an API call fails, report the exact error to the user — do not fabricate data or recommend alternatives.\n\n> **For detailed parameter reference, region IDs, currency codes, and troubleshooting**, see [references\u002Fparameter_guide.md](references\u002Fparameter_guide.md)\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fh\u002Fhotel-booking-ai",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill hotel-booking-ai",{"tool":38,"command":39},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill hotel-booking-ai",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill hotel-booking-ai","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fh\u002Fhotel-booking-ai\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]