flightAI: AI Flight Assistant for Openclaw

A comprehensive AI flight assistant for domestic travel that handles flight searching, cabin pricing, secure booking, and post-sale ticket management.

gaogao605
v1.0.0
Mar 30, 2026
0
233
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install fight-search

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install fight-search using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is flightAI: AI Flight Assistant?

flightAI is a robust technical skill designed for AI agents to facilitate end-to-end domestic flight services. Part of the Openclaw Skills ecosystem, it enables developers and users to search for domestic flights, query real-time cabin availability, and execute ticket bookings directly through a Python 3 environment. The skill prioritizes security and efficiency by managing PII (Personally Identifiable Information) only during active transactions and utilizing a local authentication system.

Beyond simple search functionality, flightAI supports complex travel management workflows including order detail retrieval, ticket endorsements (changes), and refund processing with fee estimation. It is engineered to bridge the gap between natural language AI interactions and structured airline service APIs, providing a professional and actionable travel management interface.

flightAI: AI Flight Assistant Use Cases

  • Searching for domestic flights based on departure city, destination, and date.
  • Comparing detailed cabin prices, discounts, and baggage rules for specific flight numbers.
  • Creating official flight reservations by submitting passenger identification and contact details.
  • Managing existing bookings, including checking order status or canceling unpaid orders.
  • Executing flight changes or ticket refunds with real-time fee calculations and approval workflows.

How flightAI: AI Flight Assistant Works

  1. Authentication: The user initiates a verification flow via phone to generate an apiKey, which is securely stored in a local JSON file.
  2. Search & Inquiry: The agent calls search scripts to retrieve flight lists and cabin-specific pricing, caching data in temporary files for transactional consistency.
  3. Data Extraction: Using Openclaw Skills logic, the agent identifies missing parameters (like passenger name or ID) and prompts the user only for required information.
  4. Transaction Execution: The agent submits a POST request containing passenger PII and cabin indices to the flight service to generate a formal order.
  5. Post-Booking Management: Users can inquire about order details or initiate changes/refunds, where the agent calculates price differences or refund amounts before final submission.

flightAI: AI Flight Assistant Setup

The flightAI skill requires Python 3. Follow these steps to initialize the Openclaw Skills flight assistant:

# 1. Send a verification code to your mobile device
python3 scripts/auth.py send <your_phone_number>

# 2. Verify the code to obtain and save your apiKey
python3 scripts/auth.py verify <your_phone_number> <verification_code>

# 3. Confirm your authentication status
python3 scripts/auth.py status

flightAI: AI Flight Assistant Data Schema & Taxonomy

The skill manages data through local configuration and temporary runtime files to ensure state persistence during complex workflows:

File Location Purpose Key Metadata
~/.fbt_auth.json Authentication Store Contains the active apiKey for session persistence.
/tmp/flight_seat_items.json Cabin Cache Stores seat indices, pricing, and rules for the most recent search.
/tmp/endorse_seat_items.json Change Cache Stores flight change options and estimated price differences.
scripts/*.py Logic Layer Handles HTTP POST requests and data formatting for Openclaw Skills.

flightAI: AI Flight Assistant Advanced Features

  • Context-Aware Parameter Filling: Automatically identifies cities, dates, and flight numbers from conversation history to reduce redundant user input.
  • Secure PII Handling: Ensures passenger names, IDs, and phone numbers are only transmitted during the ordering phase and never exposed in logs.
  • Intelligent Refund Estimation: Provides a detailed breakdown of refund fees and remaining balances before requiring final user confirmation.
  • Automated Cabin Selection: Uses indexed temporary storage to allow users to select complex flight options using simple numeric identifiers.
  • Seamless Order Endorsement: Supports the complete lifecycle of changing flights, including searching for new dates and calculating upgrade costs within the same Openclaw Skills session.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*