[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77X8DH419G6AV4385VNCYEG":3,"skill-same:01M77X8DH419G6AV4385VNCYEG":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M77X8DH419G6AV4385VNCYEG","ubtrippin",null,"Manages travel for your user via UBTRIPPIN — trips, items, loyalty programs, family, city guides, events, concerts, notifications, and more. Use when the user asks about their trips, upcoming travel, flights, hotels, train bookings, concert tickets, event tickets, loyalty numbers, family travel, or wants to manage their travel tracker. Requires a UBTRIPPIN API key from ubtrippin.xyz\u002Fsettings.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fu\u002Fubtrippin\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ubtrippin\nversion: 2.0.0\ndescription: Manages travel for your user via UBTRIPPIN — trips, items, loyalty programs, family, city guides, events, concerts, notifications, and more. Use when the user asks about their trips, upcoming travel, flights, hotels, train bookings, concert tickets, event tickets, loyalty numbers, family travel, or wants to manage their travel tracker. Requires a UBTRIPPIN API key from ubtrippin.xyz\u002Fsettings.\n---\n\n# UBTRIPPIN Skill\n\n**UBTRIPPIN** is a personal travel tracker that parses booking confirmation emails and organises them into trips. It also handles event tickets — concerts, theater, sports, festivals — from providers like Ticketmaster, AXS, Eventbrite, and more. As an agent, you can read and manage a user's trips, items (flights, hotels, trains, tickets\u002Fevents, etc.), loyalty vault, family groups, city guides, and more via REST API.\n\n---\n\n## Setup (First Time)\n\n1. Ask your user to visit **ubtrippin.xyz\u002Fsettings** and generate an API key.\n2. The key looks like: `ubt_k1_\u003C40 hex chars>`. Store it securely.\n3. Ask for their **registered sender email** — the email address they use to forward bookings (typically their personal inbox). This is their \"allowed sender\" in UBTRIPPIN.\n4. You'll need both to operate: the API key for reads\u002Fwrites, the email address for adding new bookings via forwarding.\n5. After setup, call `GET \u002Fapi\u002Fv1\u002Fme\u002Fprofile` and offer to set the user's home airport, currency preference, and seat preference via `PATCH \u002Fapi\u002Fv1\u002Fme\u002Fprofile`.\n\n---\n\n## Authentication\n\nAll API calls use a Bearer token:\n\n```\nAuthorization: Bearer ubt_k1_\u003Cyour_key>\n```\n\nBase URL: `https:\u002F\u002Fwww.ubtrippin.xyz`\n\n**Rate limit:** 100 requests\u002Fminute per API key. HTTP 429 if exceeded — back off 60 seconds.\n\n---\n\n## API Endpoints\n\n### Trips\n\n#### List All Trips\n```\nGET \u002Fapi\u002Fv1\u002Ftrips\n```\n\nQuery params: `?status=upcoming` (optional filter)\n\nResponse:\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"uuid\",\n      \"title\": \"Tokyo Spring 2026\",\n      \"start_date\": \"2026-04-01\",\n      \"end_date\": \"2026-04-14\",\n      \"primary_location\": \"Tokyo, Japan\",\n      \"travelers\": [\"Ian Rogers\"],\n      \"notes\": null,\n      \"cover_image_url\": \"https:\u002F\u002F...\",\n      \"share_enabled\": false,\n      \"created_at\": \"2026-02-15T10:00:00Z\",\n      \"updated_at\": \"2026-02-15T10:00:00Z\"\n    }\n  ],\n  \"meta\": { \"count\": 1 }\n}\n```\n\nOrdered by start_date descending (soonest upcoming \u002F most recent first).\n\n#### Get Trip with All Items\n```\nGET \u002Fapi\u002Fv1\u002Ftrips\u002F:id\n```\n\nResponse includes full trip object with nested `items` array. Each item has: `id`, `trip_id`, `kind`, `provider`, `traveler_names`, `start_ts`, `end_ts`, `start_date`, `end_date`, `start_location`, `end_location`, `summary`, `details_json`, `status`, `confidence`, `needs_review`, timestamps.\n\n**Item kinds:** `flight`, `hotel`, `train`, `car`, `ferry`, `activity`, `ticket`, `other`\n\n#### Create Trip\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\nContent-Type: application\u002Fjson\n\n{ \"title\": \"Summer in Provence\", \"start_date\": \"2026-07-01\", \"end_date\": \"2026-07-14\" }\n```\n\n#### Update Trip\n```\nPATCH \u002Fapi\u002Fv1\u002Ftrips\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"title\": \"Updated Title\", \"notes\": \"Remember sunscreen\" }\n```\n\n#### Delete Trip\n```\nDELETE \u002Fapi\u002Fv1\u002Ftrips\u002F:id\n```\n\n#### Rename Trip\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Frename\nContent-Type: application\u002Fjson\n\n{ \"title\": \"New Trip Name\" }\n```\n\n#### Merge Trips\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fmerge\nContent-Type: application\u002Fjson\n\n{ \"source_trip_id\": \"uuid-of-trip-to-merge-in\" }\n```\n\nMerges items from the source trip into the target trip.\n\n#### Trip Status\n```\nGET \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fstatus\n```\n\nReturns processing status for the trip.\n\n#### Demo Trip\n```\nGET \u002Fapi\u002Fv1\u002Ftrips\u002Fdemo\n```\n\nReturns a sample trip for onboarding — no auth required.\n\n---\n\n### Items\n\n#### Get Single Item\n```\nGET \u002Fapi\u002Fv1\u002Fitems\u002F:id\n```\n\nResponse: `{ \"data\": \u003Citem> }` — full Item shape with `details_json` containing confirmation numbers, seat assignments, etc.\n\n#### Update Item\n```\nPATCH \u002Fapi\u002Fv1\u002Fitems\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"summary\": \"Updated summary\", \"start_location\": \"Paris CDG\" }\n```\n\n#### Delete Item\n```\nDELETE \u002Fapi\u002Fv1\u002Fitems\u002F:id\n```\n\n#### Add Item to Trip\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fitems\nContent-Type: application\u002Fjson\n```\n\n**Required fields:** `kind`, `start_date`\n\n**All fields:**\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `kind` | string | **Required.** One of: `flight`, `hotel`, `car_rental`, `train`, `activity`, `restaurant`, `ticket`, `other` |\n| `start_date` | string | **Required.** ISO date: `YYYY-MM-DD` |\n| `end_date` | string | ISO date. For hotels = checkout, flights = arrival date if different |\n| `start_ts` | string | ISO 8601 datetime with timezone: `2026-04-01T08:30:00Z` |\n| `end_ts` | string | ISO 8601 datetime with timezone |\n| `start_location` | string | Departure\u002Forigin. City, airport code, or address (max 300 chars) |\n| `end_location` | string | Arrival\u002Fdestination (max 300 chars) |\n| `summary` | string | One-line summary, e.g. \"AF276 CDG→NRT\" (max 1000 chars) |\n| `provider` | string | Airline, hotel chain, etc. e.g. \"Air France\" (max 200 chars) |\n| `confirmation_code` | string | Booking reference (max 200 chars) |\n| `traveler_names` | string[] | Array of traveler names (max 20, each max 200 chars) |\n| `details_json` | object | Freeform metadata — gate, seat, room type, etc. (max 10KB) |\n| `notes` | string | User notes |\n| `status` | string | Item status |\n\n**Example — Flight:**\n```json\n{\n  \"kind\": \"flight\",\n  \"start_date\": \"2026-04-01\",\n  \"start_ts\": \"2026-04-01T08:30:00+01:00\",\n  \"end_ts\": \"2026-04-01T15:45:00+09:00\",\n  \"start_location\": \"Paris CDG\",\n  \"end_location\": \"Tokyo NRT\",\n  \"summary\": \"AF276 CDG→NRT\",\n  \"provider\": \"Air France\",\n  \"confirmation_code\": \"XK7J3M\",\n  \"traveler_names\": [\"Ian Rogers\"],\n  \"details_json\": { \"flight_number\": \"AF276\", \"seat\": \"14A\", \"class\": \"Economy\" }\n}\n```\n\n**Example — Hotel:**\n```json\n{\n  \"kind\": \"hotel\",\n  \"start_date\": \"2026-04-01\",\n  \"end_date\": \"2026-04-05\",\n  \"start_location\": \"Tokyo, Japan\",\n  \"summary\": \"Park Hyatt Tokyo\",\n  \"provider\": \"Hyatt\",\n  \"confirmation_code\": \"HY-889923\",\n  \"traveler_names\": [\"Ian Rogers\", \"Hedvig Rogers\"],\n  \"details_json\": { \"room_type\": \"King Deluxe\", \"check_in\": \"15:00\", \"check_out\": \"11:00\" }\n}\n```\n\n**Example — Train:**\n```json\n{\n  \"kind\": \"train\",\n  \"start_date\": \"2026-04-05\",\n  \"start_ts\": \"2026-04-05T09:00:00+09:00\",\n  \"end_ts\": \"2026-04-05T11:30:00+09:00\",\n  \"start_location\": \"Tokyo Station\",\n  \"end_location\": \"Kyoto Station\",\n  \"summary\": \"Shinkansen Nozomi 7\",\n  \"provider\": \"JR Central\",\n  \"confirmation_code\": \"JR-44521\",\n  \"details_json\": { \"car\": \"7\", \"seat\": \"3A\", \"class\": \"Green Car\" }\n}\n```\n\n**Example — Restaurant:**\n```json\n{\n  \"kind\": \"restaurant\",\n  \"start_date\": \"2026-04-03\",\n  \"start_ts\": \"2026-04-03T19:00:00+09:00\",\n  \"start_location\": \"Sukiyabashi Jiro, Ginza, Tokyo\",\n  \"summary\": \"Dinner at Sukiyabashi Jiro\",\n  \"details_json\": { \"party_size\": 2, \"reservation_name\": \"Rogers\" }\n}\n```\n\n**Example — Ticket\u002FEvent (concert, sports, theater, festival, etc.):**\n```json\n{\n  \"kind\": \"ticket\",\n  \"summary\": \"David Byrne at Théâtre du Châtelet\",\n  \"start_date\": \"2026-05-15\",\n  \"start_ts\": \"2026-05-15T20:00:00+02:00\",\n  \"start_location\": \"Paris\",\n  \"provider\": \"Ticketmaster\",\n  \"details_json\": {\n    \"event_name\": \"David Byrne: American Utopia\",\n    \"venue\": \"Théâtre du Châtelet\",\n    \"venue_address\": \"1 Place du Châtelet, 75001 Paris\",\n    \"performer\": \"David Byrne\",\n    \"event_time\": \"20:00\",\n    \"door_time\": \"19:00\",\n    \"section\": \"Orchestre\",\n    \"seat\": \"12\",\n    \"row\": \"G\",\n    \"ticket_count\": 2,\n    \"ticket_type\": \"Reserved\",\n    \"event_category\": \"concert\"\n  }\n}\n```\n\n**Ticket detail fields:**\n| Field | Type | Description |\n|-------|------|-------------|\n| event_name | string | Name of the event\u002Fshow |\n| venue | string | Venue name |\n| venue_address | string? | Full address |\n| event_time | HH:MM | Show start time |\n| door_time | HH:MM? | Door opening time |\n| section | string? | Seating section |\n| seat | string? | Seat number |\n| row | string? | Row identifier |\n| ticket_count | number | Number of tickets |\n| ticket_type | string? | GA, Reserved, VIP, etc. |\n| performer | string? | Artist\u002Fperformer\u002Fteam |\n| event_category | enum | concert, theater, sports, museum, festival, other |\n\n**Supported ticket providers:** Ticketmaster, AXS, Eventbrite, Dice, SeeTickets, StubHub, Viagogo, venue direct sales. Forward the confirmation email to trips@ubtrippin.xyz and the ticket is extracted automatically.\n\n**Event-driven trips:** When a ticket email creates a new trip (no overlapping dates), the trip is named after the event\u002Fperformer and the cover image is of the performer — not the city.\n\n#### Batch Add Items\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fitems\u002Fbatch\nContent-Type: application\u002Fjson\n\n{ \"items\": [ \u003Citem>, \u003Citem>, ... ] }\n```\n\nUp to 50 items per request. Same fields as single item creation above.\n\nResponse: `{ \"data\": [...items], \"meta\": { \"count\": N } }`\n\n**Tip for agents:** When your user gives you a booking confirmation (email text, screenshot, pasted text), parse it yourself and use these endpoints to add structured items. You handle the extraction; UBTRIPPIN handles the storage, grouping, and display.\n\n#### Item Status\n```\nGET \u002Fapi\u002Fv1\u002Fitems\u002F:id\u002Fstatus\n```\n\n#### Refresh Item Status\n```\nPOST \u002Fapi\u002Fv1\u002Fitems\u002F:id\u002Fstatus\u002Frefresh\n```\n\nRe-checks live status (e.g. flight delays, gate changes).\n\n---\n\n### Loyalty Vault\n\n#### List My Loyalty Programs\n```\nGET \u002Fapi\u002Fv1\u002Fme\u002Floyalty\n```\n\nResponse:\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"uuid\",\n      \"provider_key\": \"delta_skymiles\",\n      \"provider_name\": \"Delta SkyMiles\",\n      \"member_number\": \"1234567890\",\n      \"tier\": \"Gold\",\n      \"notes\": null\n    }\n  ]\n}\n```\n\n#### Lookup by Provider\n```\nGET \u002Fapi\u002Fv1\u002Fme\u002Floyalty\u002Flookup?provider_key=delta_skymiles\n```\n\nReturns matching loyalty entry for a specific provider.\n\n#### Add Loyalty Program\n```\nPOST \u002Fapi\u002Fv1\u002Fme\u002Floyalty\nContent-Type: application\u002Fjson\n\n{ \"provider_key\": \"delta_skymiles\", \"member_number\": \"1234567890\", \"tier\": \"Gold\" }\n```\n\n#### Update Loyalty Program\n```\nPATCH \u002Fapi\u002Fv1\u002Fme\u002Floyalty\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"member_number\": \"9876543210\", \"tier\": \"Platinum\" }\n```\n\n#### Delete Loyalty Program\n```\nDELETE \u002Fapi\u002Fv1\u002Fme\u002Floyalty\u002F:id\n```\n\n#### Export Loyalty Data\n```\nGET \u002Fapi\u002Fv1\u002Fme\u002Floyalty\u002Fexport\n```\n\nReturns all loyalty data in a downloadable format.\n\n#### List Known Providers\n```\nGET \u002Fapi\u002Fv1\u002Floyalty\u002Fproviders\n```\n\nReturns the full list of supported loyalty providers (no auth required).\n\n---\n\n### Profile\n\n#### Get My Profile\n```\nGET \u002Fapi\u002Fv1\u002Fme\u002Fprofile\n```\n\nResponse includes name, email, preferences, tier, and settings.\n\n#### Update My Profile\n```\nPUT \u002Fapi\u002Fv1\u002Fme\u002Fprofile\nContent-Type: application\u002Fjson\n\n{ \"display_name\": \"Ian Rogers\", \"timezone\": \"Europe\u002FParis\" }\n```\n\nAlso accepts `POST` with the same body.\n\n---\n\n### Family\n\n#### List My Families\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\n```\n\n#### Create Family\n```\nPOST \u002Fapi\u002Fv1\u002Ffamilies\nContent-Type: application\u002Fjson\n\n{ \"name\": \"The Rogers Family\" }\n```\n\n#### Get Family\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\n```\n\n#### Update Family\n```\nPATCH \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"name\": \"Updated Family Name\" }\n```\n\n#### Delete Family\n```\nDELETE \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\n```\n\n#### Invite Member to Family\n```\nPOST \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Fmembers\nContent-Type: application\u002Fjson\n\n{ \"email\": \"partner@example.com\", \"role\": \"member\" }\n```\n\n#### Remove Family Member\n```\nDELETE \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Fmembers\u002F:uid\n```\n\n#### Family Member Profiles\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Fprofiles\n```\n\n#### Family Trips\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Ftrips\n```\n\nReturns all trips visible to family members.\n\n#### Family Loyalty Programs\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Floyalty\n```\n\n#### Family Loyalty Lookup\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Floyalty\u002Flookup?provider_key=delta_skymiles\n```\n\nLook up a loyalty number across all family members.\n\n#### Family City Guides\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Fguides\n```\n\n#### Family Invites\n```\nGET \u002Fapi\u002Fv1\u002Ffamily-invites\u002F:token\nPOST \u002Fapi\u002Fv1\u002Ffamily-invites\u002F:token\u002Faccept\n```\n\nView and accept family invite links.\n\n---\n\n### Collaborators (Trip Sharing)\n\n#### List Collaborators\n```\nGET \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fcollaborators\n```\n\n#### Invite Collaborator\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fcollaborators\nContent-Type: application\u002Fjson\n\n{ \"email\": \"friend@example.com\", \"role\": \"viewer\" }\n```\n\n#### Update Collaborator Role\n```\nPATCH \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fcollaborators\u002F:uid\nContent-Type: application\u002Fjson\n\n{ \"role\": \"editor\" }\n```\n\n#### Remove Collaborator\n```\nDELETE \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fcollaborators\u002F:uid\n```\n\n#### Trip Invites\n```\nGET \u002Fapi\u002Fv1\u002Finvites\u002F:token\nPOST \u002Fapi\u002Fv1\u002Finvites\u002F:token\u002Faccept\n```\n\nView and accept trip collaboration invite links.\n\n---\n\n### City Guides\n\n#### List Guides\n```\nGET \u002Fapi\u002Fv1\u002Fguides\n```\n\nQuery params: `?family_id=uuid` (optional)\n\n#### Create Guide\n```\nPOST \u002Fapi\u002Fv1\u002Fguides\nContent-Type: application\u002Fjson\n\n{ \"city\": \"Tokyo\", \"title\": \"Tokyo Eats\" }\n```\n\n#### Get Guide\n```\nGET \u002Fapi\u002Fv1\u002Fguides\u002F:id\n```\n\n#### Update Guide\n```\nPATCH \u002Fapi\u002Fv1\u002Fguides\u002F:id\n```\n\n#### Delete Guide\n```\nDELETE \u002Fapi\u002Fv1\u002Fguides\u002F:id\n```\n\n#### List Guide Entries\n```\nGET \u002Fapi\u002Fv1\u002Fguides\u002F:id\u002Fentries\n```\n\n#### Add Guide Entry\n```\nPOST \u002Fapi\u002Fv1\u002Fguides\u002F:id\u002Fentries\nContent-Type: application\u002Fjson\n\n{ \"name\": \"Tsukiji Outer Market\", \"category\": \"food\", \"notes\": \"Go early\" }\n```\n\n#### Update Guide Entry\n```\nPATCH \u002Fapi\u002Fv1\u002Fguides\u002F:id\u002Fentries\u002F:eid\n```\n\n#### Delete Guide Entry\n```\nDELETE \u002Fapi\u002Fv1\u002Fguides\u002F:id\u002Fentries\u002F:eid\n```\n\n#### Nearby Guides\n```\nGET \u002Fapi\u002Fv1\u002Fguides\u002Fnearby?lat=35.6762&lng=139.6503\n```\n\nFind guides near a location.\n\n---\n\n### Senders (Allowed Email Addresses)\n\n#### List Senders\n```\nGET \u002Fapi\u002Fv1\u002Fsettings\u002Fsenders\n```\n\n#### Add Sender\n```\nPOST \u002Fapi\u002Fv1\u002Fsettings\u002Fsenders\nContent-Type: application\u002Fjson\n\n{ \"email\": \"mywork@company.com\" }\n```\n\n#### Remove Sender\n```\nDELETE \u002Fapi\u002Fv1\u002Fsettings\u002Fsenders\u002F:id\n```\n\n---\n\n### Calendar\n\n#### Get Calendar Token\n```\nGET \u002Fapi\u002Fv1\u002Fcalendar\u002Ftoken\n```\n\nReturns an iCal subscription URL for syncing trips to calendar apps.\n\n#### Regenerate Calendar Token\n```\nPOST \u002Fapi\u002Fv1\u002Fcalendar\u002Ftoken\n```\n\nInvalidates the old token and generates a new one.\n\n---\n\n### Notifications\n\n#### List Notifications\n```\nGET \u002Fapi\u002Fv1\u002Fnotifications\n```\n\nQuery params: `?unread=true` (optional)\n\n#### Mark Notification Read\n```\nPATCH \u002Fapi\u002Fv1\u002Fnotifications\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"read\": true }\n```\n\n---\n\n### Webhooks\n\n#### List Webhooks\n```\nGET \u002Fapi\u002Fv1\u002Fwebhooks\n```\n\n#### Create Webhook\n```\nPOST \u002Fapi\u002Fv1\u002Fwebhooks\nContent-Type: application\u002Fjson\n\n{ \"url\": \"https:\u002F\u002Fexample.com\u002Fhook\", \"events\": [\"trip.created\", \"item.added\"] }\n```\n\n#### Get Webhook\n```\nGET \u002Fapi\u002Fv1\u002Fwebhooks\u002F:id\n```\n\n#### Update Webhook\n```\nPATCH \u002Fapi\u002Fv1\u002Fwebhooks\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"url\": \"https:\u002F\u002Fexample.com\u002Fnew-hook\", \"active\": true }\n```\n\n#### Delete Webhook\n```\nDELETE \u002Fapi\u002Fv1\u002Fwebhooks\u002F:id\n```\n\n#### Test Webhook\n```\nPOST \u002Fapi\u002Fv1\u002Fwebhooks\u002F:id\u002Ftest\n```\n\nSends a test payload to verify the endpoint.\n\n#### Webhook Deliveries\n```\nGET \u002Fapi\u002Fv1\u002Fwebhooks\u002F:id\u002Fdeliveries\n```\n\nLists recent delivery attempts with status codes.\n\n---\n\n### Trains\n\n#### Train Status\n```\nGET \u002Fapi\u002Fv1\u002Ftrains\u002F:trainNumber\u002Fstatus\n```\n\nReturns real-time status for a train by number (delays, platform, etc.).\n\n---\n\n### Images\n\n#### Search Images\n```\nGET \u002Fapi\u002Fv1\u002Fimages\u002Fsearch?q=tokyo+tower\n```\n\nSearch for destination\u002Fcover images.\n\n---\n\n### Imports\n\n#### List Imports\n```\nGET \u002Fapi\u002Fv1\u002Fimports\n```\n\n#### Create Import\n```\nPOST \u002Fapi\u002Fv1\u002Fimports\n```\n\nUpload booking data for batch import.\n\n#### Get Import\n```\nGET \u002Fapi\u002Fv1\u002Fimports\u002F:id\n```\n\n---\n\n### Billing\n\n#### Get Subscription\n```\nGET \u002Fapi\u002Fv1\u002Fbilling\u002Fsubscription\n```\n\nReturns current plan, tier, and billing period.\n\n#### Get Billing Portal URL\n```\nGET \u002Fapi\u002Fv1\u002Fbilling\u002Fportal\n```\n\nReturns a Stripe billing portal link for managing subscription.\n\n#### Get Prices\n```\nGET \u002Fapi\u002Fv1\u002Fbilling\u002Fprices\n```\n\nReturns available plans and pricing.\n\n#### Checkout\n```\nPOST \u002Fapi\u002Fv1\u002Fcheckout\nContent-Type: application\u002Fjson\n\n{ \"price_id\": \"price_xxx\" }\n```\n\nCreates a Stripe checkout session.\n\n---\n\n### Activation\n\n#### Check Activation Status\n```\nGET \u002Fapi\u002Fv1\u002Factivation\u002Fstatus\n```\n\nReturns whether the user's account is activated.\n\n---\n\n## Adding New Bookings (Email Forwarding)\n\nThe primary way to add bookings is **email forwarding**. When your user receives a booking confirmation:\n\n1. Forward the email to: **trips@ubtrippin.xyz**\n2. **Must forward from their registered sender address** — UBTRIPPIN rejects unknown senders.\n3. UBTRIPPIN's AI parser extracts the booking details automatically (usually within 30 seconds).\n4. The item appears in the relevant trip (or a new trip is created).\n\n**How to do this as an agent:**\n- Use your email sending capability to forward the email from the user's address to trips@ubtrippin.xyz.\n- Or instruct the user to do it manually from their inbox.\n- PDF attachments (e.g. eTickets) are supported — include them in the forward.\n\n**Works with:** flights, hotels, trains (Eurostar, SNCF, Thalys, etc.), rental cars, ferry bookings, concert\u002Fevent tickets (Ticketmaster, AXS, Eventbrite, Dice, SeeTickets, StubHub, Viagogo), and most major booking platforms (Booking.com, Expedia, Kayak, Trainline, etc.).\n\n---\n\n## Typical Agent Workflows\n\n### \"What trips do I have coming up?\"\n1. `GET \u002Fapi\u002Fv1\u002Ftrips`\n2. Filter by start_date >= today\n3. Format and present\n\n### \"What's my itinerary for Tokyo?\"\n1. `GET \u002Fapi\u002Fv1\u002Ftrips` — find the Tokyo trip ID\n2. `GET \u002Fapi\u002Fv1\u002Ftrips\u002F:id` — get full itinerary with all items\n3. Format chronologically by start_ts\n\n### \"I just booked a hotel in Tokyo — add it\"\n1. Ask the user to forward the confirmation email from their registered address to trips@ubtrippin.xyz\n2. Or if you have email access: forward it yourself\n3. Wait ~30 seconds, then `GET \u002Fapi\u002Fv1\u002Ftrips\u002F:id` to confirm it appeared\n\n### \"What's my Delta SkyMiles number?\"\n1. `GET \u002Fapi\u002Fv1\u002Fme\u002Floyalty\u002Flookup?provider_key=delta_skymiles`\n2. Return the `member_number` from the response\n\n### \"Add my Marriott Bonvoy membership\"\n1. `POST \u002Fapi\u002Fv1\u002Fme\u002Floyalty` with `{ \"provider_key\": \"marriott_bonvoy\", \"member_number\": \"123456789\" }`\n\n### \"What loyalty programs does my family have for Delta?\"\n1. Get the family ID: `GET \u002Fapi\u002Fv1\u002Ffamilies`\n2. `GET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Floyalty\u002Flookup?provider_key=delta_skymiles`\n3. Returns all family members' Delta numbers\n\n### \"Add my family members\"\n1. `POST \u002Fapi\u002Fv1\u002Ffamilies` to create a family group (if none exists)\n2. `POST \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Fmembers` with `{ \"email\": \"partner@example.com\" }` for each member\n3. They'll receive an invite email to accept\n\n### \"Share my trip with a friend\"\n1. `POST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fcollaborators` with `{ \"email\": \"friend@example.com\", \"role\": \"viewer\" }`\n\n### \"Is my train on time?\"\n1. `GET \u002Fapi\u002Fv1\u002Ftrains\u002F:trainNumber\u002Fstatus`\n2. Report delays, platform changes, etc.\n\n### \"Show me city guides near me\"\n1. `GET \u002Fapi\u002Fv1\u002Fguides\u002Fnearby?lat=48.8566&lng=2.3522`\n\n### \"Set up a webhook for new bookings\"\n1. `POST \u002Fapi\u002Fv1\u002Fwebhooks` with `{ \"url\": \"https:\u002F\u002F...\", \"events\": [\"item.added\"] }`\n\n### \"Get me a calendar link for my trips\"\n1. `GET \u002Fapi\u002Fv1\u002Fcalendar\u002Ftoken`\n2. Give the user the iCal URL to add to their calendar app\n\n---\n\n## Error Handling\n\n| Status | Code | Meaning |\n|--------|------|---------|\n| 401 | `unauthorized` | Missing\u002Finvalid API key |\n| 400 | `invalid_param` | Bad UUID or missing field |\n| 404 | `not_found` | Trip\u002Fitem not found or belongs to another user |\n| 429 | _(body varies)_ | Rate limited — wait 60s |\n| 500 | `internal_error` | Server error — retry once |\n\nAll errors return: `{ \"error\": { \"code\": \"...\", \"message\": \"...\" } }`\n\n---\n\n## Notes for Agents\n\n- All IDs are UUIDs.\n- Dates are ISO 8601 (`YYYY-MM-DD` for dates, `YYYY-MM-DDTHH:MM:SSZ` for timestamps).\n- `details_json` contains raw parsed data — useful for confirmation numbers, seat assignments, loyalty numbers, etc.\n- `confidence` (0–1): how confident the AI parser was. Items with `needs_review: true` may have errors.\n- The API key is the user's — never share it, log it, or store it beyond the session unless the user explicitly asks.\n\n---\n\n## Managing API Keys\n\nUsers manage keys at **ubtrippin.xyz\u002Fsettings**. Each key has a name and a masked preview. If a key is compromised, the user can revoke it from the settings page and generate a new one.\n","# UBTRIPPIN Skill\n\n**UBTRIPPIN** is a personal travel tracker that parses booking confirmation emails and organises them into trips. It also handles event tickets — concerts, theater, sports, festivals — from providers like Ticketmaster, AXS, Eventbrite, and more. As an agent, you can read and manage a user's trips, items (flights, hotels, trains, tickets\u002Fevents, etc.), loyalty vault, family groups, city guides, and more via REST API.\n\n---\n\n## Setup (First Time)\n\n1. Ask your user to visit **ubtrippin.xyz\u002Fsettings** and generate an API key.\n2. The key looks like: `ubt_k1_\u003C40 hex chars>`. Store it securely.\n3. Ask for their **registered sender email** — the email address they use to forward bookings (typically their personal inbox). This is their \"allowed sender\" in UBTRIPPIN.\n4. You'll need both to operate: the API key for reads\u002Fwrites, the email address for adding new bookings via forwarding.\n5. After setup, call `GET \u002Fapi\u002Fv1\u002Fme\u002Fprofile` and offer to set the user's home airport, currency preference, and seat preference via `PATCH \u002Fapi\u002Fv1\u002Fme\u002Fprofile`.\n\n---\n\n## Authentication\n\nAll API calls use a Bearer token:\n\n```\nAuthorization: Bearer ubt_k1_\u003Cyour_key>\n```\n\nBase URL: `https:\u002F\u002Fwww.ubtrippin.xyz`\n\n**Rate limit:** 100 requests\u002Fminute per API key. HTTP 429 if exceeded — back off 60 seconds.\n\n---\n\n## API Endpoints\n\n### Trips\n\n#### List All Trips\n```\nGET \u002Fapi\u002Fv1\u002Ftrips\n```\n\nQuery params: `?status=upcoming` (optional filter)\n\nResponse:\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"uuid\",\n      \"title\": \"Tokyo Spring 2026\",\n      \"start_date\": \"2026-04-01\",\n      \"end_date\": \"2026-04-14\",\n      \"primary_location\": \"Tokyo, Japan\",\n      \"travelers\": [\"Ian Rogers\"],\n      \"notes\": null,\n      \"cover_image_url\": \"https:\u002F\u002F...\",\n      \"share_enabled\": false,\n      \"created_at\": \"2026-02-15T10:00:00Z\",\n      \"updated_at\": \"2026-02-15T10:00:00Z\"\n    }\n  ],\n  \"meta\": { \"count\": 1 }\n}\n```\n\nOrdered by start_date descending (soonest upcoming \u002F most recent first).\n\n#### Get Trip with All Items\n```\nGET \u002Fapi\u002Fv1\u002Ftrips\u002F:id\n```\n\nResponse includes full trip object with nested `items` array. Each item has: `id`, `trip_id`, `kind`, `provider`, `traveler_names`, `start_ts`, `end_ts`, `start_date`, `end_date`, `start_location`, `end_location`, `summary`, `details_json`, `status`, `confidence`, `needs_review`, timestamps.\n\n**Item kinds:** `flight`, `hotel`, `train`, `car`, `ferry`, `activity`, `ticket`, `other`\n\n#### Create Trip\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\nContent-Type: application\u002Fjson\n\n{ \"title\": \"Summer in Provence\", \"start_date\": \"2026-07-01\", \"end_date\": \"2026-07-14\" }\n```\n\n#### Update Trip\n```\nPATCH \u002Fapi\u002Fv1\u002Ftrips\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"title\": \"Updated Title\", \"notes\": \"Remember sunscreen\" }\n```\n\n#### Delete Trip\n```\nDELETE \u002Fapi\u002Fv1\u002Ftrips\u002F:id\n```\n\n#### Rename Trip\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Frename\nContent-Type: application\u002Fjson\n\n{ \"title\": \"New Trip Name\" }\n```\n\n#### Merge Trips\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fmerge\nContent-Type: application\u002Fjson\n\n{ \"source_trip_id\": \"uuid-of-trip-to-merge-in\" }\n```\n\nMerges items from the source trip into the target trip.\n\n#### Trip Status\n```\nGET \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fstatus\n```\n\nReturns processing status for the trip.\n\n#### Demo Trip\n```\nGET \u002Fapi\u002Fv1\u002Ftrips\u002Fdemo\n```\n\nReturns a sample trip for onboarding — no auth required.\n\n---\n\n### Items\n\n#### Get Single Item\n```\nGET \u002Fapi\u002Fv1\u002Fitems\u002F:id\n```\n\nResponse: `{ \"data\": \u003Citem> }` — full Item shape with `details_json` containing confirmation numbers, seat assignments, etc.\n\n#### Update Item\n```\nPATCH \u002Fapi\u002Fv1\u002Fitems\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"summary\": \"Updated summary\", \"start_location\": \"Paris CDG\" }\n```\n\n#### Delete Item\n```\nDELETE \u002Fapi\u002Fv1\u002Fitems\u002F:id\n```\n\n#### Add Item to Trip\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fitems\nContent-Type: application\u002Fjson\n```\n\n**Required fields:** `kind`, `start_date`\n\n**All fields:**\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `kind` | string | **Required.** One of: `flight`, `hotel`, `car_rental`, `train`, `activity`, `restaurant`, `ticket`, `other` |\n| `start_date` | string | **Required.** ISO date: `YYYY-MM-DD` |\n| `end_date` | string | ISO date. For hotels = checkout, flights = arrival date if different |\n| `start_ts` | string | ISO 8601 datetime with timezone: `2026-04-01T08:30:00Z` |\n| `end_ts` | string | ISO 8601 datetime with timezone |\n| `start_location` | string | Departure\u002Forigin. City, airport code, or address (max 300 chars) |\n| `end_location` | string | Arrival\u002Fdestination (max 300 chars) |\n| `summary` | string | One-line summary, e.g. \"AF276 CDG→NRT\" (max 1000 chars) |\n| `provider` | string | Airline, hotel chain, etc. e.g. \"Air France\" (max 200 chars) |\n| `confirmation_code` | string | Booking reference (max 200 chars) |\n| `traveler_names` | string[] | Array of traveler names (max 20, each max 200 chars) |\n| `details_json` | object | Freeform metadata — gate, seat, room type, etc. (max 10KB) |\n| `notes` | string | User notes |\n| `status` | string | Item status |\n\n**Example — Flight:**\n```json\n{\n  \"kind\": \"flight\",\n  \"start_date\": \"2026-04-01\",\n  \"start_ts\": \"2026-04-01T08:30:00+01:00\",\n  \"end_ts\": \"2026-04-01T15:45:00+09:00\",\n  \"start_location\": \"Paris CDG\",\n  \"end_location\": \"Tokyo NRT\",\n  \"summary\": \"AF276 CDG→NRT\",\n  \"provider\": \"Air France\",\n  \"confirmation_code\": \"XK7J3M\",\n  \"traveler_names\": [\"Ian Rogers\"],\n  \"details_json\": { \"flight_number\": \"AF276\", \"seat\": \"14A\", \"class\": \"Economy\" }\n}\n```\n\n**Example — Hotel:**\n```json\n{\n  \"kind\": \"hotel\",\n  \"start_date\": \"2026-04-01\",\n  \"end_date\": \"2026-04-05\",\n  \"start_location\": \"Tokyo, Japan\",\n  \"summary\": \"Park Hyatt Tokyo\",\n  \"provider\": \"Hyatt\",\n  \"confirmation_code\": \"HY-889923\",\n  \"traveler_names\": [\"Ian Rogers\", \"Hedvig Rogers\"],\n  \"details_json\": { \"room_type\": \"King Deluxe\", \"check_in\": \"15:00\", \"check_out\": \"11:00\" }\n}\n```\n\n**Example — Train:**\n```json\n{\n  \"kind\": \"train\",\n  \"start_date\": \"2026-04-05\",\n  \"start_ts\": \"2026-04-05T09:00:00+09:00\",\n  \"end_ts\": \"2026-04-05T11:30:00+09:00\",\n  \"start_location\": \"Tokyo Station\",\n  \"end_location\": \"Kyoto Station\",\n  \"summary\": \"Shinkansen Nozomi 7\",\n  \"provider\": \"JR Central\",\n  \"confirmation_code\": \"JR-44521\",\n  \"details_json\": { \"car\": \"7\", \"seat\": \"3A\", \"class\": \"Green Car\" }\n}\n```\n\n**Example — Restaurant:**\n```json\n{\n  \"kind\": \"restaurant\",\n  \"start_date\": \"2026-04-03\",\n  \"start_ts\": \"2026-04-03T19:00:00+09:00\",\n  \"start_location\": \"Sukiyabashi Jiro, Ginza, Tokyo\",\n  \"summary\": \"Dinner at Sukiyabashi Jiro\",\n  \"details_json\": { \"party_size\": 2, \"reservation_name\": \"Rogers\" }\n}\n```\n\n**Example — Ticket\u002FEvent (concert, sports, theater, festival, etc.):**\n```json\n{\n  \"kind\": \"ticket\",\n  \"summary\": \"David Byrne at Théâtre du Châtelet\",\n  \"start_date\": \"2026-05-15\",\n  \"start_ts\": \"2026-05-15T20:00:00+02:00\",\n  \"start_location\": \"Paris\",\n  \"provider\": \"Ticketmaster\",\n  \"details_json\": {\n    \"event_name\": \"David Byrne: American Utopia\",\n    \"venue\": \"Théâtre du Châtelet\",\n    \"venue_address\": \"1 Place du Châtelet, 75001 Paris\",\n    \"performer\": \"David Byrne\",\n    \"event_time\": \"20:00\",\n    \"door_time\": \"19:00\",\n    \"section\": \"Orchestre\",\n    \"seat\": \"12\",\n    \"row\": \"G\",\n    \"ticket_count\": 2,\n    \"ticket_type\": \"Reserved\",\n    \"event_category\": \"concert\"\n  }\n}\n```\n\n**Ticket detail fields:**\n| Field | Type | Description |\n|-------|------|-------------|\n| event_name | string | Name of the event\u002Fshow |\n| venue | string | Venue name |\n| venue_address | string? | Full address |\n| event_time | HH:MM | Show start time |\n| door_time | HH:MM? | Door opening time |\n| section | string? | Seating section |\n| seat | string? | Seat number |\n| row | string? | Row identifier |\n| ticket_count | number | Number of tickets |\n| ticket_type | string? | GA, Reserved, VIP, etc. |\n| performer | string? | Artist\u002Fperformer\u002Fteam |\n| event_category | enum | concert, theater, sports, museum, festival, other |\n\n**Supported ticket providers:** Ticketmaster, AXS, Eventbrite, Dice, SeeTickets, StubHub, Viagogo, venue direct sales. Forward the confirmation email to trips@ubtrippin.xyz and the ticket is extracted automatically.\n\n**Event-driven trips:** When a ticket email creates a new trip (no overlapping dates), the trip is named after the event\u002Fperformer and the cover image is of the performer — not the city.\n\n#### Batch Add Items\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fitems\u002Fbatch\nContent-Type: application\u002Fjson\n\n{ \"items\": [ \u003Citem>, \u003Citem>, ... ] }\n```\n\nUp to 50 items per request. Same fields as single item creation above.\n\nResponse: `{ \"data\": [...items], \"meta\": { \"count\": N } }`\n\n**Tip for agents:** When your user gives you a booking confirmation (email text, screenshot, pasted text), parse it yourself and use these endpoints to add structured items. You handle the extraction; UBTRIPPIN handles the storage, grouping, and display.\n\n#### Item Status\n```\nGET \u002Fapi\u002Fv1\u002Fitems\u002F:id\u002Fstatus\n```\n\n#### Refresh Item Status\n```\nPOST \u002Fapi\u002Fv1\u002Fitems\u002F:id\u002Fstatus\u002Frefresh\n```\n\nRe-checks live status (e.g. flight delays, gate changes).\n\n---\n\n### Loyalty Vault\n\n#### List My Loyalty Programs\n```\nGET \u002Fapi\u002Fv1\u002Fme\u002Floyalty\n```\n\nResponse:\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"uuid\",\n      \"provider_key\": \"delta_skymiles\",\n      \"provider_name\": \"Delta SkyMiles\",\n      \"member_number\": \"1234567890\",\n      \"tier\": \"Gold\",\n      \"notes\": null\n    }\n  ]\n}\n```\n\n#### Lookup by Provider\n```\nGET \u002Fapi\u002Fv1\u002Fme\u002Floyalty\u002Flookup?provider_key=delta_skymiles\n```\n\nReturns matching loyalty entry for a specific provider.\n\n#### Add Loyalty Program\n```\nPOST \u002Fapi\u002Fv1\u002Fme\u002Floyalty\nContent-Type: application\u002Fjson\n\n{ \"provider_key\": \"delta_skymiles\", \"member_number\": \"1234567890\", \"tier\": \"Gold\" }\n```\n\n#### Update Loyalty Program\n```\nPATCH \u002Fapi\u002Fv1\u002Fme\u002Floyalty\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"member_number\": \"9876543210\", \"tier\": \"Platinum\" }\n```\n\n#### Delete Loyalty Program\n```\nDELETE \u002Fapi\u002Fv1\u002Fme\u002Floyalty\u002F:id\n```\n\n#### Export Loyalty Data\n```\nGET \u002Fapi\u002Fv1\u002Fme\u002Floyalty\u002Fexport\n```\n\nReturns all loyalty data in a downloadable format.\n\n#### List Known Providers\n```\nGET \u002Fapi\u002Fv1\u002Floyalty\u002Fproviders\n```\n\nReturns the full list of supported loyalty providers (no auth required).\n\n---\n\n### Profile\n\n#### Get My Profile\n```\nGET \u002Fapi\u002Fv1\u002Fme\u002Fprofile\n```\n\nResponse includes name, email, preferences, tier, and settings.\n\n#### Update My Profile\n```\nPUT \u002Fapi\u002Fv1\u002Fme\u002Fprofile\nContent-Type: application\u002Fjson\n\n{ \"display_name\": \"Ian Rogers\", \"timezone\": \"Europe\u002FParis\" }\n```\n\nAlso accepts `POST` with the same body.\n\n---\n\n### Family\n\n#### List My Families\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\n```\n\n#### Create Family\n```\nPOST \u002Fapi\u002Fv1\u002Ffamilies\nContent-Type: application\u002Fjson\n\n{ \"name\": \"The Rogers Family\" }\n```\n\n#### Get Family\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\n```\n\n#### Update Family\n```\nPATCH \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"name\": \"Updated Family Name\" }\n```\n\n#### Delete Family\n```\nDELETE \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\n```\n\n#### Invite Member to Family\n```\nPOST \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Fmembers\nContent-Type: application\u002Fjson\n\n{ \"email\": \"partner@example.com\", \"role\": \"member\" }\n```\n\n#### Remove Family Member\n```\nDELETE \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Fmembers\u002F:uid\n```\n\n#### Family Member Profiles\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Fprofiles\n```\n\n#### Family Trips\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Ftrips\n```\n\nReturns all trips visible to family members.\n\n#### Family Loyalty Programs\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Floyalty\n```\n\n#### Family Loyalty Lookup\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Floyalty\u002Flookup?provider_key=delta_skymiles\n```\n\nLook up a loyalty number across all family members.\n\n#### Family City Guides\n```\nGET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Fguides\n```\n\n#### Family Invites\n```\nGET \u002Fapi\u002Fv1\u002Ffamily-invites\u002F:token\nPOST \u002Fapi\u002Fv1\u002Ffamily-invites\u002F:token\u002Faccept\n```\n\nView and accept family invite links.\n\n---\n\n### Collaborators (Trip Sharing)\n\n#### List Collaborators\n```\nGET \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fcollaborators\n```\n\n#### Invite Collaborator\n```\nPOST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fcollaborators\nContent-Type: application\u002Fjson\n\n{ \"email\": \"friend@example.com\", \"role\": \"viewer\" }\n```\n\n#### Update Collaborator Role\n```\nPATCH \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fcollaborators\u002F:uid\nContent-Type: application\u002Fjson\n\n{ \"role\": \"editor\" }\n```\n\n#### Remove Collaborator\n```\nDELETE \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fcollaborators\u002F:uid\n```\n\n#### Trip Invites\n```\nGET \u002Fapi\u002Fv1\u002Finvites\u002F:token\nPOST \u002Fapi\u002Fv1\u002Finvites\u002F:token\u002Faccept\n```\n\nView and accept trip collaboration invite links.\n\n---\n\n### City Guides\n\n#### List Guides\n```\nGET \u002Fapi\u002Fv1\u002Fguides\n```\n\nQuery params: `?family_id=uuid` (optional)\n\n#### Create Guide\n```\nPOST \u002Fapi\u002Fv1\u002Fguides\nContent-Type: application\u002Fjson\n\n{ \"city\": \"Tokyo\", \"title\": \"Tokyo Eats\" }\n```\n\n#### Get Guide\n```\nGET \u002Fapi\u002Fv1\u002Fguides\u002F:id\n```\n\n#### Update Guide\n```\nPATCH \u002Fapi\u002Fv1\u002Fguides\u002F:id\n```\n\n#### Delete Guide\n```\nDELETE \u002Fapi\u002Fv1\u002Fguides\u002F:id\n```\n\n#### List Guide Entries\n```\nGET \u002Fapi\u002Fv1\u002Fguides\u002F:id\u002Fentries\n```\n\n#### Add Guide Entry\n```\nPOST \u002Fapi\u002Fv1\u002Fguides\u002F:id\u002Fentries\nContent-Type: application\u002Fjson\n\n{ \"name\": \"Tsukiji Outer Market\", \"category\": \"food\", \"notes\": \"Go early\" }\n```\n\n#### Update Guide Entry\n```\nPATCH \u002Fapi\u002Fv1\u002Fguides\u002F:id\u002Fentries\u002F:eid\n```\n\n#### Delete Guide Entry\n```\nDELETE \u002Fapi\u002Fv1\u002Fguides\u002F:id\u002Fentries\u002F:eid\n```\n\n#### Nearby Guides\n```\nGET \u002Fapi\u002Fv1\u002Fguides\u002Fnearby?lat=35.6762&lng=139.6503\n```\n\nFind guides near a location.\n\n---\n\n### Senders (Allowed Email Addresses)\n\n#### List Senders\n```\nGET \u002Fapi\u002Fv1\u002Fsettings\u002Fsenders\n```\n\n#### Add Sender\n```\nPOST \u002Fapi\u002Fv1\u002Fsettings\u002Fsenders\nContent-Type: application\u002Fjson\n\n{ \"email\": \"mywork@company.com\" }\n```\n\n#### Remove Sender\n```\nDELETE \u002Fapi\u002Fv1\u002Fsettings\u002Fsenders\u002F:id\n```\n\n---\n\n### Calendar\n\n#### Get Calendar Token\n```\nGET \u002Fapi\u002Fv1\u002Fcalendar\u002Ftoken\n```\n\nReturns an iCal subscription URL for syncing trips to calendar apps.\n\n#### Regenerate Calendar Token\n```\nPOST \u002Fapi\u002Fv1\u002Fcalendar\u002Ftoken\n```\n\nInvalidates the old token and generates a new one.\n\n---\n\n### Notifications\n\n#### List Notifications\n```\nGET \u002Fapi\u002Fv1\u002Fnotifications\n```\n\nQuery params: `?unread=true` (optional)\n\n#### Mark Notification Read\n```\nPATCH \u002Fapi\u002Fv1\u002Fnotifications\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"read\": true }\n```\n\n---\n\n### Webhooks\n\n#### List Webhooks\n```\nGET \u002Fapi\u002Fv1\u002Fwebhooks\n```\n\n#### Create Webhook\n```\nPOST \u002Fapi\u002Fv1\u002Fwebhooks\nContent-Type: application\u002Fjson\n\n{ \"url\": \"https:\u002F\u002Fexample.com\u002Fhook\", \"events\": [\"trip.created\", \"item.added\"] }\n```\n\n#### Get Webhook\n```\nGET \u002Fapi\u002Fv1\u002Fwebhooks\u002F:id\n```\n\n#### Update Webhook\n```\nPATCH \u002Fapi\u002Fv1\u002Fwebhooks\u002F:id\nContent-Type: application\u002Fjson\n\n{ \"url\": \"https:\u002F\u002Fexample.com\u002Fnew-hook\", \"active\": true }\n```\n\n#### Delete Webhook\n```\nDELETE \u002Fapi\u002Fv1\u002Fwebhooks\u002F:id\n```\n\n#### Test Webhook\n```\nPOST \u002Fapi\u002Fv1\u002Fwebhooks\u002F:id\u002Ftest\n```\n\nSends a test payload to verify the endpoint.\n\n#### Webhook Deliveries\n```\nGET \u002Fapi\u002Fv1\u002Fwebhooks\u002F:id\u002Fdeliveries\n```\n\nLists recent delivery attempts with status codes.\n\n---\n\n### Trains\n\n#### Train Status\n```\nGET \u002Fapi\u002Fv1\u002Ftrains\u002F:trainNumber\u002Fstatus\n```\n\nReturns real-time status for a train by number (delays, platform, etc.).\n\n---\n\n### Images\n\n#### Search Images\n```\nGET \u002Fapi\u002Fv1\u002Fimages\u002Fsearch?q=tokyo+tower\n```\n\nSearch for destination\u002Fcover images.\n\n---\n\n### Imports\n\n#### List Imports\n```\nGET \u002Fapi\u002Fv1\u002Fimports\n```\n\n#### Create Import\n```\nPOST \u002Fapi\u002Fv1\u002Fimports\n```\n\nUpload booking data for batch import.\n\n#### Get Import\n```\nGET \u002Fapi\u002Fv1\u002Fimports\u002F:id\n```\n\n---\n\n### Billing\n\n#### Get Subscription\n```\nGET \u002Fapi\u002Fv1\u002Fbilling\u002Fsubscription\n```\n\nReturns current plan, tier, and billing period.\n\n#### Get Billing Portal URL\n```\nGET \u002Fapi\u002Fv1\u002Fbilling\u002Fportal\n```\n\nReturns a Stripe billing portal link for managing subscription.\n\n#### Get Prices\n```\nGET \u002Fapi\u002Fv1\u002Fbilling\u002Fprices\n```\n\nReturns available plans and pricing.\n\n#### Checkout\n```\nPOST \u002Fapi\u002Fv1\u002Fcheckout\nContent-Type: application\u002Fjson\n\n{ \"price_id\": \"price_xxx\" }\n```\n\nCreates a Stripe checkout session.\n\n---\n\n### Activation\n\n#### Check Activation Status\n```\nGET \u002Fapi\u002Fv1\u002Factivation\u002Fstatus\n```\n\nReturns whether the user's account is activated.\n\n---\n\n## Adding New Bookings (Email Forwarding)\n\nThe primary way to add bookings is **email forwarding**. When your user receives a booking confirmation:\n\n1. Forward the email to: **trips@ubtrippin.xyz**\n2. **Must forward from their registered sender address** — UBTRIPPIN rejects unknown senders.\n3. UBTRIPPIN's AI parser extracts the booking details automatically (usually within 30 seconds).\n4. The item appears in the relevant trip (or a new trip is created).\n\n**How to do this as an agent:**\n- Use your email sending capability to forward the email from the user's address to trips@ubtrippin.xyz.\n- Or instruct the user to do it manually from their inbox.\n- PDF attachments (e.g. eTickets) are supported — include them in the forward.\n\n**Works with:** flights, hotels, trains (Eurostar, SNCF, Thalys, etc.), rental cars, ferry bookings, concert\u002Fevent tickets (Ticketmaster, AXS, Eventbrite, Dice, SeeTickets, StubHub, Viagogo), and most major booking platforms (Booking.com, Expedia, Kayak, Trainline, etc.).\n\n---\n\n## Typical Agent Workflows\n\n### \"What trips do I have coming up?\"\n1. `GET \u002Fapi\u002Fv1\u002Ftrips`\n2. Filter by start_date >= today\n3. Format and present\n\n### \"What's my itinerary for Tokyo?\"\n1. `GET \u002Fapi\u002Fv1\u002Ftrips` — find the Tokyo trip ID\n2. `GET \u002Fapi\u002Fv1\u002Ftrips\u002F:id` — get full itinerary with all items\n3. Format chronologically by start_ts\n\n### \"I just booked a hotel in Tokyo — add it\"\n1. Ask the user to forward the confirmation email from their registered address to trips@ubtrippin.xyz\n2. Or if you have email access: forward it yourself\n3. Wait ~30 seconds, then `GET \u002Fapi\u002Fv1\u002Ftrips\u002F:id` to confirm it appeared\n\n### \"What's my Delta SkyMiles number?\"\n1. `GET \u002Fapi\u002Fv1\u002Fme\u002Floyalty\u002Flookup?provider_key=delta_skymiles`\n2. Return the `member_number` from the response\n\n### \"Add my Marriott Bonvoy membership\"\n1. `POST \u002Fapi\u002Fv1\u002Fme\u002Floyalty` with `{ \"provider_key\": \"marriott_bonvoy\", \"member_number\": \"123456789\" }`\n\n### \"What loyalty programs does my family have for Delta?\"\n1. Get the family ID: `GET \u002Fapi\u002Fv1\u002Ffamilies`\n2. `GET \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Floyalty\u002Flookup?provider_key=delta_skymiles`\n3. Returns all family members' Delta numbers\n\n### \"Add my family members\"\n1. `POST \u002Fapi\u002Fv1\u002Ffamilies` to create a family group (if none exists)\n2. `POST \u002Fapi\u002Fv1\u002Ffamilies\u002F:id\u002Fmembers` with `{ \"email\": \"partner@example.com\" }` for each member\n3. They'll receive an invite email to accept\n\n### \"Share my trip with a friend\"\n1. `POST \u002Fapi\u002Fv1\u002Ftrips\u002F:id\u002Fcollaborators` with `{ \"email\": \"friend@example.com\", \"role\": \"viewer\" }`\n\n### \"Is my train on time?\"\n1. `GET \u002Fapi\u002Fv1\u002Ftrains\u002F:trainNumber\u002Fstatus`\n2. Report delays, platform changes, etc.\n\n### \"Show me city guides near me\"\n1. `GET \u002Fapi\u002Fv1\u002Fguides\u002Fnearby?lat=48.8566&lng=2.3522`\n\n### \"Set up a webhook for new bookings\"\n1. `POST \u002Fapi\u002Fv1\u002Fwebhooks` with `{ \"url\": \"https:\u002F\u002F...\", \"events\": [\"item.added\"] }`\n\n### \"Get me a calendar link for my trips\"\n1. `GET \u002Fapi\u002Fv1\u002Fcalendar\u002Ftoken`\n2. Give the user the iCal URL to add to their calendar app\n\n---\n\n## Error Handling\n\n| Status | Code | Meaning |\n|--------|------|---------|\n| 401 | `unauthorized` | Missing\u002Finvalid API key |\n| 400 | `invalid_param` | Bad UUID or missing field |\n| 404 | `not_found` | Trip\u002Fitem not found or belongs to another user |\n| 429 | _(body varies)_ | Rate limited — wait 60s |\n| 500 | `internal_error` | Server error — retry once |\n\nAll errors return: `{ \"error\": { \"code\": \"...\", \"message\": \"...\" } }`\n\n---\n\n## Notes for Agents\n\n- All IDs are UUIDs.\n- Dates are ISO 8601 (`YYYY-MM-DD` for dates, `YYYY-MM-DDTHH:MM:SSZ` for timestamps).\n- `details_json` contains raw parsed data — useful for confirmation numbers, seat assignments, loyalty numbers, etc.\n- `confidence` (0–1): how confident the AI parser was. Items with `needs_review: true` may have errors.\n- The API key is the user's — never share it, log it, or store it beyond the session unless the user explicitly asks.\n\n---\n\n## Managing API Keys\n\nUsers manage keys at **ubtrippin.xyz\u002Fsettings**. Each key has a name and a masked preview. If a key is compromised, the user can revoke it from the settings page and generate a new one.\n",{"name":5,"version":24,"description":7},"2.0.0","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fu\u002Fubtrippin",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill ubtrippin",{"tool":40,"command":41},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill ubtrippin",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill ubtrippin","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fu\u002Fubtrippin\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]