← Back to Skills Marketplace
travel-skills

W酒店查询与预订

by 旅行技能 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
41
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install whotels-booking
Description
搜索万豪集团旗下W酒店并返回实时价格与预订链接,支持酒店详情查询和套餐优惠搜索。当用户需要预订W酒店、查找W Hotels酒店价格时使用
README (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":"上海"}'
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install whotels-booking
  3. After installation, invoke the skill by name or use /whotels-booking
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug whotels-booking
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is W酒店查询与预订?

搜索万豪集团旗下W酒店并返回实时价格与预订链接,支持酒店详情查询和套餐优惠搜索。当用户需要预订W酒店、查找W Hotels酒店价格时使用. It is an AI Agent Skill for Claude Code / OpenClaw, with 41 downloads so far.

How do I install W酒店查询与预订?

Run "/install whotels-booking" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is W酒店查询与预订 free?

Yes, W酒店查询与预订 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does W酒店查询与预订 support?

W酒店查询与预订 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created W酒店查询与预订?

It is built and maintained by 旅行技能 (@travel-skills); the current version is v1.0.0.

💬 Comments