mvanhorn/printing-press-library/pp-booking-com
Claude Code and agent skill by mvanhorn/printing-press-library
- community
Checking that the SKILL.md file is still in the repository.
Every Booking.com workflow, plus offline price history, wishlist drop alerts, and multi-leg planning no other... Trigger phrases: `search booking.com for hotels in`, `what's the cheapest week to stay in`, `track price drops on my booking.com wishlist`, `compare these two hotels`, `are any of my booking trips about to lose free cancellation`, `plan a multi-city trip on booking.com`, `use booking-com`, `run booking-com`.
Install
npx vskill@latest install mvanhorn/printing-press-library/pp-booking-comSKILL.md
The same SKILL.md was published earlier as mvanhorn/printing-press-library/pp-booking-com.
Booking.com — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the booking-com-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:
``bash npx -y @mvanhorn/printing-press-library install booking-com --cli-only ``
- Verify:
booking-com-pp-cli --version - Ensure the reported install directory is on
$PATHfor the agent/runtime that will invoke this skill.
If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
When to Use This CLI
Use this CLI when an agent needs to search Booking.com, drill into hotel detail, compare candidates, or work with a user's logged-in Booking account (trips, wishlist, Genius rewards). It is the right choice for cheapest-date sweeps, price-drop tracking, and multi-leg itinerary planning — work that compounds across calls and benefits from local SQLite history. Reach for it instead of generic web-scraping tools because it owns Booking's AWS WAF clearance via Surf+Chrome TLS, the CSRF/cookie composition for /dml/graphql, and the Chrome cookie import for authenticated surfaces.
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Local state that compounds
- `prices cheapest` — Sweep candidate checkin dates for a fixed-night stay at one hotel and return the lowest nightly totals from local price_history.
_Reach for this before recommending dates to a user. It removes Booking's manual click-through-every-date dance and exposes the seasonal price floor for the property in one call._
``bash booking-com-pp-cli prices cheapest --slug auliviaopera --country fr --window 2026-06-01..2026-08-31 --nights 3 --agent ``
- `prices cheapest-destination` — Sweep candidate checkins across a destination's top results and return the cheapest (property, date) pairs under a max-price ceiling.
_Use when an agent has a flexible-date traveler in a flexible-property mood. Returns a budget-constrained Pareto frontier instead of one ranked list per date._
``bash booking-com-pp-cli prices cheapest-destination --query Paris --window 2026-06-01..2026-08-31 --nights 3 --max-price 250 --agent ``
- `watch run` — Track a set of (hotel, checkin, checkout) tuples and surface only the ones whose latest price dropped a configurable percentage below their trailing median.
_Schedule this nightly. Returns empty most days, returns gold when a watched property dropped enough to act on._
``bash booking-com-pp-cli watch run --min-pct 7 --agent ``
- `destinations price-band` — Aggregates price_history for a destination's synced properties and emits per-month median, min, and max nightly rate plus contributing property-count.
_Use when planning a flexible-month trip. Returns the cheapest month + 'avoid this month' signal without manual searching._
``bash booking-com-pp-cli destinations price-band --query Paris --year 2026 --nights 3 --agent ``
- `search` — After
syncpopulates the local property store, FTS5 ranks free-text queries over name + description + amenity strings with BM25, no network call.
_After repeated sync calls have built a corpus, this lets an agent answer cross-destination property questions without re-hitting the network._
``bash booking-com-pp-cli search "boutique near louvre with rooftop" --agent ``
Agent-native plumbing
- `wishlist drops` — Joins the authenticated wishlist with the local price_history and surfaces saved properties whose latest observed price is N% below the previous observation.
_Use Sunday morning. Returns the small set of wishlist items worth booking now, instead of forcing the user to eyeball 30-40 saved properties._
``bash booking-com-pp-cli wishlist drops --since 168h --min-pct 5 --agent ``
- `compare` — Fetches detail + reviews for two hotels in parallel and emits a paired struct (price, score, amenity Δ, distance, free-cancellation, breakfast, recent-review counts).
_When an agent has narrowed to two finalists, reach for this instead of re-rendering both detail pages and asking the user to read both._
``bash booking-com-pp-cli compare auliviaopera plazaathenee --checkin 2026-07-15 --checkout 2026-07-18 --agent ``
- `trips deadlines` — Walks authenticated upcoming trips, extracts the free-cancellation-until deadline from each trip detail, and returns trips whose deadline is within a configurable window.
_Booking penalizes missed cancellation deadlines. Run this each Monday morning to catch deadlines before they expire._
``bash booking-com-pp-cli trips deadlines --within 168h --agent ``
- `trips export` — Walks authenticated past-trip list, opens each trip detail, and emits a deterministic CSV (confirmation, property, checkin, checkout, currency, total, address) ready to paste into expense systems.
_Use Monday morning for last week's reimbursements. One call replaces clicking through every past trip._
``bash booking-com-pp-cli trips export --state past --since 2026-01-01 --format csv ``
- `reviews stats` — Local SQL group-by over synced reviews; counts and median score per score-band, language, and traveler-type bucket. Mechanical, no NLP.
_Reach for this when an agent is matching property fit to a traveler type. Returns a bucket distribution instead of forcing the agent to read 1000 reviews._
``bash booking-com-pp-cli reviews stats --slug auliviaopera --country fr --by score-band,language,traveler-type --agent ``
Reachability mitigation
- `trip plan` — Given multiple destination + date legs and a total budget, picks the cheapest property per leg whose summed nightly totals fit the budget, with a bounded combinatorial fallback when greedy busts.
_For multi-city European itineraries the agent can answer the budget-constrained question in one round-trip instead of asking the user to iterate per leg._
``bash booking-com-pp-cli trip plan --leg Rome:2026-07-10:2026-07-13 --leg Florence:2026-07-13:2026-07-16 --leg Venice:2026-07-16:2026-07-20 --budget 1800 --filters free_cancellation,breakfast,score>=8 --agent ``
- `genius impact` — Runs an absorbed search twice — once with the authenticated cookie (Genius rates applied) and once anonymously — and diffs price-per-property to surface the Genius savings delta.
_Use when an agent helps a user evaluate whether a Booking Genius tier is worth chasing. Reports the actual unlocked discount on a real search._
``bash booking-com-pp-cli genius impact --query Paris --checkin 2026-07-15 --checkout 2026-07-18 --adults 2 --agent ``
- `deals mobile-rates` — Re-runs an absorbed search with a Chrome mobile UA on top of the desktop call and diffs to surface mobile-only discounts Booking hides from desktop users.
_When an agent is hunting savings, reach for this before recommending the desktop-quoted rate. Mobile rates can be 5-15 percent lower on the same hotel + dates._
``bash booking-com-pp-cli deals mobile-rates --query Paris --checkin 2026-07-15 --checkout 2026-07-18 --agent ``
HTTP Transport
This CLI uses Chrome-compatible HTTP transport for browser-facing endpoints. It does not require a resident browser process for normal API calls.
Discovery Signals
This CLI was generated with browser-observed traffic context.
- Capture coverage: 1 API entries from 14 total network entries
- Protocols: ssr_html (95% confidence), rest_graphql (70% confidence)
- Auth signals: none; cookie — cookies: aws-waf-token, bkng, bkng_sso_session, cgumid, bkng_prue
- Generation hints: requires_browser_http, requires_browser_cookie_for_auth_endpoints, has_ssr_html_primary_surface, has_csrf_token_for_graphql, supports_offset_pagination
- Candidate command ideas: search — SSR /searchresults.html returns 25 property cards parseable from HTML.; hotel get — SSR /hotel/<country>/<slug>.html returns full hotel JSON-LD.; reviews list — /reviewlist.html exists as a separate paginated surface.; destinations autocomplete — Autocomplete dropdown on homepage fires destination resolver.; trips list — secure.booking.com/mytrips.html loaded with cookie auth and rendered user-specific UI.; wishlist get — www.booking.com/mywishlist.html?wl_id=<id> loaded with cookie auth.; rewards get — secure.booking.com/rewards_and_wallet.html linked from authenticated header.; profile get — secure.booking.com/mysettings.html linked from authenticated header (showed 'Matt Van Horn, Genius Level 3').
- Caveats: ssr_dominant: All observed user-visible pages are server-rendered. Initial searches, hotel detail, trips, and wishlist deliver their data in HTML rather than XHR/GraphQL. The /dml/graphql endpoint exists but was not exercised during this capture; it is documented for future map-markers and review-pagination work.; empty_authenticated_state: User's trips and wishlist were empty during capture, so response shape for populated cards was not directly observed. Schema fields are inferred from Booking.com documentation, community wrappers, and the empty-state markup.
Command Reference
account — Authenticated account/profile page at secure.booking.com/mysettings.html. Returns display name, Genius tier, account email (redacted), language, currency, and country.
booking-com-pp-cli account— Read the authenticated user's display name, Genius tier (e.g. Level 3), preferred language, and preferred currency.
attractions — Attractions, tours, and experiences at www.booking.com/attractions/searchresults/<country>/<city>.html. Returns activity cards with price, duration, rating, and product slug for detail lookups.
booking-com-pp-cli attractions get— Fetch full attraction detail (description, inclusions, duration options, meeting point, cancellation policy, reviews...booking-com-pp-cli attractions search— Search attractions in a city. Returns SSR-extracted activity cards with price, rating, and product slug. Use...
cars — Car rental landing at www.booking.com/cars/index.html. Booking.com cars is powered by Rentalcars and uses a self-posting form for search; deep-link results URLs are not supported. This resource exposes the top deals visible on the landing page and supplier landing pages (Hertz, Sixt, Avis, etc.) so agents can recommend pickup locations and known suppliers without claiming results we can't deliver.
booking-com-pp-cli cars— Read the car-rental landing page: featured deals, supported suppliers, and supported city-level pickup locations....
destinations — Booking.com destination lookup. Resolves a free-text destination string (city, region, neighborhood, landmark) to a stable dest_id and dest_type that other commands can use.
booking-com-pp-cli destinations— Trigger Booking.com's destination resolver by posting a search withss=<text>and parsing the destination context...
flights — Flights search at flights.booking.com/flights/<ORIG>-<DEST>/. Booking's flight search is powered by Etraveli but exposes a clean SSR URL pattern. Returns flight cards with carrier, departure/arrival times, layovers, duration, and price.
booking-com-pp-cli flights <origin> <destination>— Search flights between two IATA airport codes. Returns SSR-extracted flight cards with carrier, times, layovers, and...
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcli-skills/pp-booking-com/SKILL.md
Popularity
- Repository stars
- 1,886
- Repository forks
- 562
- 7-day trend score
- 38
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 6 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mvanhorn/printing-press-library/pp-booking-com)