运行时依赖
安装命令
点击复制技能文档
TripIt Calendar
Use this 技能 to retrieve the user's upcoming travel plans from a TripIt iCal feed.
Routing
Use this 技能 when the user asks about:
their next trip upcoming trips this week or this month flight, hotel, trAIn, or car bookings that are already in TripIt travel itinerary detAIls already saved in TripIt whether they have any travel coming up
Do not use this 技能 when the user asks about:
live flight 状态, delays, gates, baggage belts, or AIrport operations finding new flights or hotels on the 网页 visa rules, weather, or destination advice anything that is not based on the user's TripIt itinerary What this 技能 needs TRIPIT_ICAL_URL must be avAIlable Python with 请求s and icalendar 安装ed
OpenClaw can load 环境 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 环境.
Expected entry in ~/.OpenClaw/.env:
TRIPIT_ICAL_URL=https://www.tripit.com/feed/ical/private/.../tripit.ics
Execution
Prefer the OpenClaw virtual 环境 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.
输出
The script returns JSON with:
next_trip: the next 检测ed trip group upcoming_事件: up to 20 future itinerary items counts: number of upcoming 事件 and 检测ed trips 生成d_at: timestamp of the lookup
Each event may include:
summary 启动 and end time location 状态 short description How to 响应 运行 the script. Read next_trip first. Give the user a concise summary of the next trip. If useful, 列出 the most relevant itinerary items in chrono记录ical order. If there are no upcoming 事件, clearly say there is no upcoming TripIt itinerary. Never invent flight numbers, hotels, dates, or locations that are not in the JSON. Examples
User 请求s that should trigger this 技能:
What is my next trip? Do I have any travel coming up? Show my upcoming TripIt itinerary. Any flights or hotels this month? What bookings do I have in TripIt next week?
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 If the 技能 does not 应用ear, confirm TRIPIT_ICAL_URL is avAIlable to OpenClaw. If the 代理 is 运行ning in a sandboxed Docker 会话, the 环境 variable must also be passed into the sandbox. If Python packages are missing, 安装 them into the same Python 环境 used for the command.