
pricewin-flight-search
Search live flight fares for a route and date across Agoda, Trip.com, and Traveloka — one-way or round-trip, any cabin, with airline, times, stops, duration, and a direct booking link. Use when the user wants flight prices, plane or air tickets, cheap flights or airfare between two cities, comparing airlines for travel dates, or planning the flying leg of a trip.
- Installs
- 10.6K
- Last 24h
- —
- Trending rank
- —
- Security
- Fail
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/price-win/pricewin-skills-hub --skill pricewin-flight-search- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads pricewin-flight-search automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
Security audits
Independent scans of the skill's instructions and bundled files.
SKILL.md
The instructions your agent reads when the skill is triggered.
Requires the
pricewinMCP server. This skill issues no network calls of its own.
Setup (once per machine)
Without the MCP server registered this skill is inert — it tells you to call
search_flights_live and no such tool exists. skills add only copies files, so run:
bash install.sh # add --dry-run first to see what it would change
It registers the hosted server (https://mcp.price.win/mcp, Streamable HTTP, no
credentials) with every agent it finds — Claude Code, Cursor, Windsurf, Gemini CLI, VS Code,
Codex — writing a .bak before touching any file and skipping configs it cannot parse.
Re-running it changes nothing. Restart the agent afterwards.
Flight Search (Live)
MCP server: pricewin. Tool search_flights_live starts an async crawl across Agoda,
Trip.com and Traveloka; poll_flight_results returns the merged, cheapest-per-flight fares.
CRITICAL: IATA codes only
Both airports MUST be 3-letter IATA codes. There is no airport-lookup tool on this server —
resolve the city yourself: Sài Gòn / TP.HCM → SGN, Hà Nội → HAN, Đà Nẵng → DAD,
Bangkok → BKK (main international), Tokyo → NRT or HND, Seoul → ICN.
When a city has several airports and the user did not say which, ask one short question — never pick silently. Never invent a code.
CRITICAL: Polling pattern (differs from hotel search)
search_flights_live returns IMMEDIATELY with a sessionId and zero flights.
- Call
search_flights_livewith origin, destination, departureDate (YYYY-MM-DD), andreturnDateonly for a round trip. Addadults,cabin,language="vi"as needed. - Call
poll_flight_results(sessionId). This tool blocks internally up to ~30s and returns as soon as the first fares land — do NOT sleep before calling it. statusispending|searching|completed|failed. If it comes backsearchingwith few or no flights, call again — up to 4 more times.- Present results as soon as flights arrive; keep polling only if the user wants more.
The session expires 15 minutes after the last poll. After that, start a new search —
the old sessionId is dead.
poll_flight_resultsis registered app-visible for the flight widget. If your host does not expose it to the model, let the widget do the polling and do not fabricate fares.
CRITICAL: price is the party total, in USD
price is the total for all adults — not per-person, and not the two legs combined.
Divide by adults yourself for a per-person figure.
currency is "USD". Do not convert it. It falls back to "VND" only when the live FX
rate was unavailable — so read currency and label the figure with it rather than assuming
either one.
Response format (MUST follow exactly)
Present the TOP 5-7 flights per leg ONLY. For EACH flight:
✈️ *<airline> <flightNumber>* ← bold via markdown
🕐 <dep.time> <origin> → <arr.time> <destination> · <Xh Ym> · <bay thẳng | N điểm dừng>
💰 $<price> tổng cho <adults> khách (~$<price/adults>/khách)
🔗 <bookingUrl>
Line break between flights, no bullet markers. Cheapest flight gets 🏆. duration is in
minutes — format it as 2h 10m. Flag an overnight arrival when arrival.date differs
from departure.date.
Round trips
outboundFlights and returnFlights are two independent one-way searches. List them under
separate headings. You may state a combined estimate as
cheapest outbound + cheapest return, but label it as two separate one-way tickets — it is
not a quoted round-trip fare and the two legs are booked separately.
Booking URLs — use verbatim
bookingUrl is the deep link of the cheapest agent, with dates and passengers already baked in.
Never append, rewrite, or construct params (unlike the hotel skill). A bookingUrl of exactly
https://www.price.win/ means no agent deep link was captured — say the fare must be re-checked
on the provider's site instead of presenting it as a click-to-book link.
Attribute the source only from the URL host (agoda.com, trip.com, traveloka.com) — the
result carries no explicit source field, so do not guess one.
Fields that look useful but are not
stopCities— always empty; describe stops by count onlydeparture.city/arrival.city— repeat the IATA code, not a real city namelegs— usually absent on list results; don't promise a segment breakdown
Ranking
Sort by price. Cheapest first, but surface a non-stop or much shorter option when it costs
only marginally more — say so in one line rather than reordering silently.
Security & data handling
No runtime code and no network calls of its own; the only executable is
install.sh, which adds one MCP entry (pricewin → https://mcp.price.win/mcp)
to agent configs the user already has, backing each file up first and skipping
any it cannot parse. It downloads and executes nothing. The only data sent is the
route query (IATA codes, dates, passengers, cabin) — no passenger names, no PII,
no credentials. Comparison only: this skill cannot book or pay. Full disclosure
in SECURITY.md.
FAQ
What does the pricewin-flight-search skill do?
Search live flight fares for a route and date across Agoda, Trip.com, and Traveloka — one-way or round-trip, any cabin, with airline, times, stops, duration, and a direct booking link. Use when the user wants flight prices, plane or air tickets, cheap flights or airfare between two cities, comparing airlines for travel dates, or planning the flying leg of a trip.
How do I install pricewin-flight-search?
Run npx skills add https://github.com/price-win/pricewin-skills-hub --skill pricewin-flight-search in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/pricewin-flight-search/ (personal) or .claude/skills/pricewin-flight-search/ (project).
Which AI agents can use pricewin-flight-search?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is pricewin-flight-search safe to install?
Security partners have reviewed it: Gen Agent Trust Hub flagged items to review; Socket passed; Snyk flagged risks. As with any skill, read the SKILL.md and bundled scripts before installing.
Who maintains pricewin-flight-search?
It is published by price-win in price-win/pricewin-skills-hub. It has 10,573 recorded installs.
More from price-win/pricewin-skills-hub
pricewin-hotel-deal-finder
price-win/pricewin-skills-hub
Find the cheapest hotel deal by comparing live prices across Booking.com, Agoda, Google Hotels, and OpenTravel for any city worldwide and any travel dates — one command returns ranked best-value, cheapest, and quality picks with direct booking links, all normalized to USD. Use whenever someone asks for hotel prices, hotel deals, the cheapest room or rate, best hotel rates, a hotel price comparison, or which OTA is cheaper — e.g. 'is Booking or Agoda cheaper for Tokyo', 'find me a hotel in Bangkok under $100', 'compare hotel prices for 12–15 Aug', 'cheapest hotel near Shinjuku'.
pricewin-price-comparison
price-win/pricewin-skills-hub
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.
pricewin-hotel-search
price-win/pricewin-skills-hub
Search hotels live across Agoda + Booking.com + Traveloka + OpenTravel with realtime pricing for specific dates. Use when user wants hotel prices for travel dates, comparing OTAs, or finding rooms.
pricewin-booking-assistant
price-win/pricewin-skills-hub
Recommend hotel rooms and complete a real booking end to end — reserve an OpenTravel direct property with a payment link (bank QR, card, or PayPal), check payment status, resend an expired link, or cancel a booking. Falls back to direct Booking.com/Agoda/Traveloka links for OTA-only hotels. Use when booking or reserving a hotel, getting room recommendations, paying for a stay, checking a confirmation code, or cancelling a reservation.
pricewin-deal-finder
price-win/pricewin-skills-hub
Find the cheapest hotel deal by comparing live prices across Booking.com, Agoda, Google Hotels, and OpenTravel for any city worldwide and any travel dates — one command returns ranked best-value, cheapest, and quality picks with direct booking links, all normalized to USD. Use whenever someone asks for hotel prices, hotel deals, the cheapest room or rate, best hotel rates, a hotel price comparison, or which OTA is cheaper — e.g. 'is Booking or Agoda cheaper for Tokyo', 'find me a hotel in Bangkok under $100', 'compare hotel prices for 12–15 Aug', 'cheapest hotel near Shinjuku'.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.