Tripit Calendar
by @caddytan
Read upcoming TripIt travel plans from a TripIt iCal feed; use for next trip, upcoming travel, itinerary, flight or hotel bookings already in TripIt; do not...
clawhub install tripit-calendarπ About This Skill
name: tripit_calendar description: Read upcoming TripIt travel plans from a TripIt iCal feed; use for next trip, upcoming travel, itinerary, flight or hotel bookings already in TripIt; do not use for live flight status, delays, check-in, or general travel research. metadata: {"openclaw":{"emoji":"βοΈ","os":["linux","darwin"],"skillKey":"tripit_calendar","requires":{"anyBins":["python3","python"],"env":["TRIPIT_ICAL_URL"]}}}
TripIt Calendar
Use this skill to retrieve the user's upcoming travel plans from a TripIt iCal feed.
Routing
Use this skill when the user asks about:
Do not use this skill when the user asks about:
What this skill needs
TRIPIT_ICAL_URL must be availablerequests and icalendar installedOpenClaw can load environment variables from ~/.openclaw/.env. This script also falls back to reading ~/.openclaw/.env directly if TRIPIT_ICAL_URL is not already present in the process environment.
Expected entry in ~/.openclaw/.env:
TRIPIT_ICAL_URL=https://www.tripit.com/feed/ical/private/.../tripit.ics
Execution
Prefer the OpenClaw virtual environment Python when it exists:
/home/picoclaw/.openclaw/workspace/openclaw_venv/bin/python {baseDir}/final_tripit_ical.py
If that exact path is not available, use:
python3 {baseDir}/final_tripit_ical.py
Use --pretty only when a human-readable terminal view is explicitly needed.
Output
The script returns JSON with:
next_trip: the next detected trip groupupcoming_events: up to 20 future itinerary itemscounts: number of upcoming events and detected tripsgenerated_at: timestamp of the lookupEach event may include:
How to respond
1. Run the script.
2. Read next_trip first.
3. Give the user a concise summary of the next trip.
4. If useful, list the most relevant itinerary items in chronological order.
5. If there are no upcoming events, clearly say there is no upcoming TripIt itinerary.
6. Never invent flight numbers, hotels, dates, or locations that are not in the JSON.
Examples
User requests that should trigger this skill:
Example commands:
/home/picoclaw/.openclaw/workspace/openclaw_venv/bin/python {baseDir}/final_tripit_ical.py
/home/picoclaw/.openclaw/workspace/openclaw_venv/bin/python {baseDir}/final_tripit_ical.py --pretty
python3 {baseDir}/final_tripit_ical.py
Troubleshooting
TRIPIT_ICAL_URL is available to OpenClaw.π‘ Examples
User requests that should trigger this skill:
Example commands:
/home/picoclaw/.openclaw/workspace/openclaw_venv/bin/python {baseDir}/final_tripit_ical.py
/home/picoclaw/.openclaw/workspace/openclaw_venv/bin/python {baseDir}/final_tripit_ical.py --pretty
python3 {baseDir}/final_tripit_ical.py
π Tips & Best Practices
TRIPIT_ICAL_URL is available to OpenClaw.