Loading...
Loading...
RollingGo Hotel Search & Booking Assistant. It enables the complete flow of hotel search and order management by calling the RollingGo hotel service APIs. Supported scenarios: ① Search hotels by city/attraction/subway station/airport and other locations ② Filter by star rating, budget, and tags (pool/breakfast included/family-friendly/pet-friendly, etc.) ③ Query real-time room types and prices for a specified hotel ④ Compare multiple hotels ⑤ Guide users through booking ⑥ Cancel orders (pre-cancel penalty check and confirmed cancellation). Trigger words: find a hotel, book a hotel, search hotels, hotel recommendation, hotel query, nearby hotels, five-star hotel, B&B, resort, check room rates, view room types, check-in, where to stay, accommodation, rollinggo, travel accommodation, business accommodation, family hotel, hotel with pool, breakfast-included hotel, cancel order, cancel hotel booking, check-out refund, cancel reservation.
npx skill4agent add rollinggo-ai/rollinggo-hotel-skill-cn rollinggo-hotel-bookingrghnpm install -g @rollinggo/hotel@latestrghbinpython scripts/install.pyrgh-win.exergh-windows.exergh-macosrgh-linuxhttps://github.com/RollingGo-AI/oauth-hotel-cli/releases/latestrghrgh.exebinrgh📦 A new version is available!run the following command to update⚠️ Output Rules:
- Never expose technical details to users, including but not limited to: tool names (e.g.
,search-hotels), JSON field names (e.g.hotel-detail,hotelId,ratePlanId), command-line content, and technical parameters.referenceNo- Only show information users care about: hotel name, star rating, price, distance, core facilities, tags, and booking link.
- Results must be formatted: each hotel should occupy its own card, with key information separated by line breaks. Never cram everything into one line.
- Price note: The price in search results is a reference display price. The actual booking price is subject to price confirmation. Indicate "reference price" when displaying.
- Login authorization: Users cannot see terminal output while interacting through an Agent. After running
, extract the authorization link from the output and reply with it. Do not show the QR code text.rgh login
⚠️ Hotel booking and cancellation involve real money and consumption operations:
- Two-step confirmation: After showing room types and prices, wait for the user's explicit choice before locking the price and placing the order.
- Information completeness: Confirm the guest's pinyin name and email address before placing the order.
- Price lock validity: The locked price voucher (
) is valid for about 15-30 minutes. If it expires, the price must be locked again.referenceNo- High-risk safety gate for order cancellation (two-step confirmation): Cancelling an order is irreversible. Absolutely do not cancel without a second confirmation! You must first run
to query the cancellation fee/penalty and voucher (pre-cancelvoucher is valid for 10 minutes), clearly report the deducted amount and estimated refund to the user, and only after receiving the user's explicit affirmative reply may you callconfirmId.confirm-cancel
💡 Dynamic Command/Parameter Self-Discovery Rule:
- Proxy invocation: All CLI commands are invoked through the proxy script:
(ornode scripts/rgh.js <subcommand>when Node.js is unavailable), to ensure environment resolution andpython scripts/rgh.py <subcommand>(rollinggoskill) are mounted automatically.CLIENT_ID- Dynamic parameter discovery: Before executing any subcommand, first run
to get the latest command-line parameter help, and dynamically assemble command parameters according to the latestnode scripts/rgh.js <subcommand> --helpoutput!--help
node scripts/rgh.js statuswhoaminode scripts/rgh.js loginWaitMsBeforeAsync=2000https://rollinggo.store/s/xxxnode scripts/rgh.js hotel-tagsnode scripts/rgh.js search-hotels --help城市机场景点火车站地铁站酒店区/县详细地址%20<img>🏨 {Hotel Name}
⭐ {Star} Star *(Only show when the `distanceInMeters` field is returned: 📍 {distance} meters from {search location})*
💰 Reference price ¥{lowest price}/night
🏷️ {Tag 1} · {Tag 2} · {Tag 3}
node scripts/rgh.js hotel-detail --helphotelId🛏️ {Room Type Chinese Name} ({Bed Type Description})
💰 Total price ¥{totalPrice} (¥{average price}/night)
📋 Cancellation policy: {Cancellation policy description}node scripts/rgh.js price-confirm --helpreferenceNonode scripts/rgh.js book --help📝 Order created, pending payment!
Confirmation No.: **{orderNo}**
Hotel: {Hotel Name}
Room type: {Room Type Name}
Check-in: {Check-in date} | Check-out: {Check-out date}
Total price: ¥{price}
📋 Cancellation policy: {Cancellation policy description}
💳 Please complete payment within 30 minutes: {payment link}node scripts/rgh.js orders --helpnode scripts/rgh.js order-detail --help⚠️ High-risk security gate: Cancelling an order is an irreversible operation and cannot be undone after cancellation! You must strictly follow the two-step confirmation:
- First call
to query the cancellation fee/penalty and confirmation voucher (pre-cancelvoucher is valid for 10 minutes).confirmId- Report the penalty amount and estimated refund to the user truthfully, and must wait for the user's explicit affirmative reply before running
to submit the cancellation.confirm-cancel
node scripts/rgh.js pre-cancel --helpnode scripts/rgh.js ordersnode scripts/rgh.js pre-cancel --order-no <orderNo>canCancelpenaltyAmountconfirmIdbookingIdcanCancel⚠️ Order cancellation confirmation:
Order No.: **{orderNo}**
Hotel: {Hotel Name}
Cancellation fee/penalty: ¥{penaltyAmount}
Estimated refund: ¥{estimated refund amount}
⚠️ The order cannot be recovered after cancellation. Please confirm whether to continue with the cancellation?node scripts/rgh.js confirm-cancel --helpnode scripts/rgh.js confirm-cancel --order-no <orderNo> --booking-id <bookingId> --confirm-id <confirmId>✅ Order cancelled successfully!
Confirmation No.: **{orderNo}**
Refund is being processed. The money will be returned via the original payment method and is expected to arrive within 1-3 business days.hotelIdratePlanIdreferenceNo