Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Browser-automated Google Flights search via agent-browser. All airlines including Southwest. Cash prices, schedules, economy/business comparison, market selection.
.claude/skills/borski-google-flights/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 369% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -11% | 0% |
Search Google Flights via agent-browser to find flight prices, schedules, and availability.
Requires agent-browser CLI:
bashnpm install -g agent-browser && agent-browser install
--session econ and --session biz--session flights--session flightsConstruct a URL with a natural language ?q= parameter. Loads results directly. 3 commands total.
https://www.google.com/travel/flights?q=Flights+from+{ORIGIN}+to+{DEST}+on+{DATE}[+returning+{DATE}][+one+way][+business+class][+N+passengers][&gl=XX]Run two parallel sessions (economy and business) to show the price delta:
bash# Launch both in parallel agent-browser --session econ open "https://www.google.com/travel/flights?q=Flights+from+BKK+to+NRT+on+2026-03-20+returning+2026-03-27" & agent-browser --session biz open "https://www.google.com/travel/flights?q=Flights+from+BKK+to+NRT+on+2026-03-20+returning+2026-03-27+business+class" & wait # Wait for both to load agent-browser --session econ wait --load networkidle & agent-browser --session biz wait --load networkidle & wait # Snapshot both agent-browser --session econ snapshot -i agent-browser --session biz snapshot -i # Close biz (only needed for delta column); keep econ alive for booking links agent-browser --session biz close
Add +one+way to the URL:
bashagent-browser --session flights open "https://www.google.com/travel/flights?q=Flights+from+LAX+to+LHR+on+2026-04-15+one+way" agent-browser --session flights wait --load networkidle agent-browser --session flights snapshot -i
| Feature | URL syntax | Status | |---------|-----------|--------| | Round trip | +returning+YYYY-MM-DD | Works | | One way | +one+way | Works | | Business class | +business+class | Works | | First class | +first+class | Works | | N passengers | +N+passengers | Works | | Adults + children | +2+adults+1+child | Works | | IATA codes | BKK, NRT, LAX | Works | | City names | Bangkok, Tokyo | Works | | Dates as YYYY-MM-DD | 2026-03-20 | Works (best) | | Market/locale | &gl=TH (country code) | Works | | Premium economy | +premium+economy | Fails | | Multi-city | N/A | Fails |
Each flight appears as a link element with a full description:
link "From 20508 Thai baht round trip total. Nonstop flight with Air Japan.
Leaves Suvarnabhumi Airport at 12:10 AM on Friday, March 20 and arrives
at Narita International Airport at 8:15 AM on Friday, March 20.
Total duration 6 hr 5 min. Select flight"Parse into a markdown table (see Output Format below).
Different country markets return different prices for the same route. Always try:
&gl=US for flights from the US)&gl=JP for flights to Japan)The &gl=XX parameter sets the market. Use ISO 3166-1 alpha-2 country codes.
After presenting results, offer booking links. When the user picks a flight:
bashagent-browser --session econ click @eN # Click the flight's link agent-browser --session econ wait 3000 agent-browser --session econ snapshot -i # Shows booking providers with prices and URLs
Always use markdown tables for flight results.
| # | Airline | Stops | Duration | Depart | Arrive | Economy | Business | Delta | |---|---------|-------|----------|--------|--------|---------|----------|-------| | 1 | JAL | Nonstop | 5h 55m | 8:05 AM | 4:00 PM | $523 | $1,490 | +185% | | 2 | THAI | Nonstop | 5h 50m | 10:30 PM | 6:20 AM+1 | $628 | $1,675 | +166% |
| # | Airline | Stops | Duration | Depart | Arrive | Price | |---|---------|-------|----------|--------|--------|-------| | 1 | JAL | Nonstop | 5h 55m | 8:05 AM | 4:00 PM | $523 |
Use for multi-city, premium economy, or when the URL path fails. See the google-flights skill in ajimix/travel-hacking-toolkit for the full interactive reference with step-by-step commands for form filling, date pickers, and multi-city searches.
| Rule | Why | |------|-----| | Prefer URL fast path | 3 commands vs 15+ interactive | | wait --load networkidle | Smarter than fixed wait 5000 | | Use fill not type for airports | Clears existing text first | | Wait 2s after typing airport codes | Autocomplete needs API roundtrip | | Always CLICK suggestions, never Enter | Enter is unreliable for autocomplete | | Re-snapshot after every interaction | DOM changes invalidate refs | | Keep results session alive for booking links | Close biz session after capturing delta |
Other measured skills in the registry, with their headline benchmark lift.