Install
openclaw skills install ai-travel-agentPersonal travel planning assistant. Requires a SerpAPI key (stored in ~/.serpapi_credentials). Searches real flights and hotels via Google (SerpAPI), checks the user's calendar, and builds fully costed itinerary options — including multi-stop trips across a country or region. Use when a user wants to plan a trip — whether they have dates and a destination, dates but no destination, or a destination but no dates. Handles single-destination and multi-stop itineraries, flight search, hotel search, internal transport, destination recommendations, seasonal timing advice, and calendar integration. NOT for booking (links to book externally).
openclaw skills install ai-travel-agentRequires: A SerpAPI key. SerpAPI (serpapi.com) provides access to Google Flights, Google Hotels, and Google Maps Directions. A free tier is available with 100 searches/month. Sign up at: https://serpapi.com
Load the user's SerpAPI key before running any search. Check these locations in order:
~/.serpapi_credentials → SERPAPI_KEY=...~/.travel_agent_config → SERPAPI_KEY=...These are the only local files this skill reads. If neither file is found, ask the user where their SerpAPI key is stored, or whether they would like to create one at https://serpapi.com.
All flight, hotel, and transport searches are sent to serpapi.com using the user's own API key. This skill does not store, transmit, or proxy the key anywhere else.
Before searching anything, ask a small set of quick questions. Keep it conversational — one message, not a form. Tailor which questions to ask based on what the user hasn't already told you.
Questions to ask (as needed):
Skip questions already answered. Keep to 4–6 questions max in a single message.
references/seasonal-destinations.mdgoogle-calendar, outlook-calendar, or any other calendar skill available. This is an optional convenience: it checks the user's calendar for free windows to suggest good travel dates. If no calendar skill is found (or the user prefers not to use it), fall back to asking the user directly for their available date windows. Never access calendar data without the user's awareness.references/seasonal-destinations.md for best time to visit that destinationUse when the user wants to travel around a country or region rather than stay in one place.
references/multi-stop-routes.md for regional route suggestionsDays 1–3: Tokyo (arrive, recover, explore)
Days 4–6: Kyoto (temples, geisha district, day trip to Nara)
Days 7–9: Osaka (food scene, day trip to Hiroshima)
Day 10: Fly home from Osaka (KIX)
Once the user is happy with the skeleton, confirm:
Run searches for each component in this order:
Flights:
search_flights.py per leg)Hotels:
search_hotels.py for each stop with correct check-in/check-out datesInternal transport between stops — run BOTH scripts in parallel:
# Ground transport (trains, buses, ferries)
python3 scripts/search_transport.py \
--from "City A, Country" --to "City B, Country" \
--key $SERPAPI_KEY
# Domestic flights
python3 scripts/search_flights.py \
--from [IATA_A] --to [IATA_B] --date YYYY-MM-DD \
--adults N --class economy --currency GBP \
--key $SERPAPI_KEY
Present all options in a single combined comparison, grouped by type:
For each option show: operator, duration, price, booking link. Recommend the best option based on journey time including transfers, price, and convenience — don't just list them. Note when advance booking is essential (e.g. Trenitalia, Eurostar, Renfe, Shinkansen).
Present the full itinerary in one structured summary — see Step 5M.
Run scripts/search_flights.py:
python3 scripts/search_flights.py \
--from [IATA] --to [IATA] \
--date YYYY-MM-DD [--return-date YYYY-MM-DD] \
--adults N [--children N] \
--class economy|premium_economy|business|first \
--currency GBP \
--key $SERPAPI_KEY
For round trips, also run the return leg separately for more options.
Present results as 3–4 options:
For each option show: airline + flight number, depart/arrive times, duration, stops, price, aircraft, legroom, any delay warnings.
Run scripts/search_hotels.py:
python3 scripts/search_hotels.py \
--location "[CITY] [preference]" \
--check-in YYYY-MM-DD --check-out YYYY-MM-DD \
--adults N [--children N] \
[--stars N] [--amenities "pool,beach"] \
--sort highest_rating \
--currency GBP \
--key $SERPAPI_KEY
Present results as 3 tiers:
For each: name, stars, rating, price/night, total cost, key amenities, location notes, booking link.
After presenting options, invite refinement:
Re-run the relevant script with adjusted parameters.
Once all flights and hotels are searched, present a complete trip summary:
🌍 [TRIP NAME] · [DATE RANGE] · [N] people
DAY 1–3 | CITY A
✈ [Inbound flight] | [time] → [time] | £XX
🏨 [Hotel name] ★★★★ | £XX/night | £XX total
[Train/bus to City B — Xh, book via Trainline: URL]
DAY 4–6 | CITY B
🏨 [Hotel name] ★★★★ | £XX/night | £XX total
✈ [Internal flight if applicable]
DAY 7–9 | CITY C
🏨 [Hotel name] ★★★ | £XX/night | £XX total
✈ [Outbound flight] | [time] → [time] | £XX
💰 TOTAL ESTIMATED COST: £XX
Flights: £XX | Hotels: £XX | (Transport: £XX est.)
Invite iteration on any leg:
Once the user confirms everything:
google-calendar, outlook-calendar, or any other calendar skill) and use that. Do not assume Google Calendar. This access is explicitly user-requested at this step — the user has just asked to add events to their calendar.
.ics file the user can import into any calendar app (Google, Apple, Outlook, etc.)references/serpapi.md for full API reference (flights, hotels, transport/directions)references/seasonal-destinations.md for destination/timing guidancereferences/multi-stop-routes.md for regional itinerary templates