← 返回 Skills 市场
kobuta23

Cabin Flights

作者 kobuta23 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1408
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cabin
功能描述
Search and book real flights with USDC payments. Gives your AI agent the power to find flights across 500+ airlines and complete bookings paid in USDC on Base. No credit cards, no banks — crypto-native travel commerce.
使用说明 (SKILL.md)

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

Endpoints

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": "[email protected]",
      "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:

  1. Show the user the amount_usdc and payment.checkout_url
  2. User can either: a. Send USDC directly to payment.deposit_address on Base b. Visit checkout_url for a guided payment experience
  3. 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 \x3Cdeposit_address> \x3Camount_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

Code City
HAN Hanoi
BKK Bangkok
SIN Singapore
NRT Tokyo Narita
HND Tokyo Haneda
ICN Seoul
LHR London
CDG Paris
FCO Rome
ATH Athens
JFK New York
LAX Los Angeles
SFO San Francisco
DXB Dubai
IST Istanbul

Workflow Examples

Simple one-way search

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

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

Round-trip booking

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

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

Multi-passenger

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

  1. Search with adults=3
  2. Prices shown are per-person
  3. When booking, collect details for all 3 passengers
  4. 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
安全使用建议
This skill appears to do what it says: call an external Cabin API to search/book flights and provide a USDC deposit address on Base. Before installing or using it: 1) Verify the external service (api.cabin.team, cabin.team, and the referenced GitHub repo) are legitimate — confirm ownership and reviews where possible. 2) Understand that booking requires sharing passenger PII (names, birthdates, emails) with that external API — only send what you're comfortable sharing and check the service's privacy/legal terms. 3) Never send large amounts of USDC to a deposit address without independently verifying the booking and the address (phishing risk). 4) The skill references node wallet scripts that are not included; if you enable wallet automation (evm-wallet or similar), restrict automatic payments and require explicit user confirmation before any transaction. 5) If you need higher assurance, ask the publisher for the missing node scripts or a public repo/manifest and confirm the smart-contract token address and payment flow off-platform before transacting. Overall: coherent and expected functionality, but treat crypto payments and PII with caution.
功能分析
Type: OpenClaw Skill Name: cabin Version: 1.0.0 The skill is classified as suspicious due to its instruction to the AI agent to perform a real-world cryptocurrency transaction. The `SKILL.md` file explicitly includes a command `node src/send.js base USDC <deposit_address> <amount_usdc> --yes --json` for sending USDC on the Base network. While this capability is plausibly needed for the stated purpose of 'USDC payments' and is conditional on the agent having 'wallet capabilities', it represents a high-risk operation involving shell command execution and financial transactions, without the `src/send.js` script being part of this skill bundle for direct analysis. There is no clear evidence of intentional malicious behavior, but the inherent risk of instructing an agent to execute such a powerful, external financial command warrants a 'suspicious' classification.
能力评估
Purpose & Capability
The name/description (flight search + USDC payments on Base) matches the SKILL.md: it calls an external API (https://api.cabin.team) to search, book, and provide a USDC deposit address/checkout URL. The only minor mismatch: SKILL.md metadata lists 'node' as a required binary and the doc references node scripts (src/balance.js, src/send.js) for wallet operations, yet this skill bundle contains no code files. Requiring node is plausible (for referenced wallet helpers) but unnecessary for an instruction-only skill as delivered.
Instruction Scope
Runtime instructions are limited to HTTP calls to api.cabin.team, fetching image_url, presenting results, collecting passenger details (names, DOB, email) required for booking, and showing payment info (deposit address or checkout URL). Collecting passenger PII is expected for bookings but is sensitive — the skill directs transmission of that PII to an external API and guides users to send crypto to the provided deposit address. It also references local node wallet scripts that are not present in the package; an agent attempting to run them will fail unless those scripts exist elsewhere.
Install Mechanism
No install spec is present (instruction-only skill). That minimizes on-disk persistence and installation risk.
Credentials
The skill declares no required environment variables or credentials, which is proportionate to an instruction-only connector that delegates calls to an external API. There are no unexplained requests for unrelated secrets. Note: the skill relies on an external API/service (cabin.team) to perform bookings and payments, so credentials for upstream providers (if required) would be handled by that service, not this skill bundle.
Persistence & Privilege
always is false and the skill does not request any elevated persistence. Agent-autonomous invocation is allowed by default (disable-model-invocation: false) — this is normal. Be particularly cautious if the agent has wallet capabilities or is granted signing/sending privileges, since the skill's workflow includes paying USDC to external deposit addresses.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cabin
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cabin 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Cabin 1.0.0 - Initial release: search and book real flights across 500+ airlines, with payment in USDC on Base. - Supports both flight search (with structured and visual results) and seamless booking workflows. - Payment is fully crypto-native—no banks or credit cards needed. - Offers API endpoints for searching, booking, payment, booking status, confirmation, and check-in. - Includes support for multi-passenger bookings and round-trips. - Built-in error handling for common user and payment scenarios.
元数据
Slug cabin
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Cabin Flights 是什么?

Search and book real flights with USDC payments. Gives your AI agent the power to find flights across 500+ airlines and complete bookings paid in USDC on Base. No credit cards, no banks — crypto-native travel commerce. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1408 次。

如何安装 Cabin Flights?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cabin」即可一键安装,无需额外配置。

Cabin Flights 是免费的吗?

是的,Cabin Flights 完全免费(开源免费),可自由下载、安装和使用。

Cabin Flights 支持哪些平台?

Cabin Flights 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cabin Flights?

由 kobuta23(@kobuta23)开发并维护,当前版本 v1.0.0。

💬 留言讨论