> Generate North American road-trip itineraries as a map-first, offline-friendly single-file HTML page. Plans around daily driving segments, overnight stops, fuel/EV-charging, national-park reservations (Recreation.gov / NPS), seasonal road closures, and timezone/border crossings — for executable, decision-ready the whole route, or hand it an existing route and it verifies, fills gaps, and produces the page.
npx skills add https://github.com/Waybox-AI/roadtrip-skill --skill roadtrip-navigator
Turn "start + days" or "an existing route" into a road trip you can
actually drive: paced into days, with overnight stops, fuel/charging, park
reservations, seasonal road risks, and a map-first single-file HTML page.
North American road trips revolve around the car, not flights: *how many
hours do we drive today, where do we sleep, will we make it on the fuel/charge
we have, and is the road even open.* That focus is what this skill adds on top
of a generic "list of attractions."
Use this skill whenever the request is about driving a multi-stop trip in the
US / Canada / Mexico (see read-when triggers). If the user only wants a single
city guide or a flight itinerary, this is not the right skill.
Detect the mode up front (see scripts/helper.py for the heuristic):
destination, day count, and party/vehicle. → Run the full 7-step workflow,
designing the route yourself.
route. → Skip route invention. Parse their route into the schema, then
*verify and fill gaps*: driving segmentation, overnight realism, fuel/charge
coverage, reservation countdown, seasonal closures, and produce the page.
When unsure which mode, ask one short question. Otherwise infer and proceed.
These are where pure-model answers fail and where this skill earns its keep:
under a sane daily drive limit, place an overnight at each segment end, and
*validate* each day: drive ≤ limit, arrive before dark, no stop hits a
closed gate, fatigue buffer. This is the road-trip equivalent of
connection-checking — most AI itineraries skip it.
out; popular timed-entry a few days out; in-park lodges up to ~13 months out.
From the departure date, work backwards into a "book by" to-do list.
X mi"). EV: plan a charging corridor against the vehicle's range and note
whether each leg makes it, charger power, and a backup.
(Going-to-the-Sun, Tioga Pass, Trail Ridge Rd), wildfire/hurricane/snow
season. If the travel date hits one, down-rank or reroute and say so.
border crossings, flag documents / vehicle papers / insurance / wait times.
> Run scripts/helper.py "<user request>" first — it parses slots, guesses the
> entry mode, picks the trip region (for HTML theming), and prints what's still
> missing. Use its output to drive the steps below.
Required: start, travel date, days, party makeup, vehicle (gas/EV/RV + range).
Optional: destination/region, budget, preferences (scenic vs. fast, hike
intensity, loop vs. one-way, border crossing). Only ask follow-ups for missing
required slots; fill the rest with sensible defaults and proceed.
Validate place names before planning. Slot presence is not slot truth: a
made-up start like "ABC" parses fine and would otherwise flow straight into a
fabricated route. Run every user-supplied place — start, destination, named
waypoints; in heavy mode each day's from/to towns — through
python3 tools/places_client.py "<name>" and branch on its verdict:
match → adopt the returned canonical name + coordinates; did-you-mean →
confirm the intended place with the user (one short question, same spirit as
the required-slot follow-ups); no-match → **stop and ask — never plan a
route around a place you could not verify**; unverified (offline) → use your
own judgment and ask about any name you don't recognize. A match with
outsideNA: true is a real place outside US/Canada/Mexico — tell the user
it's beyond this skill's coverage instead of calling it fake.
Decide loop vs. one-way first (affects one-way drop fees and pacing).
For region-level input ("the Southwest", "Pacific Northwest"): search
candidates → seasonal & closure check → shortlist. Compute rough total miles /
driving days for the shortlist and drop any "can't be driven in N days" option.
Present two candidate routes before committing (light mode only). Once the
shortlist is down to viable options, draft exactly two genuinely distinct
routes yourself — e.g. a faster direct corridor vs. a scenic detour, or two
different geographic loops — each with a short label, a one-line summary, and
rough total miles/driving days. Show both to the user and ask them to pick
(or say "surprise me") before moving to Step 3. This is a single short
question, same spirit as the required-slot follow-up in Step 1 — don't
draft a full itinerary for either option first. If the conversation is
one-shot and no reply is possible, pick the better-rated option yourself,
proceed, and note the alternative you didn't take. Skip this entirely in
heavy mode (the user already supplied a route) or once the user has already
chosen. Carry both options into scripts/helper.compare_routes() to populate
routeOptions[] (Phase-3 module below) so the rendered page shows the
comparison table with the chosen route flagged.
with kids/seniors ≤ 3–4h; user-adjustable).
next morning).
have a fuel/charge point mid-way.
leg — charge to full before leaving."
Rule of thumb: plan by daylight, not by odometer — a day that ends after
dark fails at the trailhead, not on the map.
Fan out (one concern per sub-agent, run concurrently): weather (per day),
lodging/campgrounds (price + booking difficulty), fuel/charging points,
attractions & tickets/permits, food, scenic byways & hikes, Reddit real-world
gotchas. **Delegation rule: instruct each sub-agent to hit official APIs first
(NPS / NWS / Recreation.gov / Open Charge Map) and fall back to web search only
on failure.** See reference.md for the tool routing table and tools/.
From the departure date, generate a "book by" to-do list:
campgrounds (Recreation.gov, ~T-6 months), timed-entry / wilderness permits
(per park rule, T-X days), popular in-park lodges (up to ~T-13 months),
one-way car/RV rental (lock price early). Render at the top of the page as
Attractions / Restaurants / Hotels tabs, each with its own deadline timeline.
Populate bookingCountdown[] and set each item's optional category to
attraction, restaurant, or hotel (use the closest category for legacy tasks).
Every planned stay must also be present in lodging[]; the Hotels tab renders that
complete list once and merges any matching hotel deadline from bookingCountdown[].
The Attractions and Restaurants tabs likewise render the complete visitable stops[]
and daily meal list, then merge matching deadlines instead of hiding items without one.
An unmatched attraction or meal is labeled as needing no advance booking; an unmatched
stay is labeled with an unknown deadline because lodging still needs to be reserved.
Every park, hike, scenic stop, and tour must carry an admission object whose status
is free, included, paid, or unknown. Add a structured per-stop price for paid
admission only when supportable; never derive it from an aggregate budget line. The view
renders these as Free, Included in park pass, a concrete amount, or Price unavailable.
Include a structured price when known: hotel per night, restaurant per person,
and attraction ticket/permit price when required. Use amount 0 for a free reservation;
never invent an exact live price when it cannot be supported.
Tag every line verified / reference(~) / estimate(≈). Road-trip specifics:
fuel = total miles ÷ MPG × gas price (or EV charging cost); tolls; park entry or
the America the Beautiful annual pass; one-way drop fee; campground; lodging;
food. Force a bottom disclaimer: prices are dynamic, confirm before departure.
tripData.json first (data/view separation — editable,re-renderable).
python3 assets/generate.py tripData.json -o trip.html→ Leaflet map (numbered stops + ordered polyline) + one-tap mobile nav
(Google/Apple deep links) + daily timeline + reservation to-do + budget.
Responsive (mobile single-column / desktop multi-column) + print friendly.
schema check and a JSON parse of the injected data. Optionally syntax-check
the inline JS, then open/preview.
sources.
tripData.json and the rendered trip.html.Canadian/Mexican legs and note the change. A trip entirely within China
prices its budget in CNY (¥) — never converted into USD.
minute-level traffic — point to the official app / Recreation.gov / nav.
Do not promise: exact live fuel/electricity prices, live charger occupancy,
minute-level traffic, live campground availability, or replacing turn-by-turn
navigation. For these, tell the user to confirm via the official app /
Recreation.gov / their navigation app in real time. The page's job is to be
right the morning you leave, not merely impressive the night it was generated.
reference.md — tripData schema, reliability grading, tool routing table.AGENTS.md ("Worked examples") — typical prompts and expected outputs.assets/generate.py — tripData.json → single-file HTML.assets/template.html — the HTML/JS renderer (Leaflet map + timeline).assets/tripData.example.json / assets/preview.html — Southwest 7-day demo.assets/tripData.tahoe.json / assets/preview-tahoe.html — Sunnyvale→Tahoe3-day demo (mountain theme, state-park reservations, Sierra snow risk).
assets/tripData.pnw.json / assets/preview-pnw.html — Seattle→Vancouver→Whistler EV cross-border demo (exercises all three Phase-3 modules below).
These render as extra sections when their data is present (see reference.md):
scripts/helper.compare_routes(options, party)→ routeOptions[]. Feeds from the Step 2 two-route pick above; it auto-rates
drive intensity and renders a comparison table with the chosen route flagged.
tools/border_client.trip_section([("US","CA",rental),...])→ crossBorder. Per-crossing documents / insurance / customs / unit-switch
checklist for US↔CA↔MX. Note the key asymmetry it encodes: US insurance is
usually valid in Canada but never in Mexico (buy Mexican insurance).
hours_abroad, used_within_30_days=False)` → the per-person allowance quoted in
crossBorder customs notes. Encodes the 24h/48h tiers (US: USD 800 at 48h+,
once per 30 days, else USD 200; CA: 0 / CAD 200 / CAD 800; MX land: USD 300)
with EN + 中文 note strings — quote the tool, never recall these amounts.
winter_derate=...) → evPlan`. Simulates state-of-charge leg by leg, sets a
recommended charge-to at each stop, and flags legs that won't make the buffer.
Pass winter_derate (e.g. 0.25) for cold-weather range loss.
scripts/helper.py — input parsing, entry-mode + region detection, slot check.tools/*.py — per-source clients, each with a web-search fallback(incl. border_client.py and charging_client.corridor()).
Take waybox-ai/roadtrip-navigator from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.