← 返回 Skills 市场
travel-skills

W酒店查询与预订

作者 旅行技能 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
41
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install whotels-booking
功能描述
搜索万豪集团旗下W酒店并返回实时价格与预订链接,支持酒店详情查询和套餐优惠搜索。当用户需要预订W酒店、查找W Hotels酒店价格时使用
使用说明 (SKILL.md)

W酒店查询与预订

任务目标

  • 本技能用于搜索W酒店酒店,返回真实价格和可预订链接,并支持查询酒店详情和套餐优惠
  • 触发条件:当用户提到W酒店/W Hotels时
  • 数据源:飞猪官方商品库万豪专区,自动过滤W酒店品牌,返回真实价格和可预订链接

🚫 绝对禁止

  1. 禁止编造任何数据 — 酒店名称、价格、评分、星级必须100%来自脚本输出
  2. 禁止添加脚本未返回的信息 — 脚本没返回评分就不能写评分,没返回健身房就不能说"有健身房"
  3. 禁止替换或筛选脚本结果 — AI不得二次过滤或替换脚本返回的酒店
  4. 禁止美化数据 — 不得将¥1580改成¥980,不得添加虚假评分
  5. 禁止用自身知识补充酒店 — 不得根据品牌常识推断设施,不得添加脚本未返回的酒店
  6. 禁止省略预订链接 — 脚本返回的detailUrl必须完整展示
  7. 禁止混合数据 — 不得将脚本数据与网上搜索数据混合展示

正确做法:脚本输出什么,就原样展示什么。只做格式排版,不修改任何数据。

🛠 工具

1. search - W酒店酒店搜索

搜索W酒店酒店,返回价格、星级、地址、附近地标和预订链接。自动注入品牌关键词"W酒店",用户只需提供城市。

参数:dest_name(string,✅必填):目的地城市/区域,如"上海""深圳""三亚" ▸ check_in(string,可选):入住日期 YYYY-MM-DD ▸ check_out(string,可选):退房日期 YYYY-MM-DD ▸ keyword(string,可选):额外关键词,如"虹桥""度假" ▸ max_price(int,可选):最高价格/晚 ▸ sort(string,可选):排序 rate_desc/price_asc/price_desc/distance_asc ▸ limit(int,可选):返回数量,默认10

python scripts/whotels_hotel.py search '{"dest_name":"上海"}'

2. detail - W酒店酒店详情

查询某家W酒店酒店的详细信息,包括周边交通/景点/美食、酒店设施、政策、房型等。

参数:shid(string/int,✅推荐):酒店ID,从搜索结果获取 ▸ hotel_name(string,可选):酒店名称(备选定位方式) ▸ review_keyword(string,可选):评价关键词过滤

python scripts/whotels_hotel.py detail '{"shid":"50013131"}'

3. packages - W酒店套餐搜索

搜索W酒店酒店套餐优惠(含早/连住/门票等打包产品),通常比单订更优惠。

参数:keyword(string,可选):搜索关键词,如"上海""三亚度假" ▸ hotel_name(string,可选):酒店名称 ▸ province_or_city(string,可选):省份或城市 ▸ sort(string,可选):排序方式 ▸ limit(int,可选):返回数量,默认10

python scripts/whotels_hotel.py packages '{"keyword":"上海"}'

执行流程

  1. 用户提到W酒店 → 调用 search 搜索酒店列表
  2. 用户想了解某家酒店详情(交通/设施/房型) → 从搜索结果获取shid,调用 detail
  3. 用户找优惠或套餐 → 调用 packages 搜索打包产品
  4. 展示结果时,预订链接以 点击预订 格式展示
  5. 所有结果末尾标注"数据来源:飞猪官方商品库·万豪集团专区"

使用示例

示例1:搜索W酒店酒店

  • 用户:"上海有什么W酒店酒店"
  • 调用:python scripts/whotels_hotel.py search '{"dest_name":"上海"}'

示例2:预算筛选

  • 用户:"上海800块以内的W酒店"
  • 调用:python scripts/whotels_hotel.py search '{"dest_name":"上海","max_price":800,"sort":"price_asc"}'

示例3:酒店详情

  • 用户:"上海W酒店怎么样"
  • 调用:python scripts/whotels_hotel.py detail '{"shid":"50013131"}'

示例4:套餐优惠

  • 用户:"W酒店有什么优惠套餐"
  • 调用:python scripts/whotels_hotel.py packages '{"keyword":"上海"}'
安全使用建议
Install only if you are comfortable with your W Hotels searches, dates, locations, and filters being sent to the listed third-party proxy. The skill is not showing destructive or deceptive local behavior, but the publisher should disclose the proxy data flow and move the proxy token out of the public source.
能力评估
Purpose & Capability
The hotel search, detail, and package functions match the stated W Hotels booking purpose, but they depend on an external Tencent SCF proxy and include a bundled proxy authentication token.
Instruction Scope
The runtime instructions are scoped to W Hotels and do not contain unrelated agent-control behavior, but the user-facing SKILL.md describes Fliggy/Marriott data without clearly disclosing the proxy endpoint or token-mediated data flow.
Install Mechanism
The artifact contains only SKILL.md and one Python script; no install hooks, package installation, or automatic startup behavior were observed.
Credentials
Outbound network access is purpose-aligned for live hotel prices, but destination, date, keyword, hotel ID, and review filter parameters are posted to a third-party proxy without an explicit user consent or trust-boundary statement.
Persistence & Privilege
No local persistence, filesystem mutation, or privilege escalation was found, but a long-lived proxy token is embedded directly in the source and automatically sent with requests.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install whotels-booking
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /whotels-booking 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the "W酒店查询与预订" skill for searching and booking W Hotels in China. - Supports hotel search with real-time prices and direct booking links, using data from Fliggy’s official Marriott zone. - Enables hotel detail queries, including amenities and room types based on script-provided data. - Allows searching for special packages and deals at W Hotels. - Strict data handling rules to ensure all information and links come directly from the source, with zero fabrication or data enhancement.
元数据
Slug whotels-booking
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

W酒店查询与预订 是什么?

搜索万豪集团旗下W酒店并返回实时价格与预订链接,支持酒店详情查询和套餐优惠搜索。当用户需要预订W酒店、查找W Hotels酒店价格时使用. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。

如何安装 W酒店查询与预订?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install whotels-booking」即可一键安装,无需额外配置。

W酒店查询与预订 是免费的吗?

是的,W酒店查询与预订 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

W酒店查询与预订 支持哪些平台?

W酒店查询与预订 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 W酒店查询与预订?

由 旅行技能(@travel-skills)开发并维护,当前版本 v1.0.0。

💬 留言讨论