| name | google-hotels |
| description | Search Google Hotels for hotel prices, ratings, and availability using browser automation. Use when user asks to search hotels, find accommodation, compare hotel prices, check availability, or look up places to stay. Triggers include "search hotels", "find hotels", "hotels in", "where to stay", "accommodation", "hotel prices", "cheapest hotel", "best hotel", "places to stay", "hotel near", "book a hotel", "hotel ratings". |
| category | travel |
| tags | hotels, booking, travel, accommodation, google-hotels, hotel-search, places-to-stay |
| allowed-tools | Bash(agent-browser:*), Bash(echo*), Bash(printf*) |
| enabled | true |
| source | github:skillhub/hotel-search |
| imported-from | github:skillhub/hotel-search |
Google Hotels Search
Search Google Hotels via agent-browser to find hotel prices, ratings, amenities, and availability.
When to Use
- User asks to search, find, or compare hotels or accommodation
- User wants hotel prices in a city, neighborhood, or near a landmark
- User asks about hotel availability for specific dates
- User wants the best-rated or cheapest hotel in an area
When NOT to Use
- Booking: This skill searches only — never complete a purchase
- Vacation rentals / Airbnb: Google Hotels shows hotels, not rentals
- Flights: Use the google-flights skill
- Historical prices: Google Hotels shows current prices only
- NEVER leave Google Hotels during search — do not navigate to Booking.com, Expedia, Hotels.com, or any OTA as a search workaround. Exception: after results, you MAY visit a hotel's own website for direct booking/promo checks.
Session Convention
Always use --session hotels for isolation.
URL Fast Path (Preferred)
Build a URL with location and dates encoded. Loads results in 3 commands.
Encoding Dates in the URL
Google Hotels uses a protobuf-encoded ts parameter. Use this bash function to generate it:
hotel_ts() {
local ci_y=$1 ci_m=$2 ci_d=$3 co_y=$4 co_m=$5 co_d=$6 nights=$7
local cyl=$(printf '%02x' $(( ($ci_y & 0x7f) | 0x80 )))
local cyh=$(printf '%02x' $(($ci_y >> 7)))
local col=$(printf '%02x' $(( ($co_y & x7f) | x80 )))
coh=$( $(( >> )))
-n \
| xxd -r -p | | -d
}