---
name: wayback-travel-journal
description: Add trips, visits, stays, meals and activities to the user's Wayback travel journal. Use when the user says things like "add my trip to Wayback", "log our Italy vacation", "find my trips in my email", or asks to fill in a past trip. Guides what to ask, where to look (email, calendar, photos) and how to add it with the Wayback MCP tools.
---

This skill needs the Wayback MCP server to be connected (tools such as get_overview, list_visits, add_visit, add_stay, add_meal, add_activity). If those tools are missing, tell the user to connect Wayback first (Wayback > account menu > Connect an AI assistant).

Pick the guide that fits the request and follow it.

---

# Add a trip to Wayback

Follow these steps.

## 1. Find out what to add
Ask, in one short message: where did you go, roughly when, and who came along? If the user already said, do not ask again.
Also ask whether this is one trip with several stops (give it one trip name, with one visit per country or US state) or just a single visit.

## 2. Decide where to get the details
Offer the sources below and ask which the user wants you to use. Use the ones you have tools for; for the others ask the user to paste or describe.
- **Email**: flight, hotel and rental confirmations; restaurant reservations; car rental, train and ferry tickets; receipts.
  Search ideas: subjects containing confirmation, reservation, itinerary, booking, e-ticket, receipt, "your stay", "your trip".
  Typical senders: airlines, Booking.com, Expedia, Airbnb, Vrbo, Marriott, Hilton, Hyatt, OpenTable, Resy, Uber, Lyft, Amtrak, rental-car companies.
  Search a window of about 3 days either side of the trip dates.
- **Calendar**: events and all-day entries during the dates (flights, hotel check-ins, dinners, tours).
- **Photos**: where and when pictures were taken (places and dates), if a photo tool is connected.
- **Card or bank statements**: hotels, restaurants and attractions charged during the dates (only if the user offers them).
- **Notes, messages or documents** the user already has, or simply the user's memory.

## 3. Look at what Wayback already has
Call get_overview, then list_visits (search by the place or trip name). If a visit already exists, continue it instead of making a new one.

## 4. Draft it for the user
Show a compact draft:
- Trip: name, dates.
- Visits: country (or US states), dates, cities.
- Stays: name, city, check-in and check-out.
- Meals: restaurant, date, city.
- Activities: type, date, place.
Mark anything you are unsure of with "?" and ask about it. Ask for one thing the journal likes: a short trip description, and optional ratings (1 to 5) for stays and meals.

## 5. Add it, in this order
1. add_visit for each country or US-state stop (give trip, companions, cities with latitude and longitude).
2. list_visits to get each new visit's id.
3. add_stay, add_meal and add_activity with that visit_id.
4. set_trip_details for the trip description and flight notes.

## 6. Photos (optional)
Wayback never connects to a photo library and never stores photos from one. If the user has a photo tool connected (Immich, Google Photos, Synology), offer to link their photos: use that tool to find the photos for the visit dates (and city), tell the user what you found, and with their OK create or pick an album or share link in their photo app and send it with add_photo_link (kind, id, url, a short title, and the photo count). Check list_photo_links first. If you cannot make a link, ask the user to paste one. Photo files themselves can only be added in the Wayback web app.

## 7. Finish
Summarise what was added in a few lines, name anything left empty, and mention anything still to add in the Wayback web app.

Rules:
- Ask before you read anyone's mail, calendar or photos: say which source you want to look at and why, and read only what is needed for this trip.
- If you have no tool for a source, do not skip it silently: ask the user to paste the details or describe them.
- Never invent dates, names, addresses or ratings. Leave a field empty and ask instead.
- Show a short draft and get a clear yes before adding anything.
- Do not add duplicates: check list_visits, list_stays, list_meals and list_activities first.
- Dates are YYYY-MM-DD. Cities need approximate latitude and longitude (look them up yourself) so they show on the map.
- There is no delete tool. If something was added by mistake, tell the user to remove it in the Wayback web app.
- Keep email content out of the journal except the useful facts (name, dates, city, address). Put personal details such as confirmation numbers or card numbers nowhere.

---

# Find trips in the user's email or calendar and add them to Wayback

## 1. Get permission and scope
Ask which source to look at (email, calendar, photos), and for what period (for example "the last 12 months" or "2024"). Say you will only read travel-related items.

## 2. Scan
Search the source for travel evidence:
- **Email**: flight, hotel and rental confirmations; restaurant reservations; car rental, train and ferry tickets; receipts.
  Search ideas: subjects containing confirmation, reservation, itinerary, booking, e-ticket, receipt, "your stay", "your trip".
  Typical senders: airlines, Booking.com, Expedia, Airbnb, Vrbo, Marriott, Hilton, Hyatt, OpenTable, Resy, Uber, Lyft, Amtrak, rental-car companies.
  Search a window of about 3 days either side of the trip dates.
- **Calendar**: events and all-day entries during the dates (flights, hotel check-ins, dinners, tours).
- **Photos**: where and when pictures were taken (places and dates), if a photo tool is connected.
- **Card or bank statements**: hotels, restaurants and attractions charged during the dates (only if the user offers them).
- **Notes, messages or documents** the user already has, or simply the user's memory.
Group what you find into trips: items within a few days of each other and in the same region belong together. A flight out and a flight back bracket a trip.

## 3. Compare with Wayback
Call list_trips and list_visits for the same period. Drop anything already recorded.

## 4. Propose
Show a numbered list of candidate trips (name, dates, places, how sure you are). Ask which to add, and what to call them. Do not add any trip the user did not pick.

## 5. For each chosen trip
Follow the steps of the add_trip guide from step 4 on (draft, confirm, add visits, then stays, meals and activities).

Rules:
- Ask before you read anyone's mail, calendar or photos: say which source you want to look at and why, and read only what is needed for this trip.
- If you have no tool for a source, do not skip it silently: ask the user to paste the details or describe them.
- Never invent dates, names, addresses or ratings. Leave a field empty and ask instead.
- Show a short draft and get a clear yes before adding anything.
- Do not add duplicates: check list_visits, list_stays, list_meals and list_activities first.
- Dates are YYYY-MM-DD. Cities need approximate latitude and longitude (look them up yourself) so they show on the map.
- There is no delete tool. If something was added by mistake, tell the user to remove it in the Wayback web app.
- Keep email content out of the journal except the useful facts (name, dates, city, address). Put personal details such as confirmation numbers or card numbers nowhere.

---

# Fill in a trip that is already in Wayback

1. Ask which trip (or find it with list_trips and list_visits).
2. Call list_stays, list_meals and list_activities for those dates to see what is already there.
3. Tell the user what is missing, for example: no stays for some nights, no meals, no activities, no description.
4. Ask where to find the missing details (email, calendar, photos, memory; see the source list in the add_trip guide), and offer to look.
5. Draft the additions, get a yes, then add them with the visit_id of the right visit (add_stay, add_meal, add_activity), or fix an entry with update_stay, update_meal or update_activity.

- **Email**: flight, hotel and rental confirmations; restaurant reservations; car rental, train and ferry tickets; receipts.
  Search ideas: subjects containing confirmation, reservation, itinerary, booking, e-ticket, receipt, "your stay", "your trip".
  Typical senders: airlines, Booking.com, Expedia, Airbnb, Vrbo, Marriott, Hilton, Hyatt, OpenTable, Resy, Uber, Lyft, Amtrak, rental-car companies.
  Search a window of about 3 days either side of the trip dates.
- **Calendar**: events and all-day entries during the dates (flights, hotel check-ins, dinners, tours).
- **Photos**: where and when pictures were taken (places and dates), if a photo tool is connected.
- **Card or bank statements**: hotels, restaurants and attractions charged during the dates (only if the user offers them).
- **Notes, messages or documents** the user already has, or simply the user's memory.

Rules:
- Ask before you read anyone's mail, calendar or photos: say which source you want to look at and why, and read only what is needed for this trip.
- If you have no tool for a source, do not skip it silently: ask the user to paste the details or describe them.
- Never invent dates, names, addresses or ratings. Leave a field empty and ask instead.
- Show a short draft and get a clear yes before adding anything.
- Do not add duplicates: check list_visits, list_stays, list_meals and list_activities first.
- Dates are YYYY-MM-DD. Cities need approximate latitude and longitude (look them up yourself) so they show on the map.
- There is no delete tool. If something was added by mistake, tell the user to remove it in the Wayback web app.
- Keep email content out of the journal except the useful facts (name, dates, city, address). Put personal details such as confirmation numbers or card numbers nowhere.
