price-win/pricewin-skills-hub

pricewin-price-comparison

Compare live hotel room rates across Booking.com, Agoda, Traveloka, and OpenTravel for specific dates — which OTA is cheapest for the same property, per-room prices, and free-cancellation terms.

All-time #1458 First seen Jul 18, 2026
8-week activity · all time api

Installation

$ npx skills add price-win/pricewin-skills-hub --skill pricewin-price-comparison

Summary

  • Compare live hotel room rates across Booking.com, Agoda, Traveloka, and OpenTravel for specific dates — which OTA is cheapest for the same property, per-room prices, and free-cancellation terms.
  • Use when comparing hotel prices, checking room rates for a named hotel, asking which site is cheaper, or finding the best rate for given check-in/check-out dates.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from price-win/pricewin-skills-hub.

npx skills add price-win/pricewin-skills-hub

Browse all from price-win/pricewin-skills-hub

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.3
Declared agents clawdbot
More metadata
openclaw
{"emoji":"⚖️","homepage":"https:\/\/github.com\/Price-Win\/pricewin-skills-hub"}

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,929 B
  • docs SUMMARY.md 392 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 10,500 installs

SKILL.md

Requires the pricewin MCP server. This skill issues no network calls of its own.

Price Comparison

MCP server: pricewin. Compares live rates across Booking.com, Agoda, Traveloka (crawled) plus OpenTravel (direct API).

Comparison is something you do over the returned sources — there is no server-side compare call. Pick the entry point by what the user gave you:

User gave you Tool
A city — "compare hotel prices in Da Nang" searchhotelslivepollsearchresults
A named hotel — "is Mercure Danang cheaper on Agoda or Booking?" getotahotel_detail
A hotel already known to be OpenTravel direct (source: "OPENTRAVEL_DIRECT", has propertyId) gethoteldetail

City-wide comparison

searchhotelslive returns IMMEDIATELY with a sessionId — it does not return hotels.

  1. searchhotelslive — required: city, checkIn, checkOut (YYYY-MM-DD). Optional: adults (default 2), rooms, area, hotelName, priceMin, priceMax, language
  2. Wait 5s → pollsearchresults(sessionId, nights)
  3. While status is pending or partial: wait 5s and poll again — up to 18 times (90s)
  4. Present as soon as status == "partial" with hotels; keep polling silently and refine

Then compare per hotel across its sources. See [pricewin-hotel-search](../pricewin-hotel-search/SKILL.md) for the full dedupe + presentation contract — do not restate it differently here.

Single named hotel

getotahotel_detail — for one specific Booking.com/Agoda hotel the user named.

  • Required: checkIn, checkOut. Pass hotelName + city + queryText (verbatim user text) whenever known
  • Do NOT call searchhotelslive for a named hotel — that returns a whole-city list
  • Live crawl, ~20–60s. Say nothing about "loading" until it actually returns
  • Speed-up: if a prior search already gave you prices.booking.url, pass it as propertyUrl to skip name resolution
  • If it returns not-found under load, retry once

Returns rooms, prices, facilities, photos, reviews for that property.

OpenTravel direct properties

gethoteldetail — only for results with source: "OPENTRAVEL_DIRECT".

  • Pass propertyId (UUID from opentravelResults[].propertyId) when available
  • hotelName + city is a fallback only for a property already confirmed as OpenTravel direct
  • Required: checkIn, checkOut. Optional: adults, children, language
  • Returns room types with roomTypeId and ratePlanId — these are what make a property bookable

⚠️ Router rule: have a propertyIdgethoteldetail. Name only → getotahotel_detail.

Cancellation terms

For OpenTravel rate plans only: getcancellationpolicy(propertyId, ratePlanId, checkInDate) → non-refundable flag, free-cancellation window, refund %, and the computed deadline.

ratePlanId comes from gethoteldetailroomTypes[].ratePlanId. Pass checkInDate or you get no deadline. OTA hotels have no structured policy — quote whatever the crawl returned.

Presenting a comparison

  • Rank purely by price. No source gets priority, OpenTravel included
  • Show the cheapest source first, then the others underneath:

Agoda $X · Booking $Y · OpenTravel $Z

  • Savings vs the next-cheapest source: (next - cheapest) / next * 100 → "Save Z%"
  • When the gap is small, prefer the free-cancellation option and say why
  • All prices USD unless the tool says otherwise. No conversion

Tool inputs and response fields: [reference.md](reference.md).

Security & data handling

Documentation only — no code, no dependencies, no network calls of its own. The only data sent is the comparison query (city or hotel name, dates, guests, plus queryText — the user's message verbatim), to PriceWin's hosted MCP server https://mcp.price.win/mcp (no credentials, no account). No PII, and this skill cannot book or pay for anything. Full disclosure — operator, backend provenance, exact fields per tool — in [SECURITY.md](./SECURITY.md).