RollingGo 酒店搜索与预订助手,通过调用 RollingGo 酒店服务接口实现酒店查询到下单预订全流程。支持场景:① 按城市/景点/地铁站/机场等地点搜索酒店 ② 按星级、预算、标签(泳池/含早/亲子/宠物友好等)筛选 ③ 查询指定酒店的实时房型与价格 ④ 对比多家酒店 ⑤ 引导用户完成预订。触发词:找酒店、订酒店、搜酒店、酒店推荐、酒店查询、附近酒店、五星酒店、民宿、度假村、查房价、看房型、入住、住哪、住宿、rollinggo、旅游住宿、出差住宿、亲子酒店、带泳池的酒店、含早餐酒店。
npx skills add https://github.com/RollingGo-AI/rollinggo-hotel-skill-cn --skill rollinggo-hotel-booking
> - 每日检查:若当前目录下的 .version_check 不存在或记录日期非今天,静默请求远端 SKILL.md(地址拼接规则:将元数据中的 {repository} 域名替换为 raw.githubusercontent.com,并在末尾追加 /main/skills/{name}/SKILL.md)对比 version 字段。若远端有更新,在回复开头提示用户更新。无论成败,均将今日日期 YYYY-MM-DD 写入 .version_check。
> - 更新命令:请运行 npx skills update {name} 更新技能包。
如果本地环境未安装 rgh 命令,可以通过以下三种方式之一进行安装:
方式一:通过 npm 安装(推荐)
如果环境中有 Node.js 和 npm,请执行:
npm install -g @rollinggo/hotel@latest
方式二:通过 Python 自动脚本安装(免 Node.js 环境)
如果环境中有 Python,可以直接在 Skill 目录下运行我们提供的自动化安装脚本,它将自动检测您的操作系统并下载最新版的 rgh 独立二进制程序到本地 bin 文件夹:
python scripts/install.py
方式三:手动下载独立可执行文件(免 Node/Python 环境)
如果环境中既没有 npm 也没有 Python,请从以下 Release 页面下载对应的单文件程序(Windows: rgh-win.exe / rgh-windows.exe, Mac: rgh-macos, Linux: rgh-linux):
https://github.com/RollingGo-AI/oauth-hotel-cli/releases/latest
下载后将其重命名为 rgh(Windows下为 rgh.exe),赋予执行权限,并放入系统环境变量 PATH 或技能目录的 bin 文件夹中。
⚠️ 自动升级拦截原则:
CLI 工具内置了版本检测。当你在执行任何 rgh 命令时,如果控制台输出中出现 📦 有新版本可用! 或 运行以下命令更新 的提示,你必须立即暂停当前操作,先使用上述三种方式之一将工具升级到最新版,升级成功后再重新执行刚才中断的命令。 这样可避免由于服务端接口过期而导致的预订失败。
> ⚠️ 输出规范:
> 1. 严禁向用户展示任何技术细节,包括但不限于:工具名(如 search-hotels、hotel-detail)、JSON 字段名(如 hotelId、ratePlanId、referenceNo)、命令行内容、技术参数。
> 2. 只展示用户关心的信息:酒店名称、星级、价格、距离、核心设施、标签、预订链接。
> 3. 结果必须格式化展示,每家酒店独占一个卡片,关键信息换行分隔,禁止堆砌在一行。
> 4. 价格说明:搜索结果中的价格为参考展示价,实际下单价以价格确认为准,展示时注明"参考价"。
> 5. 登录授权:用户通过 Agent 对话时看不到终端输出,执行 rgh login 后必须从输出中提取授权链接并回复给用户,不要展示二维码文本。
用户涉及酒店住宿相关的任何意图时均应触发本 Skill,包括但不限于以下场景:
搜索与发现:
查询与对比:
预订与订单:
触发词覆盖:
找酒店、订酒店、搜酒店、酒店推荐、酒店查询、附近酒店、五星酒店、民宿、度假村、查房价、看房型、入住、住哪、住宿、出差住宿、旅游住宿、亲子酒店、带泳池的酒店、含早餐酒店、商务酒店、情侣酒店、温泉酒店、海景房、江景房。
> ⚠️ 酒店预订属于真实消费操作:
> 1. 两步确认:展示房型和价格后,须等用户明确选择方可锁价与下单。
> 2. 信息完整性:下单前须确认入住人姓名拼音与邮箱。
> 3. 锁价时效:锁定的价格凭证(referenceNo)有效期约 15-30 分钟,超时须重新锁价。
> 💡 动态命令与参数自探知法则 (Self-Discovery Rule):
> 1. 代理调用:所有 CLI 命令统一通过代理脚本调用:node scripts/rgh.js <子命令>(无 Node 环境时使用 python scripts/rgh.py <子命令>),以确保自动完成环境解析与 CLIENT_ID (rollinggoskill) 的挂载。
> 2. 动态参数探知:执行任何子命令前,先运行 node scripts/rgh.js <子命令> --help 获取实时命令行参数帮助,并按最新的 --help 动态拼装命令参数!
node scripts/rgh.js whoami 检查登录状态。node scripts/rgh.js login(⚠️ 必须以异步/后台模式运行,如 WaitMsBeforeAsync=2000)。从输出提取授权链接(https://rollinggo.store/s/xxx),回复给用户完成授权。node scripts/rgh.js hotel-tags 精确匹配标签名称。node scripts/rgh.js search-hotels --help 查看最新筛选参数,根据用户需求拼装命令。城市、机场、景点、火车站、地铁站、酒店、区/县、详细地址。搜索结果展示模板(每家酒店一个卡片):
*(【极其重要】:你必须使用标准的 Markdown 图片语法 !alt 来渲染 imageUrl,且必须将图片展示在模板末尾。若 imageUrl 中包含未编码的空格,需手动将空格替换为 %20,或使用尖括号将其包裹如 !alt,否则会导致宿主平台无法渲染图片!绝对禁止使用 HTML <img> 标签,绝对禁止使用纯文本 URL!)*
🏨 {酒店名称}
⭐ {星级}星 *(仅当返回了 distanceInMeters 字段时展示:📍 距{搜索地点}{距离}米)*
💰 参考价 ¥{最低价}/晚
🏷️ {标签1} · {标签2} · {标签3}

返回 3-5 家酒店后,询问用户:"想了解哪家的详细房型和价格?"
node scripts/rgh.js hotel-detail --help 查看参数,传入选中的 hotelId 查询实时房态报价。房型展示模板(每个房型一条):
🛏️ {房型中文名}({床型描述})
💰 总价 ¥{totalPrice}(¥{均价}/晚)
📋 取消政策:{取消政策描述}
展示 3-5 个推荐房型后,引导用户回复:“请告诉我您选择的房型名称,我来为您锁定价格并办理下单。”
node scripts/rgh.js price-confirm --help 查看参数,锁定价格并获取凭证 referenceNo。node scripts/rgh.js book --help 查看参数,提交订单并提取支付链接。待支付订单展示模板:
*(【极其重要】:绝不能臆造或编造支付方式(如“自动识别环境,支持支付宝或微信”)。必须严格按照以下模板输出,绝不允许自行添加任何关于支付环境或支付方式的说明!)*
📝 订单已生成,等待支付!
确认号:**{orderNo}**
酒店:{酒店名}
房型:{房型名}
入住:{入住日期} | 离店:{离店日期}
总价:¥{价格}
📋 取消政策:{取消政策描述}
💳 请在30分钟内完成支付:{支付链接}
node scripts/rgh.js orders --help 或 node scripts/rgh.js order-detail --help 查询用户历史订单或单条订单详情。若搜索 0 结果,按以下顺序静默放宽条件重试:
hotelId、ratePlanId、referenceNo、JSON 响应或命令行。Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
Build and distribute Expo development clients locally or via TestFlight
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
Take rollinggo-ai/rollinggo-hotel-booking from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm, npx.
Without those the skill loads but fails at the first command.