Setup
On first use, read setup.md for onboarding guidelines. Start helping naturally without technical jargon — users can always ask about storage details if curious.
When to Use
User wants to plan a trip, track travel expenses, organize bookings, coordinate group/family travel, or build packing lists. Agent handles the full travel lifecycle: dreaming, planning, booking, traveling, and documenting.
Architecture
Memory lives in ~/travel-planning/. See memory-template.md for structure.
CODEBLOCK0
Quick Reference
| Topic | File |
|---|
| Setup process | INLINECODE3 |
| Memory template |
memory-template.md |
| Booking timing |
booking-guide.md |
| Packing templates |
packing-templates.md |
| Multi-city planning |
multi-city.md |
Core Rules
1. Check Memory First
Before any trip planning, read
~/travel-planning/memory.md for:
- - Travel style preferences (budget, pace, accommodation type)
- Past trip patterns (average daily spend, packing habits)
- Document status (passport expiry, frequent flyer numbers)
- Family/group composition if applicable
2. Trip Lifecycle
| Phase | Action |
|---|
| Dream | Add to wishlist/ with why, when, budget estimate |
| Plan |
Create trip folder in
trips/ when dates confirmed |
| Book | Track confirmations in trip's bookings.md, update budget |
| Travel | Reference itinerary, log actual expenses |
| Return | Move to
completed/, document highlights and lessons |
3. Booking Timeline Reminders
Proactively remind based on trip dates:
- - 90 days out: Complex visas (China, Russia, India), group bookings
- 60 days out: International flights, travel insurance for pre-existing conditions
- 45 days out: Hotels, standard visas, rental cars for groups
- 30 days out: Activities, restaurant reservations, special requests
- 14 days out: Travel insurance (general), kids' documents check
- 7 days out: Bank notifications, packing list finalization, check-in reminders
4. Budget Tracking & Optimization
For each trip, track in its budget.md:
CODEBLOCK1
5. Multi-City & Complex Itineraries
For trips with 2+ cities:
- - Plan minimum 2 nights per city (avoid one-night stays)
- Group geographically close destinations
- Consider open-jaw flights (fly into A, out of B) — often same price
- Build connection buffers: 4+ hours international, 2+ hours domestic
- Track different currencies and exchange rates per leg
6. Family & Group Travel
When traveling with kids or groups:
- - Create travelers.md in trip folder with each person's details (dietary, medical, seat prefs)
- Plan kid-friendly activities with energy breaks
- Book accommodations with kitchen access (saves 30%+ on food)
- Check child visa/consent requirements (some countries need notarized letters)
- Pack shared items list to avoid duplication
- Assign roles: navigator, budget tracker, activity planner
7. Document Safety (with user consent)
Only store document info if user explicitly shares it:
- - Passport expiry dates (for validity warnings)
- Visa requirements per destination
- Travel insurance policy numbers
- Emergency contacts (embassy, bank, family)
- Never store full document images — only reference numbers
Booking Optimization
Timing
| Booking | Optimal Window | Why |
|---|
| Domestic flights | 6-8 weeks out | Price sweet spot |
| International flights |
3-4 months out | 10-20% savings |
| Hotels | 2-3 months out | Best selection + rates |
| Rental cars | 2-6 weeks out | Prices fluctuate less |
| Group activities | 4-6 weeks out | Availability for large groups |
Cost Optimization Tactics
| Strategy | Typical Savings | When to Use |
|---|
| Shoulder season | 30-40% | Flexible dates |
| Off-airport car rental |
30-40% | Any rental |
| Kitchen accommodation | 30%+ food costs | Family trips, 5+ days |
| City passes | 20-40% on activities | 3+ attractions planned |
| Open-jaw flights | $0-100 | Multi-city, different endpoints |
| Tuesday flight booking | 5-15% | Flexible booking day |
| Bundle hotel+flight | 10-20% | Package deals available |
Group Booking Tips
- - Book flights separately for flexibility (one delay shouldn't cancel all)
- Hotels: request adjoining rooms at booking, confirm before arrival
- Activities: ask for group discounts (10+ people often qualify)
- Car rentals: compare 2 cars vs 1 large van (often cheaper + more flexible)
Itinerary Structure
CODEBLOCK2
Keep 2-3 hours buffer daily. Mark must-dos vs nice-to-haves.
Multi-City Connection Planning
CODEBLOCK3
Common Traps
- - Over-scheduling → leave discovery room (max 3 planned activities/day)
- Forgetting to document after trip → memories fade in days, not months
- Booking without checking visa requirements → some need 90+ days
- Ignoring passport validity → many countries require 6 months beyond trip dates
- Not saving confirmation numbers → create bookings.md immediately
- One-night stays in cities → exhausting, skip or extend
- Ignoring jet lag recovery → plan light first day after long-haul
- Group booking all together → one problem cancels everyone
Scope
This skill ONLY:
- - Manages travel planning in INLINECODE12
- Reads/writes markdown files for trips, budgets, packing
- Reminds about deadlines based on trip dates
This skill NEVER:
- - Makes actual bookings (provides info for user to book)
- Accesses email or calendar directly
- Stores payment information
- Reads files outside INLINECODE13
Related Skills
Install with
clawhub install <slug> if user confirms:
- -
daily-planner — daily task management - INLINECODE16 — general project planning
- INLINECODE17 — expense tracking
Feedback
- - If useful: INLINECODE18
- Stay updated: INLINECODE19
设置
首次使用时,请阅读 setup.md 了解入门指南。以自然的方式开始协助,避免使用技术术语——如果用户对存储细节感到好奇,可以随时询问。
使用时机
用户想要规划旅行、追踪旅行开支、整理预订信息、协调团体/家庭旅行或制定行李清单。助手负责处理完整的旅行生命周期:梦想、规划、预订、旅行和记录。
架构
记忆存储在 ~/travel-planning/ 中。结构请参见 memory-template.md。
~/travel-planning/
├── memory.md # 偏好 + 旅行历史摘要
├── wishlist/ # 梦想目的地
│ └── {destination}.md
├── trips/ # 进行中和即将到来的旅行
│ └── {trip-name}/
│ ├── overview.md
│ ├── itinerary.md
│ ├── bookings.md
│ ├── packing.md
│ ├── budget.md
│ └── travelers.md # 用于团体/家庭旅行
├── completed/ # 过去的旅行及备注
├── templates/ # 可重复使用的行李清单
└── documents/ # 护照、签证信息、保险
快速参考
memory-template.md |
| 预订时机 | booking-guide.md |
| 行李打包模板 | packing-templates.md |
| 多城市规划 | multi-city.md |
核心规则
1. 首先检查记忆
在进行任何旅行规划之前,请阅读 ~/travel-planning/memory.md 以获取:
- - 旅行风格偏好(预算、节奏、住宿类型)
- 过去旅行模式(日均花费、打包习惯)
- 证件状态(护照有效期、常旅客号码)
- 家庭/团体构成(如适用)
2. 旅行生命周期
| 阶段 | 操作 |
|---|
| 梦想 | 添加到 wishlist/,注明原因、时间、预算估算 |
| 规划 |
日期确认后,在 trips/ 中创建旅行文件夹 |
| 预订 | 在旅行的 bookings.md 中追踪确认信息,更新预算 |
| 旅行 | 参考行程,记录实际开支 |
| 返回 | 移至 completed/,记录亮点和经验教训 |
3. 预订时间提醒
根据旅行日期主动提醒:
- - 出发前90天:复杂签证(中国、俄罗斯、印度)、团体预订
- 出发前60天:国际航班、针对既往病史的旅行保险
- 出发前45天:酒店、标准签证、团体租车
- 出发前30天:活动、餐厅预订、特殊要求
- 出发前14天:旅行保险(一般)、儿童证件检查
- 出发前7天:银行通知、行李清单最终确定、值机提醒
4. 预算追踪与优化
对于每次旅行,在其 budget.md 中追踪:
markdown
预算 — {旅行名称}
人均细分(适用于团体)
$X | |
| 儿童 | $X | 活动费50% |
计划
$X | 厨房节省餐费 |
| 交通 | $X | 机场外租车 |
| 餐饮 | $X | ~$Y/天/人 |
| 活动 | $X | 城市通票 ✓ |
|
总计 |
$X |
节省:$Y |
实际(期间/之后更新)
| 类别 | 花费 | 与计划对比 |
|----------|-------|------------|
5. 多城市及复杂行程
对于包含2个以上城市的旅行:
- - 每个城市至少规划2晚(避免一晚停留)
- 将地理位置相近的目的地分组
- 考虑缺口航班(飞入A城,飞出B城)——通常价格相同
- 建立转机缓冲时间:国际4小时以上,国内2小时以上
- 追踪每段行程的不同货币和汇率
6. 家庭与团体旅行
与儿童或团体旅行时:
- - 在旅行文件夹中创建 travelers.md,包含每个人的详细信息(饮食、医疗、座位偏好)
- 规划适合儿童的活动,并安排精力恢复休息时间
- 预订带厨房的住宿(可节省30%以上的餐饮费用)
- 检查儿童签证/同意书要求(有些国家需要公证信函)
- 整理共享物品清单以避免重复
- 分配角色:导航员、预算追踪员、活动规划员
7. 证件安全(需用户同意)
仅在用户明确分享时存储证件信息:
- - 护照有效期(用于有效期警告)
- 每个目的地的签证要求
- 旅行保险保单号码
- 紧急联系人(大使馆、银行、家人)
- 绝不存储完整的证件图像——仅存储参考号码
预订优化
时机
| 预订 | 最佳窗口 | 原因 |
|---|
| 国内航班 | 出发前6-8周 | 价格最佳点 |
| 国际航班 |
出发前3-4个月 | 节省10-20% |
| 酒店 | 出发前2-3个月 | 最佳选择+价格 |
| 租车 | 出发前2-6周 | 价格波动较小 |
| 团体活动 | 出发前4-6周 | 大型团体有可用名额 |
成本优化策略
| 策略 | 典型节省 | 使用时机 |
|---|
| 平季 | 30-40% | 灵活日期 |
| 机场外租车 |
30-40% | 任何租车 |
| 带厨房的住宿 | 餐饮费用30%以上 | 家庭旅行,5天以上 |
| 城市通票 | 活动费用20-40% | 计划参观3个以上景点 |
| 缺口航班 | $0-100 | 多城市,不同终点 |
| 周二预订航班 | 5-15% | 灵活的预订日期 |
| 酒店+机票捆绑 | 10-20% | 有套餐优惠 |
团体预订技巧
- - 分别预订机票以保持灵活性(一次延误不应取消所有人的行程)
- 酒店:预订时要求相邻房间,入住前确认
- 活动:询问团体折扣(10人以上通常符合条件)
- 租车:比较2辆车与1辆大面包车(通常更便宜+更灵活)
行程结构
markdown
第X天 — {日期} — {地点}
上午
- 地址:{地址}
- 适合儿童:✓/✗
- 备注:{营业时间、门票、提示}
下午
晚上
- 预订:{时间}
- 确认号:{号码}
- 有高脚椅:✓/✗
后勤
- - 交通:{如何到达}
- 住宿:{入住时间(如适用)}
- 备用计划:{如果天气/精力不佳}
每天保留2-3小时的缓冲时间。标记必做事项与可选事项。
多城市连接规划
markdown
城市连接 — {旅行名称}
| 出发地 | 目的地 | 交通方式 | 时长 | 费用 | 已预订 |
|---|
| 巴黎 | 阿姆斯特丹 | 火车 | 3小时20分 | €80 | ✓ |
| 阿姆斯特丹 |
柏林 | 航班 | 1小时15分 | €65 | ✓ |
连接风险
- - 巴黎→阿姆斯特丹:低(火车班次频繁,无需值机)
- 阿姆斯特丹→柏林:中(需要在机场停留2小时以上)
行李策略
- - 全部行李:在出发地托运,在最终目的地提取
- 日用包:携带城市间转乘的必需品
常见陷阱
- - 行程过满 → 留出探索空间(每天最多3个计划活动)
- 忘记在旅行后记录 → 记忆在几天内就会模糊,而非几个月
- 未检查签证要求就预订 → 有些需要90天以上
- 忽视护照有效期 → 许多国家要求有效期超出旅行日期6个月以上
- 未保存确认号码 → 立即创建 bookings.md
- 在城市只住一晚 → 令人疲惫,跳过或延长
- 忽视时差恢复 → 长途飞行后第一天安排轻松活动
- 团体一起预订 → 一个问题取消所有人的行程
范围
此技能仅: