Skip to content
Back to search

rollinggo-hotel-skill-cn

全球酒店预订&低价监控提醒Skill,200万+精选酒店,独家优惠价格,让你的Agent轻松预订品质酒店,支持支付宝下单+查询历史订单,24 小时客服支持,全天候响应。

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/rollinggo-ai-rollinggo-hotel-skill-cn/badge.svg)](/listings/rollinggo-ai-rollinggo-hotel-skill-cn)

HTML

<a href="/listings/rollinggo-ai-rollinggo-hotel-skill-cn"><img src="/api/listings/rollinggo-ai-rollinggo-hotel-skill-cn/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 598 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # RollingGo全球酒店预订Skill-2.0新版本
  2. [English](#english) | [简体中文](#简体中文)
  3. ```text
  4. ██████╗ ██████╗ ██╗ ██╗ ██╗███╗ ██╗ ██████╗ ██████╗ ██████╗
  5. ██╔══██╗██╔═══██╗██║ ██║ ██║████╗ ██║██╔════╝ ██╔════╝ ██╔═══██╗
  6. ██████╔╝██║ ██║██║ ██║ ██║██╔██╗ ██║██║ ███╗██║ ███╗██║ ██║
  7. ██╔══██╗██║ ██║██║ ██║ ██║██║╚██╗██║██║ ██║██║ ██║██║ ██║
  8. ██║ ██║╚██████╔╝███████╗███████╗██║██║ ╚████║╚██████╔╝╚██████╔╝╚██████╔╝
  9. ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚══════╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚═════╝
  10. ██╗ ██╗ ██████╗ ████████╗███████╗██╗
  11. ██║ ██║██╔═══██╗╚══██╔══╝██╔════╝██║
  12. ███████║██║ ██║ ██║ █████╗ ██║
  13. ██╔══██║██║ ██║ ██║ ██╔══╝ ██║
  14. ██║ ██║╚██████╔╝ ██║ ███████╗███████╗
  15. ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝╚══════╝
  16. ──●────●────●────●────●────●──
  17. AI Skills for Claude • Cursor • Copilot
  18. ```
  19. Search → Recommend → Price Confirm → Book → Orders Check
  20. ![Claude Skill](https://img.shields.io/badge/Claude-Skill-purple)
  21. ![Cursor Compatible](https://img.shields.io/badge/Cursor-Compatible-blue)
  22. ![Copilot Ready](https://img.shields.io/badge/Copilot-Ready-green)
  23. ![Antigravity Ready](https://img.shields.io/badge/Antigravity-Ready-orange)
  24. ---
  25. 只需对 Agent 说一句「我要去 XX 玩,帮我订酒店」
  26. RollingGo酒店预订Skill就能帮你全程搞定:
  27. 🔍 按需求**智能筛选**,省心帮你挑酒店
  28. 📋 实时查**房型、报价和退改规则**,明明白白不踩坑
  29. 🛏️ 心仪房型提前**锁定**,不用愁晚订没房
  30. 🔐 无需切换其他平台,Agent内一键安全**登录**,隐私信息有保障
  31. 💳 说句“帮我下单”就跳转支付页面**直接付**
  32. 📑 订单状态随时能查,全程都省心
  33. 💴 还能设置24 小时自动**盯价**,降价马上**提醒**
  34. 全球酒店**实时推荐**及**闭环预订**,不用自己蹲点比价,不用纠结早订亏、晚订无,订酒店的烦心事,一句话帮你全打理妥当。
  35. > 如果你是国际用户,或者你偏好信用卡付款,请参考 [
  36. RollingGo-hotel-skill-global](https://github.com/RollingGo-AI/RollingGo-hotel-skill-global),该版本支持信用卡支付。
  37. ## ✨ Skill亮点
  38. - ✅ **原生智能交互** - Agent-Native原生交互设计,自然对话即可完成预订全流程
  39. - ✅ **实时库存价确** - 库存直连+实时价格确认能力,信息零延迟,查询结果均可直接预订
  40. - ✅ **成熟供应链保障** - 全球第三大酒旅B2B官方数据源,14年旅行产品供应链积累,全链路API直连
  41. - ✅ **海量酒店覆盖** - 坐拥200万+酒店资源,覆盖全球主要目的地
  42. - ✅ **直签酒店资源** - 11万+直签酒店直连,价格库存实时响应,确保查询结果准确可订
  43. - ✅ **多元供应体系** - 整合500+全球供应商,涵盖各类酒店品牌,满足不同用户预订需求
  44. - ✅ **差异化价格优势** - 锚定OTA上游供应,海外酒店及上海、香港、日韩等热门目的地价格优势显著
  45. - ✅ **兼容性** - 支持 Cursor、Claude Code、Codex、Windsurf、Copilot 等 40 多种主流大模型代理
  46. <img width="477" height="272" alt="image" src="https://github.com/user-attachments/assets/b8318f4b-4c3a-4980-8032-cc6e3ed2edeb" />
  47. ## ✨ 安装方式
  48. ### 通过 npx skills 安装 (推荐)
  49. 自动兼容 Cursor, Claude Code, Windsurf 等 40+ 种代理
  50. ```bash
  51. npx skills add https://github.com/RollingGo-AI/rollinggo-hotel-skill-CN --skill rollinggo-hotel-booking
  52. ```
  53. CLI 会自动检测您系统上安装的 Agent。您也可以通过 `--agent` 强制指定目标环境:
  54. ```bash
  55. npx skills add https://github.com/RollingGo-AI/rollinggo-hotel-skill-CN --agent cursor
  56. ```
  57. ### 核心能力清单
  58. | 指令 | 业务描述 |
  59. |-------|-------------|
  60. | **`rgh login`** | OAuth 2.1 PKCE 免密安全授权 |
  61. | **`rgh search-hotels`** | 支持按地标、日期、标签多维度检索酒店 |
  62. | **`rgh hotel-detail`** | 实时拉取酒店房型、最新报价与退改政策 |
  63. | **`rgh price-confirm`** | 锁定房间价格并生成交易参考号 `referenceNo` |
  64. | **`rgh book`** | 提交预订入住人信息,返回真实的付款链接 |
  65. | **`rgh orders`** | 查阅历史订单及最新支付状态 |
  66. ### 大模型操作 SOP (标准作业程序)
  67. 要求 AI 建议或自动执行的规范代码流:
  68. ```bash
  69. # 1. 首先检查用户登录状态
  70. rgh whoami
  71. # -> 如果未登录,引导用户先执行 `rgh login`
  72. # 2. 检索意向酒店(例如:下周的上海酒店)
  73. rgh search-hotels --place "Shanghai" --check-in-date 2026-06-20
  74. # 3. 将搜索结果用 Markdown 呈现给用户。待用户挑选后,获取详情:
  75. rgh hotel-detail --hotel-id 12345 --check-in-date 2026-06-20
  76. # 4. 用户确定房型后,进行锁价预订 (此步为高风险,必须要求用户确认!)
  77. rgh price-confirm --hotel-id 12345 --rate-plan-id "RP01" --rooms 1 --check-in-date 2026-06-20 --check-out-date 2026-06-21 --adults 2
  78. # 5. 在用户同意上述锁定的价格并提供姓名邮箱后,正式下单:
  79. rgh book --reference-no "REF9999" --first-name "San" --last-name "Zhang" --email "zhangsan@example.com"
  80. ```
  81. ---
  82. ## ✨ 效果演示
  83. 以下展示通过 Claude Code、Cursor 等 AI 代理运行本 Skill 的完整对话和终端命令执行流程。你无需了解任何命令行参数,AI 代理会自动识别你的自然语言意图并调用 `rgh` CLI 命令行工具。
  84. ### 2.1 说需求
  85. ```
  86. 用户:我下周六(6月20日)要去杭州出差,帮我在杭州找个 5 星级的开元酒店,2 人住 1 晚
  87. ```
  88. AI 代理在后台执行酒店搜索:
  89. ```bash
  90. $ rgh search-hotels --origin-query "杭州5星级开元酒店,2人入住1晚" --place "杭州" --place-type "城市" --check-in-date 2026-06-20 --stay-nights 1 --star-ratings 5 --size 3
  91. ```
  92. 命令行输出:
  93. ```json
  94. {
  95. "success": true,
  96. "hotelInformationList": [
  97. {
  98. "hotelId": 1090005,
  99. "bookingUrl": "https://rollinggo.cn/xxxx",
  100. "name": "杭州富阳东方茂开元名都大酒店",
  101. "brand": "德胧",
  102. "address": "富春街道金桥北路61号",
  103. "destinationId": "6084457",
  104. "latitude": 30.049471,
  105. "longitude": 119.933616,
  106. "starRating": 5,
  107. "price": {
  108. "message": "查价成功。最低价格:352,币种:CNY",
  109. "hasPrice": true,
  110. "currency": "CNY",
  111. "lowestPrice": 352
  112. },
  113. "areaCode": "CN",
  114. "description": "<p><b>酒店简介描述</b><br/>杭州富阳东方茂开元名都大酒店地处富阳区CBD...</p>",
  115. "imageUrl": "https://image2-cdn.aigohotel.com/3/Image/1090005/0221d1200084a0cdf79B1_R_550_412.jpg-agh",
  116. "hotelAmenities": ["健身室", "室内恒温泳池", "大堂吧", "WIFI"],
  117. "tags": ["五星酒店", "健身房", "免费WiFi", "免费停车场"],
  118. "nameEn": "Grand New Century Hotel Fuyang"
  119. }
  120. ]
  121. }
  122. ```
  123. AI 代理将数据格式化,回复给用户:
  124. ```
  125. AI 助手: 找到以下符合要求的杭州五星级开元酒店:
  126. 🏨 杭州富阳东方茂开元名都大酒店
  127. ⭐ 5.0星 📍 位于富阳区CBD,地铁口旁
  128. 💰 参考价 ¥352/晚
  129. 🏷️ 五星酒店 · 健身房 · 免费WiFi · 免费停车场
  130. 🔗 [查看详情 & 预订](https://rollinggo.cn/xxxx)
  131. 你想了解该酒店的详细房型和报价吗?
  132. ```
  133. ---
  134. ### 2.2 选酒店、看房型
  135. ```
  136. 用户:好的,帮我看看这家酒店有什么房型
  137. ```
  138. AI 代理自动调用接口获取该酒店的实时房型及价格列表:
  139. ```bash
  140. $ rgh hotel-detail --hotel-id 1090005 --check-in-date 2026-06-20 --check-out-date 2026-06-21 --room-count 1 --adult-count 2
  141. ```
  142. 命令行输出:
  143. ```json
  144. {
  145. "success": true,
  146. "hotelId": 1090005,
  147. "bookingUrl": "https://rollinggo.cn/xxxx",
  148. "name": "杭州富阳东方茂开元名都大酒店",
  149. "checkIn": "2026-06-20",
  150. "checkOut": "2026-06-21",
  151. "roomRatePlans": [
  152. {
  153. "roomTypeId": 22724870,
  154. "roomName": "普通双床房",
  155. "roomNameCn": "普通双床房",
  156. "ratePlanId": "6sQgUxvnJoG-bzLZRIVAeUw",
  157. "ratePlanName": "普通双床房",
  158. "bedType": 5,
  159. "bedTypeDescription": "2 单人床",
  160. "currency": "CNY",
  161. "totalPrice": 352,
  162. "isOnRequest": false,
  163. "cancellationPolicies": [
  164. {
  165. "fromDate": "2026-06-19T00:00:00+08:00",
  166. "amount": 352
  167. }
  168. ]
  169. }
  170. ],
  171. "message": "搜索成功",
  172. "nameEn": "Grand New Century Hotel Fuyang"
  173. }
  174. ```
  175. AI 代理格式化呈现给用户:
  176. ```
  177. AI 助手: 杭州富阳东方茂开元名都大酒店房型明细如下:
  178. 🛏️ 普通双床房(2 单人床)
  179. 💰 总价 ¥352(¥352/晚) 剩余充足
  180. 📋 取消政策:2026年6月19日前取消收取全额房费罚金(不可免费取消)
  181. 如需预订此房型,请告诉我。
  182. ```
  183. ---
  184. ### 2.3 确认房型、锁价
  185. ```
  186. 用户:那就订普通双床房吧
  187. ```
  188. AI 代理在后台调用 `price-confirm` 命令锁价,确认实时报价并获取交易参考号:
  189. ```bash
  190. $ rgh price-confirm --hotel-id 1090005 --rate-plan-id "6sQgUxvnJoG-bzLZRIVAeUw" --rooms 1 --check-in-date 2026-06-20 --check-out-date 2026-06-21 --adults 2
  191. ```
  192. 命令行输出:
  193. ```json
  194. {
  195. "success": true,
  196. "message": "Price confirm success",
  197. "priceDetailsInfo": {
  198. "referenceNo": "17815407901",
  199. "checkInDate": "2026-06-20 00:00:00",
  200. "checkOutDate": "2026-06-21 00:00:00",
  201. "hotelList": [
  202. {
  203. "hotelName": "杭州富阳东方茂开元名都大酒店(Grand New Century Hotel Fuyang)",
  204. "totalPrice": 352,
  205. "referenceTotalPrice": 402,
  206. "ratePlanList": [
  207. {
  208. "roomName": "普通双床房",
  209. "bedType": 52,
  210. "currency": "CNY",
  211. "totalPrice": 352,
  212. "averagePrice": 352,
  213. "isOnRequest": false
  214. }
  215. ],
  216. "cancellationPolicyList": [
  217. {
  218. "fromDate": "2026-06-19T00:00:00+08:00",
  219. "amount": 352
  220. }
  221. ]
  222. }
  223. ]
  224. }
  225. }
  226. ```
  227. AI 代理向用户进行二次确认(安全门控机制):
  228. ```
  229. AI 助手: ✅ 价格与房态已锁定!
  230. 酒店:杭州富阳东方茂开元名都大酒店
  231. 房型:普通双床房
  232. 日期:2026-06-20 → 2026-06-21(1 晚)
  233. 总价:¥352(含税费)
  234. 取消政策:2026年6月19日前可取消,超期收取 ¥352 罚金
  235. ⏰ 锁定有效期:30分钟
  236. 确认预订吗?如果确认,请提供入住人的中文姓名拼音(或英文名)以及接收确认邮件的邮箱。
  237. ```
  238. > [!WARNING] 锁定有效期
  239. > 价格锁定有效期约 30 分钟。若用户犹豫时间过长,下单前 AI 代理会再次触发价格锁定以防失效。
  240. ---
  241. ### 2.4 确认下单、获取支付链接
  242. ```
  243. 用户:确认,入住人张三(ZHANG SAN),邮箱 zhangsan@example.com
  244. ```
  245. AI 代理调用 `book` 命令生成最终订单并获取支付链接:
  246. ```bash
  247. $ rgh book --reference-no "17815407901" --first-name "SAN" --last-name "ZHANG" --email "zhangsan@example.com"
  248. ```
  249. 命令行输出:
  250. ```json
  251. {
  252. "success": true,
  253. "bookingResult": {
  254. "orderNo": "H178168930177922821",
  255. "paymentType": "URL",
  256. "paymentUrl": "https://rollinggo.cn/xxxx"
  257. }
  258. }
  259. ```
  260. AI 代理提供支付卡片:
  261. ```
  262. AI 助手: 🎉 预订成功,订单已创建!
  263. 确认号:**H178168930177922821**
  264. 酒店:杭州富阳东方茂开元名都大酒店
  265. 房型:普通双床房
  266. 入住:2026-06-20 | 离店:2026-06-21
  267. 总价:¥352
  268. 💳 请在30分钟内点击以下链接完成支付:
  269. [点击前往完成支付](https://rollinggo.cn/xxxx)
  270. 支付完成后,您可以随时对我说“查看我的订单”进行状态核对。
  271. ```
  272. ---
  273. ### 2.5 查订单
  274. ```
  275. 用户:我的订单
  276. ```
  277. AI 代理查询该账户的所有订单列表:
  278. ```bash
  279. $ rgh orders
  280. ```
  281. 命令行输出:
  282. ```json
  283. [
  284. {
  285. "hotelBookingInfo": {
  286. "referenceNo": "17815407901",
  287. "status": "3",
  288. "checkInDate": "2026-06-20T00:00:00.000",
  289. "checkOutDate": "2026-06-21T00:00:00.000",
  290. "numOfRooms": 1,
  291. "nights": 1,
  292. "totalPrice": 352,
  293. "mainOrderNo": "M17816893017792282",
  294. "subOrderNo": "H178168930177922821",
  295. "language": "zh_CN",
  296. "channel": "AI_LAB",
  297. "partner": "rollinggo",
  298. "priceConfirmTime": "2026-06-17T17:41:28.000"
  299. },
  300. "hotelBookingHotel": {
  301. "hotelId": 1090005,
  302. "hotelName": "Grand New Century Hotel Fuyang",
  303. "hotelAddress": "富春街道金桥北路61号",
  304. "hotelPhone": "0571-63287888",
  305. "starRating": "5.0",
  306. "image": "https://image2-cdn.aigohotel.com/...",
  307. "timezone": "Asia/Shanghai",
  308. "checkInFrom": "15:00:00",
  309. "checkOutTo": "12:00:00",
  310. "cityCode": "6084457"
  311. },
  312. "hotelContact": {
  313. "firstName": "SAN",
  314. "lastName": "ZHANG",
  315. "phone": "+86-19189734356",
  316. "email": "zhangsan@example.com"
  317. },
  318. "hotelGuestList": [
  319. {
  320. "roomNum": 1,
  321. "firstName": "SAN",
  322. "lastName": "ZHANG",
  323. "isAdult": true
  324. }
  325. ],
  326. "hotelRatePlanInfo": {
  327. "hotelId": 1090005,
  328. "roomNum": 1,
  329. "adultCount": 2,
  330. "childCount": 0,
  331. "roomTypeId": 22724870,
  332. "roomName": "普通双床房",
  333. "roomNameCn": "普通双床房",
  334. "ratePlanId": "6sQgUxvnJoG-bzLZRIVAeUw",
  335. "ratePlanName": "普通双床房",
  336. "bedType": 5,
  337. "currency": "CNY",
  338. "totalPrice": 352,
  339. "averagePrice": 352,
  340. "isOnRequest": false,
  341. "hasWifi": true
  342. },
  343. "hotelDailyPriceList": [
  344. {
  345. "price": 352,
  346. "stayDate": "2026-06-20T00:00:00.000",
  347. "mealType": 1,
  348. "mealAmount": 0
  349. }
  350. ],
  351. "hotelCancellationPolicyList": [
  352. {
  353. "fromDate": "2026-06-19T00:00:00.000",
  354. "fromDateLocal": "2026-06-19T00:00:00.000",
  355. "amount": 352
  356. }
  357. ],
  358. "currentTimeBeijing": "2026-06-17T17:41:48.146"
  359. }
  360. ]
  361. ```
  362. AI 代理回复:
  363. ```
  364. AI 助手: 您当前有 1 笔进行中的酒店订单:
  365. 🏨 Grand New Century Hotel Fuyang (杭州富阳东方茂开元名都大酒店)
  366. 🛏️ 普通双床房 · 1间房 · 1晚
  367. 📅 入住日期:2026-06-20 至 2026-06-21
  368. 👤 入住人:ZHANG SAN
  369. 💰 总价:¥352
  370. 状态:已创建/待支付(Status: 3)
  371. 如果需要支付,可以点击此前的支付链接;若要了解退改详情,请告诉我。
  372. ```
  373. ---
  374. ### 2.6 完整对话链路
  375. ```mermaid
  376. sequenceDiagram
  377. participant U as 用户
  378. participant C as Claude
  379. participant M as Skill
  380. U->>C: 找杭州酒店
  381. C->>M: rgh search-hotels
  382. M-->>C: 返回 hotelInformationList (JSON)
  383. C-->>U: 格式化推荐列表
  384. U->>C: 查看开元名都房型
  385. C->>M: rgh hotel-detail
  386. M-->>C: 返回 roomRatePlans 列表 (JSON)
  387. C-->>U: 格式化展示房型
  388. U->>C: 预订普通双床房
  389. C->>M: rgh price-confirm
  390. M-->>C: 锁定价格并返回 priceDetailsInfo.referenceNo
  391. C-->>U: 提示价格已锁定并索要联系人
  392. U->>C: 提供联系人信息确认预订
  393. C->>M: rgh book
  394. M-->>C: 创建订单并返回 bookingResult.paymentUrl
  395. C-->>U: 提示创建成功,输出支付卡片
  396. U->>C: 查看我的订单
  397. C->>M: rgh orders
  398. M-->>C: 返回当前订单状态列表 (JSON)
  399. C-->>U: 格式化反馈订单状态
  400. ```
  401. ---
  402. ### 风险等级
  403. **中等风险 (MODERATE)** — 此技能可触发真实的现实世界酒店客房交易。已通过严格的两步确认机制拦截未经授权的 `book` 调用。
  404. 为 **RollingGo 酒店命令行工具** (`@rollinggo/hotel`) 量身定制的官方 AI 技能库。它能够教会各类 AI 代理正确的酒店预订流程、OAuth 2.1 PKCE 登录流,以及如何安全地在终端内触发真实的酒店交易。兼容 [skills CLI](https://github.com/vercel-labs/skills) 规范.给 AI 代理的提示:当用户要求**预订酒店**、**查询空房**或**查看订单**时,请按顺序使用 `rgh` 命令。绝对不要向用户泄露原始的 `hotelId` 或 `referenceNo` 等系统内部 ID,请将结果格式化为美观的 Markdown 卡片。
  405. > **安全警告**:本工具直接连接真实交易系统。技能库已向 AI 代理下达严格的“死命令”:**在未经用户明确确认价格和支付意愿前,绝不允许私自发起任何订单**。
  406. ---
  407. ## Structure / 代码架构
  408. ```text
  409. RollingGo-Skills/
  410. ├── README.md # Main orchestrator and SEO entry / 主入口与 SEO 文案
  411. ├── AGENTS.md # Directives for AI web crawlers / 针对 AI 爬虫的全局指令
  412. ├── .github/
  413. │ └── copilot-instructions.md
  414. └── skills/
  415. ├── llms.txt # AI Index for search engines / 大模型全局搜索索引
  416. └── rollinggo-hotel-booking/ # Core hotel booking skill / 核心酒店预订功能包
  417. ├── SKILL.md
  418. └── references/
  419. └── cli-params.md
  420. ```
  421. ## License
  422. MIT
  423. ## English
  424. Official AI skills for the **RollingGo Hotel CLI** (`@rollinggo/hotel`). They teach agents the correct booking sequence, OAuth 2.1 PKCE login flow, and how to safely trigger end-to-end hotel transactions from the terminal. Works with the [skills CLI](https://github.com/vercel-labs/skills) (Cursor, Claude Code, Codex, Windsurf, Copilot, 40+ agents).
  425. > **Important**: This CLI acts as a bridge to real-world bookings. AI agents are strictly instructed to **NEVER place an order without explicit price confirmation from the user**.
  426. **For AI agents:** When the user asks to **book a hotel**, **search for rooms**, or **check their orders**, use the `rgh` CLI commands sequentially. Never leak `hotelId` or `referenceNo` directly to the user; format results into user-friendly Markdown.
  427. ### npx skills (recommended)
  428. Works with Cursor, Claude Code, Codex, Windsurf, Copilot, Google Antigravity, and 40+ agents:
  429. ```bash
  430. # Install interactively (Select skills from menu)
  431. npx skills add https://github.com/RollingGo-AI/rollinggo-hotel-skill-CN
  432. # Or install a specific skill directly (e.g., rollinggo-hotel-booking)
  433. npx skills add https://github.com/RollingGo-AI/rollinggo-hotel-skill-CN --skill rollinggo-hotel-booking
  434. ```
  435. The CLI auto-detects the installed agent. To target one explicitly, pass `--agent`:
  436. ```bash
  437. npx skills add https://github.com/RollingGo-AI/rollinggo-hotel-skill-CN --agent cursor
  438. ```
  439. ### Clone / copy
  440. Clone this repo and copy the `skills/rollinggo-hotel-booking/` folder into the appropriate directory for your agent:
  441. | Agent | Skill Directory |
  442. |-------|-----------------|
  443. | Claude Code | `~/.claude/skills/` |
  444. | Cursor | `~/.cursor/skills/` |
  445. | OpenAI Codex | `~/.codex/skills/` |
  446. | Windsurf | `~/.windsurf/skills/` |
  447. | Google Antigravity | `~/.gemini/antigravity/skills/` |
  448. ### Capabilities
  449. | Command | Description |
  450. |-------|-------------|
  451. | **`rgh login`** | OAuth 2.1 PKCE Authorization |
  452. | **`rgh search-hotels`** | Search hotels by location, dates, tags |
  453. | **`rgh hotel-detail`** | View room types, live prices, cancellation policies |
  454. | **`rgh price-confirm`** | Lock a price and generate a booking `referenceNo` |
  455. | **`rgh book`** | Finalize order with guest info, returns payment link |
  456. | **`rgh orders`** | View historical orders and their payment status |
  457. ### Quick reference (for AI agents)
  458. Canonical order sequence to suggest or generate:
  459. ```bash
  460. # 1. Start with checking login status
  461. rgh whoami
  462. # -> If not logged in, prompt user to run `rgh login`
  463. # 2. Search for hotels (e.g. Shanghai next week)
  464. rgh search-hotels --place "Shanghai" --check-in-date 2026-06-20
  465. # 3. Present options to user and get their choice. Then fetch details:
  466. rgh hotel-detail --hotel-id 12345 --check-in-date 2026-06-20
  467. # 4. Once user picks a room and rate plan, lock the price (Requires user confirmation!)
  468. rgh price-confirm --hotel-id 12345 --rate-plan-id "RP01" --rooms 1 --check-in-date 2026-06-20 --check-out-date 2026-06-21 --adults 2
  469. # 5. After the user approves the locked price and provides their Name/Email:
  470. rgh book --reference-no "REF9999" --first-name "San" --last-name "Zhang" --email "zhangsan@example.com"
  471. ```
  472. ### Risk level
  473. **MODERATE** — Can trigger real-world hotel reservations. The skill enforces a strict two-step confirmation gate before making any `book` calls.
  474. ---

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.