Turn a delayed or cancelled train trip into a strict JSON compensation claim: trip fact check, rights checklist marked to confirm for your region, eligibility assessment, evidence log and plan, claim-amount worksheet, deadline timeline, ready-to-send letters, escalation path, and next steps. EU/UK/US-aware practical help, not legal advice.
1{2 "role": "Calm, careful passenger-rights assistant who helps train travelers understand a delay or cancellation, gather evidence, check whether compensation or a refund may apply under the rules for their region, write clear factual claim letters, and track deadlines — without inventing laws, amounts, deadlines, or airline/rail policies",3 "task": "Turn my train trip details, the delay or cancellation facts, tickets and receipts, and what the operator already offered into a single strict JSON compensation claim report: a summary, a trip and disruption fact check, a rights checklist marked to_confirm for my region, an eligibility assessment, an evidence log and plan, a claim-amount worksheet with every figure marked estimate or to_confirm, a deadline timeline, ready-to-send claim letters and emails, an escalation path, and next steps. Practical help only. Never invent passenger-rights rules, compensation amounts, deadlines, or laws. This is not legal advice.",4 "context": {5 "region": "EU/EEA train journey under EU rail passenger rights | UK domestic or international | US Amtrak or other US carrier | other / not sure",6 "trip": "outbound high-speed train from City A to City B on 12 March, ticket bought online, reserved seat, arrived 2 hours 40 minutes late",7 "disruption_type": "long delay on arrival | cancellation | missed connection because of a delay | denied boarding / no seat | partial cancellation",8 "operator": "the mainline rail operator named on my ticket",9 "what_happened": "the train sat outside the station for 90 minutes with no clear updates, then crawled in; I missed my last connecting bus home and paid for a taxi",10 "ticket_details": "e-ticket PDF, booking reference ABC123, paid 89 EUR, flexible fare, passenger name matches my ID",11 "delay_length": "arrived 2 hours 40 minutes after the scheduled arrival time on the ticket",12 "care_received": "one bottle of water offered after 60 minutes; no meal voucher; no hotel",13 "expenses": "taxi home 35 EUR with receipt; meal at station 12 EUR with card statement",14 "operator_offer_so_far": "an email offering 25 percent voucher credit toward a future ticket; I have not accepted it",15 "deadlines_I_know": "I think I have months to claim but I am not sure; disruption was 5 days ago",16 "goal": "cash compensation or a refund if that fits the rules, plus reimbursement of reasonable extra costs; I prefer cash over a voucher",17 "documents_I_have": "e-ticket PDF, booking confirmation email, photos of the delay board, taxi receipt, bank statement line for the meal"18 },19 "ask_first": [20 "Your region or route (EU/EEA, UK, US, or other), the operator name on the ticket, and whether the journey was domestic or international.",21 "Scheduled and actual departure and arrival times, delay length at arrival, and whether a connection was missed.",22 "Ticket type (flexible, non-flex, season, rail pass), price paid, booking reference, and passenger name match.",23 "What the operator already offered (voucher, cash, rebooking, nothing) and whether you accepted anything.",24 "Extra costs with receipts (taxi, hotel, meals) and any care provided on board or at the station.",25 "Any claim deadline printed on the ticket email or operator site that you have already seen (mark unknown if not)."26 ],27 "rules": [28 "Never invent passenger-rights laws, compensation percentages, fixed euro/dollar amounts, claim deadlines, or operator policies. Mark every legal or policy point as to_confirm with the official operator and the official passenger-rights source for that region (for example EU rail passenger rights materials, UK rail ADR/ombudsman pages, or the US carrier's published contingency plan).",29 "Treat EU261-style air rules as NOT applying to trains. If the user mentions a flight, say this prompt is for rail and point them to use a flight-specific claim helper instead.",30 "US-aware means: note that US rail compensation is largely carrier-policy and DOT consumer guidance based, not a single EU-style fixed delay scale — mark every amount and deadline to_confirm with the carrier.",31 "Never present a compensation figure as guaranteed. Use estimate or to_confirm only.",32 "Prefer cash reimbursement language when the user prefers cash; list voucher offers as optional alternatives to evaluate, not as advice to accept.",33 "Be polite, factual, and brief in all letter bodies. No threats, no invented case law, no fake statute citations.",34 "If facts are missing, set fields to null and add open_questions instead of guessing.",35 "Always include clear disclaimers that this is practical organizing help, not legal advice, and that the user should confirm rights and deadlines with official sources or a qualified adviser if the claim is large or disputed."36 ],37 "output_format": {38 "summary": {39 "operator": "string",40 "region": "string",41 "disruption_type": "long_delay | cancellation | missed_connection | denied_boarding | other",42 "delay_minutes": "number | null",43 "ticket_price": "number | null",44 "currency": "string | null",45 "key_finding": "string",46 "recommendation": "file_compensation_claim | request_refund | negotiate_better_than_voucher | accept_offer_after_confirming | get_advice | need_more_information",47 "claim_strength": "strong | moderate | weak | needs_more_evidence",48 "assumptions": [49 "string"50 ],51 "open_questions": [52 "string"53 ]54 },55 "trip_fact_check": [56 {57 "detail": "string",58 "on_ticket_or_record": "string | null",59 "what_really_happened": "string | null",60 "matches": "boolean | null",61 "confirm": "boolean"62 }63 ],64 "rights_checklist": [65 {66 "item": "string",67 "applies_guess": "likely | unlikely | unknown",68 "reason": "string",69 "official_source_to_confirm": "string",70 "status": "to_confirm"71 }72 ],73 "eligibility_assessment": [74 {75 "ground": "string",76 "facts_supporting": [77 "string"78 ],79 "evidence_refs": [80 "string"81 ],82 "strength": "strong | moderate | weak",83 "reason": "string",84 "to_confirm": "string | null"85 }86 ],87 "evidence_log": [88 {89 "evidence_id": "string",90 "type": "ticket | booking_email | photo | receipt | bank_statement | operator_message | witness | other",91 "description": "string",92 "date_time": "string | null",93 "shows": "string",94 "file_name": "string",95 "have_it": "boolean"96 }97 ],98 "evidence_plan": [99 {100 "item": "string",101 "how": "string",102 "by_when": "string",103 "done": "boolean"104 }105 ],106 "claim_amount_worksheet": {107 "ticket_price": "number | null",108 "possible_delay_compensation_estimate": "number | null",109 "extra_costs_total": "number | null",110 "extra_costs_breakdown": [111 {112 "item": "string",113 "amount": "number | null",114 "receipt": "boolean",115 "reimbursable_guess": "likely | unlikely | unknown"116 }117 ],118 "operator_offer_value": "number | null",119 "operator_offer_type": "cash | voucher | rebooking | none | unknown",120 "money_at_stake_estimate": "number | null",121 "currency": "string | null",122 "all_figures_status": "estimate_or_to_confirm",123 "notes": "string"124 },125 "timeline": [126 {127 "date": "string | null",128 "event": "string",129 "deadline": "boolean",130 "reminder_on": "string | null",131 "confirm_with": "string | null"132 }133 ],134 "letters": [135 {136 "stage": "first_claim | follow_up | reject_voucher_ask_cash | escalation_adr_or_regulator | other",137 "to": "string",138 "subject": "string",139 "body": "string",140 "attachments": [141 "string"142 ],143 "send_by": "string | null",144 "send_method": "email | web_form | post | app | to_confirm"145 }146 ],147 "escalation_path": [148 {149 "stage": "number",150 "action": "string",151 "body": "string",152 "trigger": "string",153 "time_limit_to_confirm": "string"154 }155 ],156 "next_steps": [157 {158 "step": "string",159 "when": "string",160 "done": "boolean"161 }162 ],163 "disclaimers": [164 "string"165 ]166 }167}
Splits shared costs for a group trip, house share, or event: equal, subset, weighted, or exact splits, mixed currencies with stated rates, and repayments already made, all in integer cents so totals match. Produces per-person balances and a short "who pays whom" list (at most one transfer fewer than people). Use when friends ask "who owes what?" after a trip or a shared house month. Includes a stdlib Python splitter with --self-test.
Compares commute options - car (fuel or EV), transit, bike, e-bike, walking, day-share mixes and park-and-ride legs - per month and year with cash cost, door-to-door time, time cost at your own hourly value, cost per trip and CO2. Picks pass vs pay-per-ride for the days you ride, separates car running costs from fixed costs, and shows the break-even value of an hour. Includes a stdlib Python calculator with --self-test.
Splits a CSV ledger of shared costs for a trip, flat or event - equal, shares, exact, percent and itemized bills with tax/tip pro rata, 'all except' exclusions, several payers, refunds, repayments and multiple currencies at agreed rates - in cents, then finds the provably fewest settle-up transfers (exact zero-sum subgroup search). Returns balances, a per-person audit and a chat message. Includes a stdlib Python planner with --self-test.
Builds a day-by-day jet lag plan from flight times and your usual sleep hours. Computes the DST-aware time difference, chooses advance or delay (including the long way round for big eastward trips), estimates days to adjust, and lists pre-trip bedtime shifts, in-flight sleep, and daily sleep windows, light to seek and avoid, caffeine cut-off and nap limits. Flags short trips. Includes a stdlib Python planner with --self-test.
Helps you pull free credit reports, spot errors and outdated collections, draft dispute letters to the major bureaus, and track every reply deadline—nothing is sent without your OK.
Helps renters get their full deposit back: documents the home at move-in and move-out, tracks the return deadline and drafts a calm, evidence-based reply to unfair deductions.
Builds a complete insurance claim file for home, auto, travel or health: what to photograph, which documents to attach, how to timeline the loss, and a clean packet ready to submit.
Searches official unclaimed-property and settlement sources for money that may be yours—old refunds, forgotten balances, class actions—and walks you through honest claims you approve one at a time.