# Send flights to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "flights-search-plus",
    "name": "flights",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/syf8888/flights-search-plus",
    "canonicalUrl": "https://clawhub.ai/syf8888/flights-search-plus",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/flights-search-plus",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=flights-search-plus",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "flights-search-plus",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T20:45:28.266Z",
      "expiresAt": "2026-05-08T20:45:28.266Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=flights-search-plus",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=flights-search-plus",
        "contentDisposition": "attachment; filename=\"flights-search-plus-1.1.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "flights-search-plus"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/flights-search-plus"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/flights-search-plus",
    "downloadUrl": "https://openagent3.xyz/downloads/flights-search-plus",
    "agentUrl": "https://openagent3.xyz/skills/flights-search-plus/agent",
    "manifestUrl": "https://openagent3.xyz/skills/flights-search-plus/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/flights-search-plus/agent.md"
  }
}
```
## Documentation

### ✈️ Flight Search Skill

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.

### Workflow

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

### Step 1: Parse User Input

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

### China

CityCodeCityCodeBeijingPEK/PKXShanghai HongqiaoSHAShanghai PudongPVGGuangzhouCANShenzhenSZXChengduCTUHangzhouHGHNanjingNKGWuhanWUHXi'anXIYChongqingCKGXiamenXMNKunmingKMGSanyaSYXHaikouHAKQingdaoTAOZhengzhouCGOChangshaCSXJinanTNAHarbinHRBShenyangSHEDalianDLCTianjinTSNHefeiHFEGuiyangKWENanningNNGUrumqiURCLhasaLXA

### International

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.

### Step 3: Call API

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

### One-way Request Example

{
  "adultNumber": 1,
  "cabinClass": "E",
  "childNumber": 0,
  "cid": "123456",
  "flightType": "oneWay",
  "flights": [
    {
      "fromCity": "PEK",
      "fromDate": "2026-03-15",
      "toCity": "SHA"
    }
  ]
}

### Round-trip Request Example

{
  "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" }
  ]
}

### Price Calendar

The price calendar is achieved by sending multiple one-way requests for consecutive dates and aggregating results.

### One-way / Round-trip 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 Results

📅 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)

### Field Interpretation Rules

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

### Key Response Fields

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

### Error Handling

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"
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: syf8888
- Version: 1.1.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T20:45:28.266Z
- Expires at: 2026-05-08T20:45:28.266Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/flights-search-plus)
- [Send to Agent page](https://openagent3.xyz/skills/flights-search-plus/agent)
- [JSON manifest](https://openagent3.xyz/skills/flights-search-plus/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/flights-search-plus/agent.md)
- [Download page](https://openagent3.xyz/downloads/flights-search-plus)