Xpersona
G

Google Flights

CLAWHUB · Unverified

Search Google Flights for flight prices and schedules using browser automation. Use when user asks to search flights, find airfare, compare prices, check fli... Skill: Google Flights Owner: skillhq-ai Summary: Search Google Flights for flight prices and schedules using browser automation. Use when user asks to search flights, find airfare, compare prices, check fli... Tags: latest:1.0.2 Version history: v1.0.2 | 2026-04-13T01:36:37.440Z | user Optimize for domestic flights: economy-only default, fewer tool calls Domestic US flights now skip the business class comparison (3-5

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170mz62e9kg0yg49p4x2z6wzd84rjra:flight-search-fast
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-skillhq-ai-flight-search-fast/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

98,345 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: google-flights
description: Search Google Flights for flight prices and schedules using browser automation. Use when user asks to search flights, find airfare, compare prices, check flight availability, or look up routes. Triggers include "search flights", "find flights", "how much is a flight", "flights from X to Y", "cheapest flight", "flight prices", "airfare", "flight schedule", "nonstop flights", "when should I fly".
allowed-tools: Bash(agent-browser:*)
---

# Google Flights Search

Search Google Flights via agent-browser to find flight prices, schedules, and availability.

## When to Use

- User asks to search/find/compare flights or airfare
- User wants to know flight prices between cities
- User asks about flight schedules or availability
- User wants to find the cheapest flight for specific dates

## When NOT to Use

- **Completing purchases**: This skill finds flights and extracts booking links, but do not attempt to complete a purchase on a booking site.
- **Hotels/rental cars**: Use other tools for non-flight travel searches.
- **Historical price data**: Google Flights shows current prices, not historical.

## Session Convention

- **Economy only** (default for domestic): `--session flights`
- **Economy + Business comparison** (international or user requests): `--session econ` and `--session biz`
- **Interactive fallback**: `--session flights`

## Domestic vs International Detection

**Domestic flights default to economy only.** Business class on US domestic routes is typically 3-5x the price and rarely worth showing unless asked.

A flight is **domestic** if both origin and destination are US airports. Common US IATA codes: ATL, BOS, BWI, CLT, DEN, DFW, DTW, EWR, FLL, HNL, IAD, IAH, JFK, LAS, LAX, LGA, MCO, MDW, MIA, MSP, OAK, ORD, PHL, PHX, PDX, SAN, SEA, SFO, SJC, SLC, TPA.

**When to show business class:**
- International flights (always show economy + business comparison)
- User explicitly asks for "business class" or "business"
- User asks to "compare cabins" or "show all classes"

**When to skip business class:**
- Domestic US flights (economy only by default)
- User explicitly asks for "economy" or "cheapest"

## Fast Path: URL-Based Search (Preferred)

Construct a URL with a natural language `?q=` parameter. Loads results directly — **3 commands total**.

### URL Template

```
https://www.google.com/travel/flights?q=Flights+from+{ORIGIN}+to+{DEST}+on+{DATE}[+returning+{DATE}][+one+way][+business+class][+N+passengers]
```

### Default: Economy Only (Domestic)

For domestic flights, run a single session - **2 tool calls total**:

```bash
# Open and wait in one call
agent-browser --session flights open "https://www.google.com/travel/flights?q=Flights+from+MIA+to+SFO+on+2026-04-28+returning+2026-04-30" && agent-browser --session flights wait --load networkidle

# Snapshot results
agent-browser --session flights snapshot -i
# Keep session alive for booking links
```

Then present results in **compact list format** (see O

README.md

# ✈️ flight-search

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Agent Skill](https://img.shields.io/badge/Agent-Skill-blueviolet)](https://skills.sh)

Google Flights search skill for any coding agent — Claude Code, Codex, and more. Find flight prices, compare cabins, and get booking links from your terminal.

## Install

```bash
npx skills add https://github.com/skillhq/flight-search --skill google-flights
```

## Triggers

- "Find flights from BKK to NRT, March 20-27"
- "How much is a flight from LAX to London?"
- "Cheapest flights from JFK to CDG in June"
- "One-way business class from SFO to Tokyo, April 15"

## Example Output

```
✈️ Flights: BKK → NRT (Mar 20–27, Round Trip)

| # | Airline  | Dep      | Arr      | Duration | Stops   | Economy    | Business   | Biz Delta            |
|---|----------|----------|----------|----------|---------|------------|------------|----------------------|
| 1 | JAL      | 8:05 AM  | 4:00 PM  | 5h 55m   | Nonstop | THB 23,255 | THB 65,915 | +THB 42,660 (+183%) |
| 2 | THAI     | 10:30 PM | 6:20 AM  | 5h 50m   | Nonstop | THB 28,165 | THB 75,000 | +THB 46,835 (+166%) |
| 3 | Air Japan| 12:10 AM | 8:15 AM  | 6h 05m   | Nonstop | THB 20,515 | —          | —                    |
| 4 | ZIPAIR   | 11:45 PM | 7:30 AM  | 5h 45m   | Nonstop | THB 21,425 | —          | —                    |

Want booking links for any of these? Just say which one.
```

Economy and business results are fetched in parallel and merged with a delta column so you can see the upgrade cost at a glance.

## Booking Options

After picking a flight, the skill extracts booking providers with prices and direct links:

```
📋 Booking Options for JAL BKK→NRT (5h 55m, Nonstop)

| Provider    | Price      | Book                          |
|-------------|------------|-------------------------------|
| Emirates    | THB 28,960 | [Continue](https://...)       |
| Booking.com | THB 29,512 | [Continue](https://...)       |
| Teaflight   | THB 28,171 | [Continue](https://...)       |
```

## Capabilities

| Feature | Method | Support |
|---------|--------|---------|
| Round trip | URL fast path | Direct results in 3 commands |
| One way | URL fast path | Direct results in 3 commands |
| Business / First class | URL fast path | Direct results in 3 commands |
| Multiple passengers | URL fast path | Direct results in 3 commands |
| Adults + children | URL fast path | Direct results in 3 commands |
| Booking links extraction | Click → snapshot | Provider prices + direct URLs |
| Premium economy | Interactive fallback | Form automation |
| Multi-city (3+ legs) | Interactive fallback | Form automation |

## Requirements

- [agent-browser](https://github.com/nicobailey/agent-browser) CLI installed and available in PATH

## Files

```
SKILL.md                              # Main skill (triggers, workflow, rules)
references/
  interaction-patterns.md             # Deep-dive cookbook for tricky interactions
```

## License

MIT

_meta.json

{
  "ownerId": "kn7e63my1wg31963x0srhbah8x808z37",
  "slug": "flight-search-fast",
  "version": "1.0.2",
  "publishedAt": 1776044197440
}

references/interaction-patterns.md

# Google Flights Interaction Patterns

Deep-dive cookbook for automating Google Flights with agent-browser. Covers the tricky interactions that require careful handling.

**Related**: [../SKILL.md](../SKILL.md) for the main workflow.

## Contents

- [Full Annotated Walkthrough](#full-annotated-walkthrough)
- [Airport Autocomplete Deep Dive](#airport-autocomplete-deep-dive)
- [Date Picker Calendar Navigation](#date-picker-calendar-navigation)
- [Multi-City Searches](#multi-city-searches)
- [Scrolling for More Results](#scrolling-for-more-results)
- [Price Graph and Explore Mode](#price-graph-and-explore-mode)

---

## Full Annotated Walkthrough

A complete command-by-command walkthrough for: **Round trip, BKK to NRT, March 20-27, 1 adult, Economy**.

```bash
# ── Step 1: Open Google Flights ──
agent-browser --session flights open "https://www.google.com/travel/flights"
agent-browser --session flights wait 3000
# Wait for full page load. Google Flights is a heavy SPA.

agent-browser --session flights snapshot -i
# Expected output: interactive elements including:
#   @e1 [combobox] "Where from?"      ← origin field
#   @e2 [combobox] "Where to?"        ← destination field
#   @e3 [button] "Departure"          ← departure date
#   @e4 [button] "Return"             ← return date
#   @e5 [button] "1 passenger"        ← passengers
#   @e6 [button] "Round trip"         ← trip type
#   @e7 [button] "Economy"            ← cabin class
#   @e8 [button] "Search"             ← search button
# NOTE: Actual ref numbers WILL vary. Always read the snapshot.

# ── Step 2: Check for consent banner ──
# If you see a consent/cookie dialog, handle it first:
# agent-browser --session flights click @eN  (Accept all / Reject all)
# agent-browser --session flights wait 2000
# agent-browser --session flights snapshot -i

# ── Step 3: Enter Origin ──
agent-browser --session flights click @e1
# Clicking the origin combobox focuses it and may show recent searches.

agent-browser --session flights wait 1000
agent-browser --session flights snapshot -i
# After clicking, the field expands. Look for an input element.
# The focused input may have a different ref now.

agent-browser --session flights fill @eN "BKK"
# Use fill (clears first) with the IATA code.

agent-browser --session flights wait 2000
# CRITICAL: Must wait for autocomplete dropdown to populate.
# Google Flights queries its backend for matching airports.

agent-browser --session flights snapshot -i
# Expected: dropdown with suggestions like:
#   @e15 [listitem] "Bangkok (BKK) Suvarnabhumi Airport"
#   @e16 [listitem] "Bangkok (DMK) Don Mueang Airport"

agent-browser --session flights click @e15
# Click the correct suggestion. For BKK, pick Suvarnabhumi.

agent-browser --session flights wait 1000
agent-browser --session flights snapshot -i
# The origin field now shows "BKK" as a chip/tag.

# ── Step 4: Enter Destination ──
agent-browser --session flights click @eN
# Click the destination combobox (ref changed from ste

skill-card.md

## Description:

Search Google Flights for current flight prices, schedules, cabin comparisons, and booking-provider links using browser automation.

This skill is ready for commercial/non-commercial use.

## Publisher:

[skillhq-ai](https://clawhub.ai/user/skillhq-ai)

### License/Terms of Use:

MIT-0

## Use Case:

External users and travel-focused agents use this skill to search Google Flights for airfare, schedules, cabin price deltas, and booking-provider links. The skill supports comparison and handoff workflows, but does not complete purchases or enter personal or payment data.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Flight searches are sent to Google Flights, and booking links may lead to third-party airline or OTA sites with separate privacy and payment practices.

Mitigation: Tell users when third-party services are involved, present links as handoffs, and do not complete purchases or enter personal or payment data.

Risk: The skill depends on browser automation against a live web interface, so consent banners, CAPTCHA, locale differences, or UI changes can block or alter results.

Mitigation: Use fresh snapshots, follow the documented fallback interactions, and stop rather than attempting to solve CAPTCHA challenges.

Risk: Installing the skill or its browser automation dependency from unpinned external sources can create supply-chain exposure.

Mitigation: Install from trusted, pinned revisions when possible and review or scan the skill before deployment.

## Reference(s):

- [Google Flights](https://www.google.com/travel/flights)
- [agent-browser CLI](https://github.com/nicobailey/agent-browser)
- [Google Flights Interaction Patterns](artifact/references/interaction-patterns.md)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Guidance]

**Output Format:** [Plain text or Markdown flight summaries with optional booking-provider links and browser automation commands]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Keeps the browser results session available for booking-link extraction and stops before purchase or payment steps.]

## Skill Version(s):

1.0.2 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Google Flights and adjacent AI workflows.