{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/google-flights",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=google-flights",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "config.example.json",
      "scripts/search.py",
      "scripts/track.py",
      "scripts/watch-route.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/google-flights",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Google Flights",
        "body": "Flight search with flexible dates, smart filters, connection scoring, and price tracking."
      },
      {
        "title": "Quick Start",
        "body": "cd ~/clawd/skills/google-flights\nsource .venv/bin/activate\n\n# Basic search\n./scripts/search.py LAX JFK tomorrow\n\n# Flexible dates — find cheapest day\n./scripts/search.py LAX JFK \"apr 15\" --flex 3\n\n# Nonstop under $500\n./scripts/search.py SFO ORD \"next friday\" --nonstop --max-price 500\n\n# Watch a route for price drops\n./scripts/watch-route.py add LAX JFK --alert-below 350\n./scripts/watch-route.py watch"
      },
      {
        "title": "Basic Usage",
        "body": "./scripts/search.py <from> <to> <date> [options]"
      },
      {
        "title": "Date Formats",
        "body": "Natural language supported:\n\ntomorrow, today\nnext friday, next week\nmar 15, March 15, 3/15\n2026-04-15 (ISO format)"
      },
      {
        "title": "Filters",
        "body": "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"
      },
      {
        "title": "Output",
        "body": "FlagDescription--top NShow top N results (default: 5)--sortSort by: price (default), score, duration--show-scoresShow connection quality breakdown--jsonJSON output"
      },
      {
        "title": "Examples",
        "body": "# Find cheapest day in a week window\n./scripts/search.py LAX JFK \"apr 10\" --flex 7 --nonstop\n\n# Morning departure, business class\n./scripts/search.py SFO LHR \"may 1\" --seat business --depart-after 8am\n\n# Family trip sorted by connection quality\n./scripts/search.py DEN MCO \"jun 15\" -a 2 -c 2 --sort score --show-scores\n\n# Round-trip under $800\n./scripts/search.py SEA LAX \"apr 1\" --return \"apr 8\" --max-price 800"
      },
      {
        "title": "Price Tracking",
        "body": "Track specific flights and get alerts on price changes.\n\n# Track a specific flight\n./scripts/track.py add LAX JFK \"2026-05-15\" --alert-below 400\n\n# Track round-trip\n./scripts/track.py add LAX JFK \"may 1\" --return \"may 8\" -a 350\n\n# Check all tracked flights\n./scripts/track.py check\n\n# View price history\n./scripts/track.py history LAX-JFK-2026-05-15\n\n# List / remove\n./scripts/track.py list\n./scripts/track.py remove LAX-JFK-2026-05-15"
      },
      {
        "title": "Route Watching",
        "body": "Monitor regular routes (e.g., commute between two cities).\n\n# Add a route to watch\n./scripts/watch-route.py add LAX JFK --alert-below 400\n\n# Check all watched routes\n./scripts/watch-route.py watch\n\n# List watched routes\n./scripts/watch-route.py list\n\n# Remove a route\n./scripts/watch-route.py remove LAX-JFK"
      },
      {
        "title": "Cron Integration",
        "body": "Set up daily price checks:\n\nopenclaw cron add \\\n  --name \"Flight Price Watch\" \\\n  --cron \"0 9 * * *\" \\\n  --tz \"America/New_York\" \\\n  --session isolated \\\n  --message \"cd ~/clawd/skills/google-flights && source .venv/bin/activate && ./scripts/watch-route.py watch. Alert user only if prices drop below threshold.\""
      },
      {
        "title": "Connection Quality Scoring",
        "body": "Flights scored 0-100 based on:\n\nFactorImpactNonstop 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\n\nUse --show-scores to see breakdown or --sort score to prioritize quality."
      },
      {
        "title": "Configuration",
        "body": "Copy config.example.json to config.json and customize:\n\n{\n  \"preferred_airlines\": [\"United\", \"Delta\"],\n  \"avoid_airlines\": [\"Spirit\"],\n  \"prefer_nonstop\": true,\n  \"max_layover_hours\": 4,\n  \"min_layover_minutes\": 45,\n  \"home_airports\": [\"LAX\", \"JFK\"],\n  \"loyalty_programs\": {\n    \"united_mileageplus\": \"gold\"\n  }\n}"
      },
      {
        "title": "Setup",
        "body": "cd ~/clawd/skills/google-flights\nuv venv && source .venv/bin/activate && uv pip install fast-flights\nchmod +x scripts/*.py\ncp config.example.json config.json  # then edit"
      },
      {
        "title": "Data Files",
        "body": "~/clawd/memory/flight-tracking.json — Tracked flights\n~/clawd/memory/flight-prices.jsonl — Price history\n~/clawd/memory/route-watch-state.json — Watched routes"
      }
    ],
    "body": "Google Flights\n\nFlight search with flexible dates, smart filters, connection scoring, and price tracking.\n\nQuick Start\ncd ~/clawd/skills/google-flights\nsource .venv/bin/activate\n\n# Basic search\n./scripts/search.py LAX JFK tomorrow\n\n# Flexible dates — find cheapest day\n./scripts/search.py LAX JFK \"apr 15\" --flex 3\n\n# Nonstop under $500\n./scripts/search.py SFO ORD \"next friday\" --nonstop --max-price 500\n\n# Watch a route for price drops\n./scripts/watch-route.py add LAX JFK --alert-below 350\n./scripts/watch-route.py watch\n\nSearch\nBasic Usage\n./scripts/search.py <from> <to> <date> [options]\n\nDate Formats\n\nNatural language supported:\n\ntomorrow, today\nnext friday, next week\nmar 15, March 15, 3/15\n2026-04-15 (ISO format)\nFilters\nFlag\tShort\tDescription\n--flex N\t-f\tSearch ±N days around date\n--nonstop\t-n\tNonstop flights only\n--max-price\t-m\tMaximum price\n--depart-after\t\tDepart after time (8am, 14:00)\n--arrive-before\t\tArrive before time (6pm, 18:00)\n--seat\t-s\teconomy, premium-economy, business, first\n--adults\t-a\tNumber of adults (default: 1)\n--children\t-c\tNumber of children\n--return\t-r\tReturn date for round-trip\nOutput\nFlag\tDescription\n--top N\tShow top N results (default: 5)\n--sort\tSort by: price (default), score, duration\n--show-scores\tShow connection quality breakdown\n--json\tJSON output\nExamples\n# Find cheapest day in a week window\n./scripts/search.py LAX JFK \"apr 10\" --flex 7 --nonstop\n\n# Morning departure, business class\n./scripts/search.py SFO LHR \"may 1\" --seat business --depart-after 8am\n\n# Family trip sorted by connection quality\n./scripts/search.py DEN MCO \"jun 15\" -a 2 -c 2 --sort score --show-scores\n\n# Round-trip under $800\n./scripts/search.py SEA LAX \"apr 1\" --return \"apr 8\" --max-price 800\n\nPrice Tracking\n\nTrack specific flights and get alerts on price changes.\n\n# Track a specific flight\n./scripts/track.py add LAX JFK \"2026-05-15\" --alert-below 400\n\n# Track round-trip\n./scripts/track.py add LAX JFK \"may 1\" --return \"may 8\" -a 350\n\n# Check all tracked flights\n./scripts/track.py check\n\n# View price history\n./scripts/track.py history LAX-JFK-2026-05-15\n\n# List / remove\n./scripts/track.py list\n./scripts/track.py remove LAX-JFK-2026-05-15\n\nRoute Watching\n\nMonitor regular routes (e.g., commute between two cities).\n\n# Add a route to watch\n./scripts/watch-route.py add LAX JFK --alert-below 400\n\n# Check all watched routes\n./scripts/watch-route.py watch\n\n# List watched routes\n./scripts/watch-route.py list\n\n# Remove a route\n./scripts/watch-route.py remove LAX-JFK\n\nCron Integration\n\nSet up daily price checks:\n\nopenclaw cron add \\\n  --name \"Flight Price Watch\" \\\n  --cron \"0 9 * * *\" \\\n  --tz \"America/New_York\" \\\n  --session isolated \\\n  --message \"cd ~/clawd/skills/google-flights && source .venv/bin/activate && ./scripts/watch-route.py watch. Alert user only if prices drop below threshold.\"\n\nConnection Quality Scoring\n\nFlights scored 0-100 based on:\n\nFactor\tImpact\nNonstop flight\t+15\nPreferred airline\t+10\nTight connection (<45min)\t-30\nLong layover (>4hr)\t-5 to -25\nProblematic connection airport\t-10 to -20\nWinter weather risk (ORD, EWR, etc.)\t-15\nRed-eye (depart after 10pm)\t-15\nEarly departure (<6am)\t-10\nAvoided airline\t-25\n\nUse --show-scores to see breakdown or --sort score to prioritize quality.\n\nConfiguration\n\nCopy config.example.json to config.json and customize:\n\n{\n  \"preferred_airlines\": [\"United\", \"Delta\"],\n  \"avoid_airlines\": [\"Spirit\"],\n  \"prefer_nonstop\": true,\n  \"max_layover_hours\": 4,\n  \"min_layover_minutes\": 45,\n  \"home_airports\": [\"LAX\", \"JFK\"],\n  \"loyalty_programs\": {\n    \"united_mileageplus\": \"gold\"\n  }\n}\n\nSetup\ncd ~/clawd/skills/google-flights\nuv venv && source .venv/bin/activate && uv pip install fast-flights\nchmod +x scripts/*.py\ncp config.example.json config.json  # then edit\n\nData Files\n~/clawd/memory/flight-tracking.json — Tracked flights\n~/clawd/memory/flight-prices.jsonl — Price history\n~/clawd/memory/route-watch-state.json — Watched routes"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/kris-hansen/google-flights",
    "publisherUrl": "https://clawhub.ai/kris-hansen/google-flights",
    "owner": "kris-hansen",
    "version": "2.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}