pricewin-travel-search
它能做什么
这项技能指导你的智能体通过 PriceWin 服务搜索旅行价格。适合想比较特定日期酒店和机票的旅行者。
适用场景
- ✓想比较某城市特定入住和退房日期的酒店价格的时候。
- ✓想比较某天两个机场之间的机票价格的时候。
- ✓想在预订前核查某个酒店房价的取消政策的时候。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/web-data/pricewin-travel-search/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我比较 5 月 10 日至 5 月 14 日里斯本两位成人的酒店价格。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体收集你的行程信息,运行 PriceWin 搜索工具,并以美元总结实时价格。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
PriceWin Travel Search
Use only the tools of the pricewin MCP server (https://mcp.price.win/mcp,
installed with the web-data/pricewin MCP component). Agents prefix them with the server name — for
example mcp__pricewin__search_hotels_live — and the steps below use the bare
tool names. Do not replace them with browser automation, shell commands, direct
API calls, or invented booking URLs.
All prices are in USD.
Collect the required trip details
For a hotel search, obtain:
- destination or city;
- check-in and check-out dates;
- number of adults, defaulting to 2 when the user does not specify;
- number of rooms, defaulting to 1.
For a flight search, obtain:
- origin and destination airport IATA codes;
- departure date and optional return date;
- number of adults, defaulting to 1;
- cabin, defaulting to economy.
Resolve unambiguous relative dates from the current date. Ask one concise follow-up when a required date, destination, or airport is genuinely ambiguous. Never invent a date or silently choose among multiple plausible airports.
Pass language matching the user's language when supported. Do not put
unrelated conversation or personal data in queryText.
Search hotels
- Call
search_hotels_livewith the destination, dates, occupancy, and only the filters the user actually requested. - Read
sessionIdandnightsfrom the response. - Call
poll_search_resultswith thatsessionIdandnights. - If the response is pending or partial with no useful results, poll again until results arrive, the search completes or fails, or the session expires.
- Present a concise comparison of relevant results. Label the source and currency exactly as returned.
Use hotelName, area, priceMin, or priceMax only when the user supplied
that constraint. Do not claim that a result is the cheapest in the whole
market; describe it as the cheapest among the sources returned for this search.
A failed or missing source does not invalidate results from other sources.
Look up one named hotel
When the user names a single hotel rather than a city, call
get_ota_hotel_detail with hotelName and its city (or the Booking.com
propertyUrl from an earlier result) and the user's dates. It returns that
hotel's rooms, live prices, facilities and reviews from Booking.com.
Inspect an OpenTravel direct hotel
Call get_hotel_detail only for a hotel identified as an OpenTravel direct
listing.
- Prefer its
propertyIdfromopentravelResults. - Reuse the user's dates and occupancy.
- Use
hotelNamepluscityonly when the property is already known to be an OpenTravel direct listing and nopropertyIdis available. - Do not call this tool for an Agoda, Booking.com, or Traveloka-only result.
Present the returned photos, amenities, availability, room capacity, total price, per-night price, and currency without changing their meaning. State clearly when availability or a price is missing.
Answer a question about a hotel
For questions about a hotel itself — check-in and check-out times, facilities,
photos, description, room types — call get_hotel_info with the propertyId
of an OpenTravel direct listing, usually from opentravelResults of a search
already made. It needs no dates and returns no prices or availability; for
those, use get_hotel_detail. When the property has not published a field,
say so rather than filling it in.
Explain a cancellation policy
Call get_cancellation_policy only after get_hotel_detail supplies both:
- the property's
propertyId; and - the selected room's
ratePlanId.
Pass the check-in date so the tool can compute an exact deadline. Report the returned non-refundable status, refund percentage, free-cancellation window, deadline, and summary. Never infer a policy or deadline when the tool does not return one.
Search flights
- Call
search_flights_livewith IATA codes, departure date, optional return date, adults, and cabin. - Read the returned
sessionId. - Call
poll_flight_resultswith thatsessionId. - Continue only until useful results arrive, the search completes or fails, or the session expires.
- Present relevant options with source, carrier, times, stops, cabin, currency, and fare exactly as returned.
Keep outbound and return legs distinct. Each leg is a separate one-way ticket with its own booking link: when you pair an outbound and a return flight, give the total as the sum of the two fares and say that
常见问题
价格以什么货币显示?
该技能说明,所有价格均以美元显示。
它会收取付款吗?
不会。预订请求不收取费用,住客在酒店现场付款。
它需要哪些信息?
它需要目的地、日期和入住人数。信息不明确时,它会询问缺少的细节。
详情
作者的原始描述
Search and compare live hotel and flight prices with the PriceWin MCP server, look up one named hotel, inspect OpenTravel direct listings, send a booking request to a partner hotel (no payment; the guest pays at the property), and cancel one. Use when the user asks to find hotels or flights for dates, compare travel prices, inspect a hotel or room, check a rate's cancellation policy, book a partner hotel, or cancel a booking they made this way.
热度
- GitHub 星标
- 33k
- 排名
- #9099
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。