flightAI for Openclaw

An intelligent flight assistant for domestic travel that automates searching, booking, endorsing, and refunding airline tickets through an AI agent.

gaogao605
v1.0.0
Mar 30, 2026
0
260
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install flight-assistant

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 flight-assistant 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?

flightAI is a sophisticated automation tool designed for Openclaw Skills that streamlines the entire lifecycle of domestic air travel. Built on a Python3 architecture, it allows users to interact with real-time flight data to find the best routes and prices without leaving their terminal environment. This skill is specifically crafted to bridge the gap between AI agents and airline GDS services, providing a programmatic yet user-friendly way to handle complex travel logistics.

Beyond simple search, flightAI manages deep transaction states, including seat availability caching, secure passenger PII handling, and post-booking operations. It ensures a high level of technical reliability by using structured data files to maintain context between search results and booking actions, making it an essential component for any developer looking to integrate travel capabilities into their Openclaw Skills workflows.

flightAI Use Cases

  • Searching for domestic flight lists based on city pairs and specific dates.
  • Checking detailed seat availability and real-time pricing for a selected flight number.
  • Automated booking of flight tickets using passenger identity information.
  • Managing existing travel plans through order status queries or cancellations.
  • Handling flight changes and refund applications with automated fee estimation.

How flightAI Works

  1. Authentication: The agent initiates a secure login using OTP verification via a dedicated Python script to store a session API key.
  2. Discovery: The user provides travel intent, and the agent executes search scripts to fetch flight data, presenting it in formatted tables.
  3. Seat Selection: The agent queries specific flight numbers to retrieve detailed cabin classes and caches the index for transaction consistency.
  4. Transaction: Upon user confirmation, the agent collects passenger details and submits an order creation request to the flight service.
  5. Post-Booking: The agent monitors order status and can trigger endorsement (flight change) or refund workflows by calculating relevant fees and submitting applications.

flightAI Setup

To use this skill within Openclaw Skills, ensure python3 is available in your environment. You must complete the authentication process before accessing flight services.

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

# Verify the code and initialize your API key
python3 scripts/auth.py verify <your_phone_number> <otp_code>

# Check if you are correctly authenticated
python3 scripts/auth.py status

flightAI Data Schema & Taxonomy

The skill utilizes local JSON files to manage session state and transaction data, ensuring that Openclaw Skills can reference previous search results accurately.

File Path Description
~/.fbt_auth.json Stores the encrypted apiKey for API authentication.
/tmp/flight_seat_items.json Temporary cache of seat indices and pricing from the last flight search.
/tmp/endorse_seat_items.json Caches available seats specifically for flight change (endorsement) requests.

flightAI Advanced Features

  • Context-Aware Parameter Injection: Automatically pulls flight numbers and airport codes from previous search results to reduce user friction.
  • Structured Output Enforcement: Ensures all flight data is presented in clean, standardized terminal tables for better readability.
  • PII Protection Protocol: Strictly manages sensitive passenger information, ensuring data is only transmitted during the final booking step.
  • Comprehensive Lifecycle Management: Supports complex multi-step workflows like flight endorsements and refund fee estimations within a single conversation session.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*