本文へスキップ
Skillpedia
タスクとプロジェクト33k · #9099

pricewin-travel-search

できること

このスキルは、PriceWinサービスを通じて旅行の価格を検索するようAIを導きます。特定の日程でホテルやフライトを比べたい旅行者向けです。

使う場面

  • ✓特定のチェックイン日とチェックアウト日について、ある都市のホテルの価格を比べたいとき。
  • ✓ある日の2つの空港間のフライトの価格を比べたいとき。
  • ✓予約する前に、ホテルの料金プランのキャンセルポリシーを確認したいとき。

スキルのリンク

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に貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/web-data/pricewin-travel-search/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“5月10日から5月14日まで、大人2名でリスボンのホテルの価格を比べてください。”

毎週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

  1. Call search_hotels_live with the destination, dates, occupancy, and only the filters the user actually requested.
  2. Read sessionId and nights from the response.
  3. Call poll_search_results with that sessionId and nights.
  4. 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.
  5. 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 propertyId from opentravelResults.
  • Reuse the user's dates and occupancy.
  • Use hotelName plus city only when the property is already known to be an OpenTravel direct listing and no propertyId is 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

  1. Call search_flights_live with IATA codes, departure date, optional return date, adults, and cabin.
  2. Read the returned sessionId.
  3. Call poll_flight_results with that sessionId.
  4. Continue only until useful results arrive, the search completes or fails, or the session expires.
  5. 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.

repo: davila7/claude-code-templates

人気

GitHubのスター
33k
ランキング
#9099
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル