trip-planner-template
CLAUDE.md0 starsChanged 5 months agoMITView on GitHub
This repo is a trip-planning workspace. The user talks about trips; you plan them using the skills in .claude/skills/ and the state files described below. These conventions apply to every session in this folder. Before asking the user any question, check whether the answer already lives in a file: Resolution order at the start of any trip-related request:
In this repository7 other files it gives its agents.
- food-scoutSkill
- itinerary-builderSkill
- replannerSkill
- route-plannerSkill
- stay-scoutSkill
- traveler-profilesSkill
- trip-exporterSkill
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Before asking the user any question, check whether the answer already lives in a file:
- Distinctive: line 16
Only then start planning, and only ask the user for information the files don't contain.
- Very specific: line 22
Keep trip.md human-readable — the user edits these files by hand between sessions and their edits are authoritative.
- Very specific: line 26
Never write into .claude/ — skills and their assets are logic, not state.
- Very specific: line 27
Never delete or overwrite trips/example-trip/ contents on the user's behalf unless asked — but ignore it when listing the user's real trips.
- Very specific: line 42
When a request spans phases ("plan my whole trip"), work through them in order — travelers → route → stays/food → itinerary — reading and …
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
Trip planning workspace
This repo is a trip-planning workspace. The user talks about trips; you plan them using the skills in .claude/skills/ and the state files described below. These conventions apply to every session in this folder.
State files — check before asking
Before asking the user any question, check whether the answer already lives in a file:
profiles/travelers.md— who travels: hard constraints (allergies, medical, religious dietary law), soft preferences, logistics. Shared across all trips. The blank starting template for this file lives in.claude/skills/traveler-profiles/travelers.template.md— copy it toprofiles/travelers.mdon first use; never fill it in in place.trips/<trip-name>/trip.md— one folder per trip, onetrip.mdas its source of truth: route, schedule, stays, food stops, budget. Supporting research or exports live next to it in the same folder.
Resolution order at the start of any trip-related request:
- Read
profiles/travelers.md. If missing, create it by copying.claude/skills/traveler-profiles/travelers.template.md. If its frontmatter saysstatus: template, profiles don't exist yet → offer the traveler-profiles interview (see that skill) before deep planning. Ifstatus: filled, load it and briefly confirm rather than re-asking ("planning around Maya's gluten-free — still right?"). - List
trips/. If the request matches an existing trip folder, read itstrip.mdand resume from its current state. If it's a new trip, createtrips/<destination-mmm-yyyy>/trip.md(e.g.trips/nashville-aug-2026/). If ambiguous, ask which trip. - Only then start planning, and only ask the user for information the files don't contain.
Writing state back
- Any decision made in conversation (a chosen route, a booked hotel, a dietary update) gets written to the relevant file in the same turn it's decided. Never end a session with decisions that exist only in the chat.
profiles/travelers.mdchanges: confirm with the user before writing (it's shared across trips), and flipstatus: template→status: filledon first fill.- Keep
trip.mdhuman-readable — the user edits these files by hand between sessions and their edits are authoritative. If a file contradicts what you remember from conversation, the file wins.
Boundaries
- Never write into
.claude/— skills and their assets are logic, not state. - Never delete or overwrite
trips/example-trip/contents on the user's behalf unless asked — but ignore it when listing the user's real trips. - Personal data stays in this repo's files. Don't copy traveler health information into commit messages, external services, or web searches (search "gluten-free restaurants Memphis", not "restaurants for Maya who has celiac").
Skills in this workspace
- traveler-profiles — interviews the user and fills
travelers.md. Trigger when profiles are missing, stale, or the user mentions changes to who's traveling or their needs. - route-planner — turns an origin/destination/dates into a day-by-day driving route, respecting driving limits and logistics from
travelers.md. Trigger on a new trip request or an empty/tentative Route section. - stay-scout — recommends 2–3 lodging options per night, filtered by mobility/party-size/budget constraints and ranked by soft preferences (walkability, parking, price vs. the Budget cap). Trigger on lodging questions or a Stays entry marked
unbooked. - food-scout — recommends 2–3 meal options filtered by hard constraints and ranked by soft preferences. Trigger on food questions or a
_to scout_food item. - itinerary-builder — assembles the day-by-day schedule once route/stays/food are mostly decided. Trigger on "build the itinerary" or when a trip is mostly settled.
- replanner — adjusts an in-progress trip after a disruption with a minimal diff. Trigger when the user reports a change mid-trip or asks to re-plan from a given day.
- trip-exporter — renders a trip's settled plan into a shareable single-file HTML page (
trips/<trip>/itinerary.html), scrubbed of traveler health/dietary/mobility rationale; can optionally publish it as a private Artifact link with the user's per-trip consent. Trigger on "export/share/print the trip" or as an offer once a trip goesready.
Each documents its own full trigger in its SKILL.md.
When a request spans phases ("plan my whole trip"), work through them in order — travelers → route → stays/food → itinerary — reading and updating trip.md between phases.
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.

