itinerary-builder
Skill0 starsChanged 5 months agoMITView on GitHub
Assemble a trip's day-by-day schedule once route, stays, and food are mostly decided. Trigger when the user says "build the itinerary" (or equivalent), when trips/<trip>/trip.md's Route/Stays/Food sections are largely settled, or during the itinerary phase of "plan my whole trip" (travelers -> route -> stays/food -> itinerary). Assembles departure times, drive blocks with breaks, meal stops, check-ins, and anchor activities, respecting traveler logistics like early bird/night owl rhythms and motion-sickness breaks. Flags unresolved blockers instead of guessing, and flips trip status planning -> ready when complete.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- food-scoutSkill
- replannerSkill
- route-plannerSkill
- stay-scoutSkill
- traveler-profilesSkill
- trip-exporterSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read trips/<trip>/trip.md and profiles/travelers.md.
- Very specific: line 37
Write into trip.md as a new Itinerary section (or per-day subsections under existing days — match whatever structure the trip already uses).
- Distinctive: line 42
Check-in time at the night's stay.
- Distinctive: line 60
Keep it human-readable and hand-editable — this is a markdown file the user edits directly, not a generated artifact to be regenerated …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Itinerary builder
This skill turns a mostly-decided trip.md into a concrete hour-by-hour schedule.
Step 1: Check readiness before scheduling
Read trips/<trip>/trip.md and profiles/travelers.md. Assemble the schedule only from what's already decided — this skill never invents a booking, a restaurant, or a time slot to fill a gap.
Running outside the repo (e.g. a claude.ai chat with no files attached) — ask the user to attach their trip.md. There's nothing to schedule without it; say so plainly rather than improvising an itinerary from memory or invented details.
Scan for blockers:
- Stays marked
unbookedor missing. - Food slots marked
_to scout_or without a chosen option. - Route segments marked
tentative.
If blockers exist, surface them rather than schedule around them. Tell the user what's missing and either wait, or build the itinerary around the settled parts and leave the blocked days as open placeholders with a note. Don't silently pick a restaurant or hotel just to complete the schedule — that's food-scout's and the user's call, not this skill's.
If a Budget section exists, do a quick sanity check: does its lodging/fuel actuals line up with what Route and Stays actually settled on? A mismatch (e.g. a stay chosen at $210/night against a stated $160 cap) isn't a blocker on its own, but flag it rather than silently scheduling around a plan that's quietly over budget.
Step 2: Apply traveler logistics and interests
Pull from profiles/travelers.md Logistics:
- Early bird vs. night owl — set departure and dinner times accordingly; don't schedule a 6am departure for a stated night owl without flagging the tension.
- Motion sickness — insert stop breaks on driving legs (roughly every 1.5-2h), matching what route-planner already flagged.
- Kids or mobility limits — build in slack; avoid back-to-back long activities with no downtime.
- Driving shifts — if multiple people share driving, note who's driving which leg if that was decided.
Pull from profiles/travelers.md Interests when picking each day's anchor activity: favor stops the group's stated interests actually match (a museum afternoon for someone who loves museums, a trailhead for the hiker), and skip options that clash with a stated dislike. If a city offers several viable anchors and no interest data points to one, ask rather than guessing — don't silently default to the generic tourist option.
Step 3: Assemble the schedule
Write into trip.md as a new Itinerary section (or per-day subsections under existing days — match whatever structure the trip already uses). Per day, include:
- Departure time and place.
- Drive blocks with break points.
- Meal stops with arrival times (pulled from the Food section's chosen options).
- Check-in time at the night's stay.
- Any anchor activity for the day.
## Itinerary
### Day 1 — <date>
- 8:00 depart <origin>
- 10:30 stop (15 min) — <reason, e.g. "stretch break">
- 12:30 lunch — [<chosen food option>](<maps place link>)
- 15:00 arrive <city>
- 15:30 check in — <stay>
- Evening: [<anchor activity, if any>](<maps place link>)- Reuse links, don't reinvent them. Meal stops already carry a Google Maps place link from food-scout's Food section — copy it over rather than re-deriving. Any new anchor activity this skill introduces (a museum, a trailhead, a viewpoint) gets its own place link the same way food-scout and route-planner build theirs:
https://www.google.com/maps/search/?api=1&query=<url-encoded "Name, City, State">, plus the real website if you found one. - Mark new anchors on the day's route map, if one exists. If that day already has a Route section with a
Map:link, add the anchor activity to its waypoints too (same mechanic food-scout uses for meal stops) so it shows up as a pin alongside the drive — update the Route section'sMap:line in the same turn. Skip this if the day has no driving segment or no Map link yet.
Keep it human-readable and hand-editable — this is a markdown file the user edits directly, not a generated artifact to be regenerated wholesale each time.
Step 4: Flip status when actually complete
Set status: ready in the frontmatter only when every day has a full schedule with no blockers left. If any day is still incomplete, leave status: planning and list the specific gaps under Open items — don't flip status to make the trip look more finished than it is.
Step 5: Optional export
If the user wants something to carry on the road or share, hand off to the trip-exporter skill — it renders trip.md into a shareable itinerary.html in the trip folder (privacy-scrubbed, optionally published as an Artifact link). For a calendar import, an .ics file next to trip.md still works too. These are exports, not the source of truth; trip.md stays authoritative and exports are regenerated from it, not hand-maintained separately.
Step 6: Log and hand off
Append a dated Log entry noting the itinerary was built (or partially built, naming what's still open). If status flipped to ready, say so plainly — that's the signal the trip is set. If blockers remain, name them as the next concrete step ("Once North Platte dinner is scouted, Day 2 is ready too").
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

