MITupdated 1mo ago
Read hitch-conventions first if it isn't already loaded.
What can you do with Plan Trip?
name: plan-trip description: Start a new hitch trip from a destination and dates — pins the destination so the map and weather work, fills the itinerary with one day per date, and seeds it with candidate places and pre-departure to-dos. argument-hint: "[destination and dates, e.g. Kyoto, 12-18 April]"
Start a trip
$ARGUMENTS
Read hitch-conventions first if it isn't already loaded.
1. Settle the basics before creating anything
You need a destination, a start date, and an end date. If the user gave a vague
range ("a week in Kyoto in April"), pick concrete dates and say which you chose —
they can move them later with update_trip, and an unpinned trip is harder to plan
against than a slightly wrong one.
Resolve relative dates against today's date, and sanity-check the year: "12 April" in November means next year.
2. Look up the destination's coordinates first
This matters and cannot be fixed casually later. search_places the city or
region itself — not a venue in it — and copy its latitude and longitude.
Pass them to create_trip as destination_lat/destination_lng. A trip without
them shows no weather and opens its map nowhere, and coordinates can only be set
once — update_trip can pin a trip that has none, but is rejected if the trip is
already pinned somewhere else. So get it right on the first call.
3. Create it
create_trip with name, destination, start_date, end_date, and the
coordinates. Giving both dates fills the itinerary with one day per date, ready to
schedule into.
nameis what the user will scan a list for. "Kyoto in spring" beats "Kyoto Trip".- Leave
currencyalone unless the user named one; the default is their own base currency, which is the currency they think in. - Put anything the user said about the shape of the trip — who's coming, the pace they
want, what they're there for — in
description. It's the context the next planning session starts from.
4. Seed it so it's useful immediately
An empty trip isn't worth much. Without being asked, add a small amount of substance and tell the user what you added:
- A handful of candidate places.
search_placesfor the obvious anchors of the destination, thenadd_placeeach with its real coordinates and provider ids, and anotesline saying why it's on the list. Save, don't schedule — the shortlist is what the travellers choose from. Six to ten is plenty; more is noise. - The to-dos with deadlines. The things that bite people: tickets that sell out
weeks ahead, rail passes bought before arrival, a passport with under six months
validity, visas, seat reservations.
add_todowith adue_dateand apriority(0 none, 1 low, 2 medium, 3 high). Set the due date early enough to act on, not the day it becomes impossible.
If the user already told you about booked flights or a hotel, log them now —
add_reservation and add_accommodation, local wall-clock times plus IANA zones.
Don't schedule anything onto specific days yet unless the user asked for a full
itinerary. Choosing which day gets which place is the interesting part, and it wants
their input — /hitch:plan-day handles a day at a time.
5. Report back
Give them the trip name and id, the date range, how many days the itinerary now has, what you saved, and what's on the to-do list. Then say what the obvious next move is: usually booking the thing with the earliest deadline, or planning the first day.
Install
Add Plan Trip to your client. Pick the one you use.
npx skills add ggoggam/hitch-pluginInstalls every skill in the repository, then prompts for which to keep.
/plugin marketplace add ggoggam/hitch-pluginAdds the repository as a plugin marketplace; install individual plugins with `/plugin install`.
git clone https://github.com/ggoggam/hitch-plugin
cp -r plugins/hitch/skills/plan-trip ~/.claude/skills/A skill is a plain directory. Copy it into `.claude/skills/` in a project or in your home directory.
Score
54 / 100
Adequate