# Send Cabin 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cabin",
    "name": "Cabin Flights",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/kobuta23/cabin",
    "canonicalUrl": "https://clawhub.ai/kobuta23/cabin",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/cabin",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cabin",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "cabin",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T05:36:54.676Z",
      "expiresAt": "2026-05-08T05:36:54.676Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cabin",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cabin",
        "contentDisposition": "attachment; filename=\"cabin-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "cabin"
      },
      "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/cabin"
    },
    "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/cabin",
    "downloadUrl": "https://openagent3.xyz/downloads/cabin",
    "agentUrl": "https://openagent3.xyz/skills/cabin/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cabin/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cabin/agent.md"
  }
}
```
## Documentation

### Cabin — Flight Search & Booking with USDC

Search real flights across 500+ airlines and book with USDC on Base.

### API Base URL

https://api.cabin.team

### Search Flights

When the user wants to find flights:

curl -X POST https://api.cabin.team/v1/search \\
  -H "Content-Type: application/json" \\
  -d '{
    "from": "HAN",
    "to": "ATH",
    "date": "2026-03-15",
    "return_date": "2026-03-22",
    "adults": 1,
    "class": "ECONOMY",
    "currency": "USD",
    "max_results": 5
  }'

Parameters:

from (required): Origin IATA airport code
to (required): Destination IATA airport code
date (required): Departure date (YYYY-MM-DD)
return_date (optional): Return date for round-trip
adults (optional, default 1): Number of passengers
class (optional): ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST
currency (optional, default USD): Currency for prices
max_results (optional, default 10): Maximum results

Response includes:

results[] — Array of flight offers with prices, airlines, times, stops
image_url — URL to a rendered PNG comparison image of results
search_id — ID to reference when booking

Presenting results to users:

Show the rendered image (fetch from image_url) for visual comparison
Use structured data for specific questions ("which is cheapest?", "any direct flights?")
Always show price in both USD and USDC equivalent

### Book a Flight

When the user wants to book:

curl -X POST https://api.cabin.team/v1/book \\
  -H "Content-Type: application/json" \\
  -d '{
    "offer_id": "offer_1",
    "search_id": "abc123",
    "passengers": [{
      "type": "adult",
      "given_name": "John",
      "family_name": "Doe",
      "email": "john@example.com",
      "born_on": "1990-01-15",
      "gender": "m"
    }]
  }'

Required passenger info:

given_name, family_name
email
born_on (YYYY-MM-DD)
gender (m/f)

Response includes:

booking_id — Cabin booking reference (CBN-YYYY-XXXX)
amount_usdc — Amount to pay in USDC
payment.deposit_address — USDC deposit address on Base
payment.checkout_url — Payment page URL to share with user

### USDC Payment Flow

After booking, the user needs to pay in USDC on Base:

Show the user the amount_usdc and payment.checkout_url
User can either:
a. Send USDC directly to payment.deposit_address on Base
b. Visit checkout_url for a guided payment experience
After payment, booking is confirmed automatically

If the agent has wallet capabilities (e.g., evm-wallet skill):

# Check USDC balance on Base
node src/balance.js base --json

# Send USDC to deposit address
node src/send.js base USDC <deposit_address> <amount_usdc> --yes --json

### Check Booking Status

curl https://api.cabin.team/v1/booking/CBN-2026-XXXX

Statuses: awaiting_payment → confirmed → checked_in

### Get Confirmation Page

https://api.cabin.team/v1/booking/CBN-2026-XXXX/confirmation

Share this URL with the user after payment confirmation.

### Get Check-in Page

https://api.cabin.team/v1/booking/CBN-2026-XXXX/checkin

Share when it's time to check in for the flight.

### Common IATA Codes

CodeCityHANHanoiBKKBangkokSINSingaporeNRTTokyo NaritaHNDTokyo HanedaICNSeoulLHRLondonCDGParisFCORomeATHAthensJFKNew YorkLAXLos AngelesSFOSan FranciscoDXBDubaiISTIstanbul

### Simple one-way search

User: "Find me a flight from Bangkok to Tokyo next Friday"

Parse: from=BKK, to=NRT (or HND), date=next Friday
Call POST /v1/search
Show image_url to user
Present top 3-5 options with prices

### Round-trip booking

User: "Book the cheapest round-trip from London to Barcelona, March 15-22"

Search: from=LHR, to=BCN, date=2026-03-15, return_date=2026-03-22
Present options
User picks one → collect passenger details
POST /v1/book with passenger info
Share payment URL → user pays in USDC
Confirm booking → share confirmation page

### Multi-passenger

User: "We need flights for 3 people, Seoul to Bali, April 1-10"

Search with adults=3
Prices shown are per-person
When booking, collect details for all 3 passengers
Total USDC amount = per-person × 3

### Error Handling

No results: Try nearby airports or different dates
Booking expired: Search results expire after 30 minutes, search again
Payment timeout: Bookings expire 1 hour after creation if unpaid
Invalid airport code: Suggest the correct IATA code

### USDC on Base

Chain: Base (Ethereum L2)
Token: USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)
Gas fees: ~$0.01 per transaction
Confirmation: ~2 seconds
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: kobuta23
- Version: 1.0.0
## 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-01T05:36:54.676Z
- Expires at: 2026-05-08T05:36:54.676Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/cabin)
- [Send to Agent page](https://openagent3.xyz/skills/cabin/agent)
- [JSON manifest](https://openagent3.xyz/skills/cabin/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/cabin/agent.md)
- [Download page](https://openagent3.xyz/downloads/cabin)