dsa-travel
Skill0 starsChanged 39 days agoMITView on GitHub
Prepare for a solo or family trip: read the itinerary (pasted, attached, or found in the user's email or calendar), check each stop's weather and conditions for the travel dates, find sales, holidays, closures and events during the stay, and build a prep pack with a dated before-you-leave checklist and a packing list fitted to who travels. Use when the user shares an itinerary, asks what to pack or carry, how to prepare for a trip, or what is on at the destination while they are there.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- advance-taxSkill
- bond-portfolio-monitorSkill
- html-slidesSkill
- itr2-filing-assistantSkill
- mutual-fund-reviewSkill
- my-spendingsSkill
- news-briefingSkill
- pdf-unlockSkill
- portfolio-reviewSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
No identifiers anywhere the skill writes: no passport, visa, PNR or booking numbers, card or account numbers.
- Distinctive: line 40
Health stays private: use a traveller's needs to shape the lists ("carry prescriptions and a doctor's note") without naming a condition in …
- Distinctive: line 44
Ask little: If who is travelling is unclear and notes don't say, ask once.
- Very specific: line 49
Run every command from ${CLAUDE_SKILL_DIR}.
- Very specific: line 60
Cloud storage: Follow references/cloud_sync.md.
- Distinctive: line 67
Pasted or attached: read it.
- Distinctive: line 68
"Fetch it": search the connected email (and calendar) for confirmations: flights, trains, stays, car hire, tours.
- Distinctive: line 71
Keep to mail about upcoming dates.
- Very specific: line 74
Write the trip to data/skill-data/trips/<id>.json in the format of trip-template.json (id: YYYY-MM-<places>).
- Very specific: line 94
Write low_c, high_c, rain, snow into the stay's weather.
- Very specific: line 102
Moving events: not in references/events.json: festivals, lunar-calendar holidays, retailer sales, local events, school holidays that raise …
- Very specific: line 111
Read issues first and tell the user about each at the top: tight_connection, long_layover_no_stay, night_without_stay, stays_overlap, …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Request for this run: $ARGUMENTS
You are helping a person or family get ready for a trip. A good result leads with what needs doing soonest, fits who is actually travelling and the weather they will actually meet, and catches what they would otherwise miss: a visa deadline, a tight connection, a night with no hotel, a sale or a closure on their dates.
Hard rules.
- Dates and checks come from
scripts/trip.py, never from mental arithmetic: nights, gaps, connection times, due dates, the passport-validity date, and which recurring events fall in a stay. - Anything current is looked up: visa and entry rules, weather, advisories, sale and festival dates that move each year. Cite sources. Never state an entry rule from memory.
- No identifiers anywhere the skill writes: no passport, visa, PNR or booking numbers, card or account numbers. Trip files hold places, dates and times only.
- Health stays private: use a traveller's needs to shape the lists ("carry prescriptions and a doctor's note") without naming a condition in anything published.
- Names stay out of this skill. Who travels, which mailbox bookings arrive in, and any vendor
goes in
data/notes.md, never in a tracked file. - Ask little. If who is travelling is unclear and notes don't say, ask once. Otherwise make sensible choices and state them in one line.
Step 0: working folder, notes, cloud copy
Run every command from ${CLAUDE_SKILL_DIR}. Everything personal sits in a working root's data/
(WORKROOT): --root, else $TRAVEL_ROOT, else this skill's folder when its gitignored data/
exists (python3 scripts/common.py --where). If none, ask where to keep trips (in Claude Code offer
to set TRAVEL_ROOT; in the Claude app use a temporary folder and the cloud copy). Never create
data/ inside an installed plugin folder.
First run (no data/notes.md): copy notes-template.md to data/notes.md. Don't interview the
user; fill it in as facts come up (memory about the family may already answer who travels).
Read data/notes.md.
Cloud storage. Follow references/cloud_sync.md. Lasting folder (Claude Code): sync when
asked, and push after a run that wrote a trip. Temporary folder (Claude app): pull first, push at
the end. No file-storage connector and a temporary folder: say the trip file lasts only for this
session, though the published prep pack stays.
Step 1: the itinerary
- Pasted or attached: read it.
- "Fetch it": search the connected email (and calendar) for confirmations: flights, trains,
stays, car hire, tours. Use the sender names and subject words in
notes.mdif any, else words like "booking confirmation", "e-ticket", "itinerary", "reservation", plus the destination. Keep to mail about upcoming dates. If no email connector is connected, suggest one and ask for the itinerary meanwhile.
Write the trip to data/skill-data/trips/<id>.json in the format of trip-template.json (id:
YYYY-MM-<places>). Times local to each airport or station, exactly as the booking shows them.
Mark a leg international when it crosses a border. List travellers by label and group (adult,
child, elder), with medicines: true where someone carries regular medicines.
Record what the trip is for and what each day holds, because that decides what to wear:
purpose:work,leisureormixed.activities: one entry per planned activity,{"date", "kind", "name"}, withkindfromreferences/dress.json(work,formal,smart-casual,stadium,beach,hike,gym,religious-site,cold-outdoor). Take them from the itinerary, an agenda or invite in the email or calendar, and the user's own words. Days with noworkactivity count as casual, so list only what changes the clothing. If a work trip's agenda is missing, ask once which days are work days and whether there is a formal dinner.
Step 2: research each stop
For each stay, search the web for the travel dates:
- Weather: forecast if within about 10 days, else typical lows and highs, rain or snow, daylight.
Write
low_c,high_c,rain,snowinto the stay'sweather. - Entry: visa, eVisa or travel authorisation for the travellers' passports, including transit countries on layovers; passport validity rules; customs limits, and rules on carrying medicines and food.
- Conditions: health advisories, vaccines, seasonal hazards (storms, wildfire smoke, heat, monsoon), altitude, air quality.
- Practical: plug type and voltage, currency and cards, tipping, local transport, time difference from home.
- Moving events not in
references/events.json: festivals, lunar-calendar holidays, retailer sales, local events, school holidays that raise crowds and prices.
Step 3: run the checks
python3 scripts/trip.py summary data/skill-data/trips/<id>.jsonRead issues first and tell the user about each at the top: tight_connection,
long_layover_no_stay, night_without_stay, stays_overlap, legs_out_of_order. events lists
recurring sales, holidays, closures and clock changes in each stay, with a tip; add the moving
events from Step 2. prep is the dated checklist; overdue items go first. weather gives flags
per stay (freezing, cold, hot, rain, snow). clothing counts the days of each kind (work,
casual, formal, stadium, ...) with the outfits and one-off items each needs;
work_trip_without_work_days and unknown_activity_kind in issues mean the activities need
fixing before the packing list is right.
Step 4: the prep pack
One document, in this order:
- Do now: overdue and next-two-weeks items, and every issue.
- Trip at a glance: timeline table; weather per stop; time difference.
- Don't miss: dated events in the stay, saying whether to use them (a sale, a festival) or plan around them (closures, crowds, clock changes). For a sale, add the tips: a list with target prices compared against home prices, voltage and warranty, import duty on return, suitcase space.
- Before you leave: the
preplist with dates, plus anything Step 2 added (a visa that needs an appointment, a vaccine). - Packing list, grouped: documents; money; electronics and the right adapters; clothing,
built from
clothing: one line per kind of day with its outfit count and the dates or events it is for ("3 work outfits, business casual: Dec 8 to 10"), then its one-off items, then weather layers from the flags (cold, rain, sun) and anything local norms call for (a dress code in the agenda, covered shoulders at a sacred site, cold air-conditioning). Cut the counts if the stay has laundry and say so; toiletries; medicines and first aid; child's items when a child travels (snacks, entertainment, comfort item, car-seat rules); an elder's needs when one travels; carry-on essentials; things to buy there instead. Only items that apply to this trip. Mark trip-specific items with the reason ("thermals: lows of -5C"). - On the ground: jet-lag plan, getting around, emergency number, nearest embassy or consulate.
Publish it as a doc (an artifact of the Docs type when offered; a sheet if the user wants to tick
off the packing list), privately. Record its link in the trip file's link. A short summary of
the same goes in data/skill-data/trips/<id>.md so the phone can answer from it.
Offer, without doing it unasked: calendar entries for the key due dates and sale days, and a reminder a few days before departure to re-check the forecast.
Updating a trip
"Update <trip>": read its JSON, apply the change, rerun Step 3, and revise the published doc
rather than making a new one.
Reply
Lead with what needs doing now. Then one line on the prep pack (its card carries the link). Sources at the end.
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.

