Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Flight price search. Trigger this skill immediately when the user asks about flights, airfare, ticket prices, cheapest dates, price calendars, departure time...
Flight price search. Trigger this skill immediately when the user asks about flights, airfare, ticket prices, cheapest dates, price calendars, departure time...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Query real-time flights via the 51smart API (skill.flight.51smart.com). Supports one-way, round-trip, and price calendar. Note: This skill calls the above public API directly via HTTP POST. No local scripts or authentication required. User data (city/date) is used solely for flight search.
Parse Input β Extract origin, destination, dates, passengers, cabin class, trip type Complete Missing Info β Ask the user if any required fields are missing Call API β POST directly to https://skill.flight.51smart.com/api/search Format Output β Display results in a clear, structured format
FieldDescriptionDefaultRequiredfromCityIATA airport code of departure cityββ toCityIATA airport code of destination cityββ fromDateDeparture date (YYYY-MM-DD)ββ returnDateReturn date (YYYY-MM-DD)βRequired for round-tripadultNumberNumber of adults1βchildNumberNumber of children0βcabinClassE / B / F / PEβflightTypeoneWay / roundTriponeWayβ Cabin Codes: E = Economy P = Premium Economy B = Business F = First
CityCodeCityCodeBeijingPEK/PKXShanghai HongqiaoSHAShanghai PudongPVGGuangzhouCANShenzhenSZXChengduCTUHangzhouHGHNanjingNKGWuhanWUHXi'anXIYChongqingCKGXiamenXMNKunmingKMGSanyaSYXHaikouHAKQingdaoTAOZhengzhouCGOChangshaCSXJinanTNAHarbinHRBShenyangSHEDalianDLCTianjinTSNHefeiHFEGuiyangKWENanningNNGUrumqiURCLhasaLXA
CityCodeCityCodeHong KongHKGTaipeiTPEMacauMFMTokyo NaritaNRTTokyo HanedaHNDOsakaKIXSeoulICNBusanPUSSingaporeSINBangkok SuvarnabhumiBKKBangkok Don MueangDMKKuala LumpurKULJakartaCGKManilaMNLSydneySYDMelbourneMELDubaiDXBAbu DhabiAUHLondon HeathrowLHRLondon GatwickLGWParisCDGFrankfurtFRAAmsterdamAMSRomeFCONew York JFKJFKNew York NewarkEWRLos AngelesLAXSan FranciscoSFOLas VegasLASChicagoORDVancouverYVRTorontoYYZ For cities not listed above, infer the IATA code based on common conventions, or ask the user to confirm the full airport name.
Send an HTTP POST request directly β no local scripts required. Endpoint: POST https://skill.flight.51smart.com/api/search Content-Type: application/json Auth: Not required
{ "adultNumber": 1, "cabinClass": "E", "childNumber": 0, "cid": "123456", "flightType": "oneWay", "flights": [ { "fromCity": "PEK", "fromDate": "2026-03-15", "toCity": "SHA" } ] }
{ "adultNumber": 2, "cabinClass": "B", "childNumber": 1, "cid": "123456", "flightType": "roundTrip", "flights": [ { "fromCity": "PEK", "fromDate": "2026-03-15", "toCity": "NRT" }, { "fromCity": "NRT", "fromDate": "2026-03-22", "toCity": "PEK" } ] }
The price calendar is achieved by sending multiple one-way requests for consecutive dates and aggregating results.
βοΈ Beijing (PEK) β Shanghai (SHA) π Mar 15, 2026 | Economy | Adult Γ 1 ββββββββββββββββββββββββββββββββββββββββββββββββββββ # Flight DepartβArrive Duration Stops Price (USD) Baggage ββββββββββββββββββββββββββββββββββββββββββββββββββββ 1 UA1597 22:38β00:06(+1) 1h28m Nonstop $81.86 1PC/23KG 2 CA1234 09:00β11:20 2h20m Nonstop $95.00 1PC/23KG ββββββββββββββββββββββββββββββββββββββββββββββββββββ 2 flights found Lowest: $81.86 (before tax), incl. tax: $116.80
π Price Calendar βοΈ Shanghai (SHA) β Los Angeles (LAX) | Economy Date Lowest Flights βββββββββββββββββββββββββββββββββββββ 2026-04-01 $520.00 β 8 2026-04-02 $490.00 π Best 6 2026-04-03 $535.00 7 2026-04-04 $510.00 5 2026-04-05 $580.00 6 βββββββββββββββββββββββββββββββββββββ Recommended date: 2026-04-02 ($490.00)
Total price incl. tax = price + tax (adult fare) Multiple passengers = adult total Γ adultNumber + child total Γ childNumber Stops = number of segments - 1; show stopover city when stopQuantity > 0 Baggage = baggages[].pieces + baggages[].weight; note "baggage not included" when freeBaggage: false Limited seats = show β οΈ "Only X seats left" when maxSeatsRemain β€ 3
FieldDescriptionstatus0 = successmessage"SUCCESS" indicates normal responseroutings[]List of flight optionsroutings[].prices[]Prices by passenger type (ADT = Adult, CHD = Child)routings[].segments[]Segment details (each stopover is a separate segment)routings[].rule.baggages[]Free baggage allowanceroutings[].rule.freeBaggagefalse = baggage must be purchased separatelyroutings[].maxSeatsRemainRemaining seatspassengerTypeADT = Adult, CHD = Child
ScenarioActionstatus != 0 or message != "SUCCESS"Inform the user the query failed; suggest trying a different dateroutings is an empty listNotify that no flights are available for this route/dateNetwork timeoutRetry once; if it fails again, ask the user to try laterUnrecognized city codeAsk the user to confirm the full city or airport namechildNumber > adultNumberPrompt: "Number of children cannot exceed the number of adults"
Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.
Largest current source with strong distribution and engagement signals.