Flight Search for Openclaw

A specialized tool for retrieving real-time flight schedules, aircraft details, and pricing between specific cities.

yeohx
v1.0.2
Mar 7, 2026
0
0
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install flightsearch

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 flightsearch 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 Flight Search?

The Flight Search skill is a utility designed for AI agents to fetch comprehensive air travel information. It enables users to query flight details such as departure times, pricing, and aircraft types without requiring complex authentication or API keys. By integrating this into Openclaw Skills, developers can build travel assistants that provide instant value to travelers by processing natural language queries into structured aviation data.

Flight Search Use Cases

  • Planning travel itineraries by checking flight availability between specific city pairs.
  • Comparing flight prices and durations for specific travel dates.
  • Identifying specific aircraft types and meal availability for upcoming trips.
  • Automating flight schedule lookups within an AI agent workflow.

How Flight Search Works

  1. The AI agent detects a user intent related to air travel or flight booking.
  2. The system extracts the departure date, origin city, and destination city from the natural language query.
  3. The Flight Search script is executed via the CLI with the extracted parameters.
  4. The skill returns a JSON response containing structured flight data including airline codes, times, and costs.
  5. The agent parses the result and presents the flight options to the user in a readable format.

Flight Search Setup

To use this within the Openclaw Skills ecosystem, ensure Python 3 is installed and the skill directory is accessible. Run the following command to test:

# General syntax
python3 ./scripts/flightsearch.py <YYYY-MM-DD> <Origin_City> <Destination_City>

# Example usage
python3 ./scripts/flightsearch.py 2026-03-08 北京市 上海市

Flight Search Data Schema & Taxonomy

The skill returns a JSON object with the following structure:

Field Description
code Status code (0 for success)
message Status message (e.g., "success")
data Array of flight objects

Flight Object Details:

  • 航班号: Flight Number (e.g., HO1258)
  • 出发时间: Departure Date and Time
  • 到达时间: Arrival Date and Time
  • 出发机场: Origin Airport
  • 目的机场: Destination Airport
  • 耗时: Total Flight Duration
  • 价格: Ticket Price
  • 机型: Aircraft Size/Type
  • 餐食: Catering availability

Flight Search Advanced Features

  • Permissionless access allowing for instant queries without API credential management.
  • Structured JSON output optimized for consumption by LLMs and other Openclaw Skills.
  • Detailed metadata support including airport terminal information and flight meal status.
  • Support for high-precision date-based filtering for future travel planning.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*