pricewin-travel-search
Skill này làm gì
Skill này hướng dẫn agent AI tìm kiếm giá du lịch thông qua dịch vụ PriceWin. Skill dành cho người đi du lịch muốn so sánh khách sạn và chuyến bay cho những ngày cụ thể.
Khi nào nên dùng
- ✓Khi bạn muốn so sánh giá khách sạn ở một thành phố cho ngày nhận và trả phòng cụ thể.
- ✓Khi bạn muốn so sánh giá vé máy bay giữa hai sân bay vào một ngày nhất định.
- ✓Khi bạn muốn kiểm tra chính sách hủy của một mức giá phòng trước khi đặt.
Liên kết skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/web-data/pricewin-travel-search/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể so sánh giá khách sạn ở Lisbon cho hai người lớn từ ngày 10 đến 14 tháng 5 không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent thu thập thông tin chuyến đi của bạn, chạy các công cụ tìm kiếm PriceWin và tóm tắt giá theo thời gian thực bằng đô la Mỹ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Giá được hiển thị bằng đơn vị tiền tệ nào?
Skill cho biết tất cả giá đều bằng đô la Mỹ.
Có thanh toán không?
Không. Yêu cầu đặt phòng không thu tiền, và khách thanh toán tại chỗ nghỉ.
Cần những thông tin nào?
Cần điểm đến, ngày và số khách. Skill sẽ hỏi thêm khi thông tin chưa rõ.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #9099
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
owasp-security
33kDạy agent hướng dẫn bảo mật OWASP cho ứng dụng web, API, di động, container và agent AI, để nhận ra các điểm yếu phổ biến và gợi ý cách sửa.
agent-management
33kCho phép agent của bạn tạo, liệt kê, cho ngủ đông, đánh thức, đổi tên và xóa các agent AI bằng dòng lệnh AI Maestro, quản lý vòng đời của từng agent.
agent-messaging
33kCho phép agent của bạn gửi, nhận và trả lời tin nhắn có chữ ký giữa các agent AI, dùng Agent Messaging Protocol, chủ yếu trên máy của bạn.
docs-search
33kCho phép agent của bạn tìm trong tài liệu code được tạo tự động, như chữ ký hàm, định nghĩa lớp và chú thích, để kiểm tra API thật trước khi sửa code.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.