google-flights

star 1

Search and browse flight options via Google Flights. Parses flight results including prices, times, airlines, and durations. Use when the user needs to search for flights or compare flight options.

Animadversio By Animadversio schedule Updated 2/24/2026

name: google-flights description: Search and browse flight options via Google Flights. Parses flight results including prices, times, airlines, and durations. Use when the user needs to search for flights or compare flight options.

Google Flights Search

Search and parse flight options from Google Flights without needing an API.

Quick Usage

cd ~/.openclaw/workspace/skills/google-flights
./search_flights.py <origin> <destination> <date> [--return-date YYYY-MM-DD]

Examples:

# One-way flight
./search_flights.py BOS ORD 2026-02-24

# Round-trip flight
./search_flights.py BOS ORD 2026-02-24 --return-date 2026-02-28

# With airport names
./search_flights.py "Boston" "Chicago" 2026-02-24

What it does

  1. Constructs proper Google Flights search URL
  2. Fetches the flight search results page
  3. Parses flight listings including:
    • Departure/arrival times
    • Airlines
    • Flight duration
    • Price
    • Nonstop vs connections
  4. Returns formatted, readable flight options

Output format

For each flight:

  • Time range (e.g., "5:31 PM - 7:48 PM")
  • Airline
  • Price
  • Duration
  • Connection status

Sorted by relevance (Google's "Best" ranking)

Use cases

  • Book upcoming trips
  • Compare flight prices
  • Find specific departure times (morning/evening/etc.)
  • Check flight availability for conferences/events

Limitations

  • Requires web_fetch capability
  • Depends on Google Flights HTML structure (may break if Google changes layout)
  • No booking capability (returns search results only)
  • Best for US domestic flights (international may have different format)

Future improvements

  • Filter by time of day (morning/afternoon/evening)
  • Filter by airline
  • Filter by max price
  • Multi-city support
  • Alert when prices drop
Install via CLI
npx skills add https://github.com/Animadversio/mossy-skills --skill google-flights
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
Animadversio
Animadversio Explore all skills →