# Send Google Flights to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "google-flights",
    "name": "Google Flights",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/kris-hansen/google-flights",
    "canonicalUrl": "https://clawhub.ai/kris-hansen/google-flights",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/google-flights",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=google-flights",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "config.example.json",
      "scripts/search.py",
      "scripts/track.py",
      "scripts/watch-route.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "google-flights",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T21:54:25.908Z",
      "expiresAt": "2026-05-10T21:54:25.908Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=google-flights",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=google-flights",
        "contentDisposition": "attachment; filename=\"google-flights-2.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "google-flights"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/google-flights"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/google-flights",
    "downloadUrl": "https://openagent3.xyz/downloads/google-flights",
    "agentUrl": "https://openagent3.xyz/skills/google-flights/agent",
    "manifestUrl": "https://openagent3.xyz/skills/google-flights/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/google-flights/agent.md"
  }
}
```
## Documentation

### Google Flights

Flight search with flexible dates, smart filters, connection scoring, and price tracking.

### Quick Start

cd ~/clawd/skills/google-flights
source .venv/bin/activate

# Basic search
./scripts/search.py LAX JFK tomorrow

# Flexible dates — find cheapest day
./scripts/search.py LAX JFK "apr 15" --flex 3

# Nonstop under $500
./scripts/search.py SFO ORD "next friday" --nonstop --max-price 500

# Watch a route for price drops
./scripts/watch-route.py add LAX JFK --alert-below 350
./scripts/watch-route.py watch

### Basic Usage

./scripts/search.py <from> <to> <date> [options]

### Date Formats

Natural language supported:

tomorrow, today
next friday, next week
mar 15, March 15, 3/15
2026-04-15 (ISO format)

### Filters

FlagShortDescription--flex N-fSearch ±N days around date--nonstop-nNonstop flights only--max-price-mMaximum price--depart-afterDepart after time (8am, 14:00)--arrive-beforeArrive before time (6pm, 18:00)--seat-seconomy, premium-economy, business, first--adults-aNumber of adults (default: 1)--children-cNumber of children--return-rReturn date for round-trip

### Output

FlagDescription--top NShow top N results (default: 5)--sortSort by: price (default), score, duration--show-scoresShow connection quality breakdown--jsonJSON output

### Examples

# Find cheapest day in a week window
./scripts/search.py LAX JFK "apr 10" --flex 7 --nonstop

# Morning departure, business class
./scripts/search.py SFO LHR "may 1" --seat business --depart-after 8am

# Family trip sorted by connection quality
./scripts/search.py DEN MCO "jun 15" -a 2 -c 2 --sort score --show-scores

# Round-trip under $800
./scripts/search.py SEA LAX "apr 1" --return "apr 8" --max-price 800

### Price Tracking

Track specific flights and get alerts on price changes.

# Track a specific flight
./scripts/track.py add LAX JFK "2026-05-15" --alert-below 400

# Track round-trip
./scripts/track.py add LAX JFK "may 1" --return "may 8" -a 350

# Check all tracked flights
./scripts/track.py check

# View price history
./scripts/track.py history LAX-JFK-2026-05-15

# List / remove
./scripts/track.py list
./scripts/track.py remove LAX-JFK-2026-05-15

### Route Watching

Monitor regular routes (e.g., commute between two cities).

# Add a route to watch
./scripts/watch-route.py add LAX JFK --alert-below 400

# Check all watched routes
./scripts/watch-route.py watch

# List watched routes
./scripts/watch-route.py list

# Remove a route
./scripts/watch-route.py remove LAX-JFK

### Cron Integration

Set up daily price checks:

openclaw cron add \\
  --name "Flight Price Watch" \\
  --cron "0 9 * * *" \\
  --tz "America/New_York" \\
  --session isolated \\
  --message "cd ~/clawd/skills/google-flights && source .venv/bin/activate && ./scripts/watch-route.py watch. Alert user only if prices drop below threshold."

### Connection Quality Scoring

Flights scored 0-100 based on:

FactorImpactNonstop flight+15Preferred airline+10Tight connection (<45min)-30Long layover (>4hr)-5 to -25Problematic connection airport-10 to -20Winter weather risk (ORD, EWR, etc.)-15Red-eye (depart after 10pm)-15Early departure (<6am)-10Avoided airline-25

Use --show-scores to see breakdown or --sort score to prioritize quality.

### Configuration

Copy config.example.json to config.json and customize:

{
  "preferred_airlines": ["United", "Delta"],
  "avoid_airlines": ["Spirit"],
  "prefer_nonstop": true,
  "max_layover_hours": 4,
  "min_layover_minutes": 45,
  "home_airports": ["LAX", "JFK"],
  "loyalty_programs": {
    "united_mileageplus": "gold"
  }
}

### Setup

cd ~/clawd/skills/google-flights
uv venv && source .venv/bin/activate && uv pip install fast-flights
chmod +x scripts/*.py
cp config.example.json config.json  # then edit

### Data Files

~/clawd/memory/flight-tracking.json — Tracked flights
~/clawd/memory/flight-prices.jsonl — Price history
~/clawd/memory/route-watch-state.json — Watched routes
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: kris-hansen
- Version: 2.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T21:54:25.908Z
- Expires at: 2026-05-10T21:54:25.908Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/google-flights)
- [Send to Agent page](https://openagent3.xyz/skills/google-flights/agent)
- [JSON manifest](https://openagent3.xyz/skills/google-flights/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/google-flights/agent.md)
- [Download page](https://openagent3.xyz/downloads/google-flights)