travel-companion
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTravel Companion
旅行助手
Assist users with travel planning, destination research, and itinerary management.
帮助用户进行旅行规划、目的地调研和行程管理。
Quick Start
快速开始
- Clarify the request - Confirm destination, dates, budget, and interests
- Research - Use browser with to search:
profile: "openclaw"- TikTok for trending local tips
- Instagram for events and spots
- Eventbrite for specific dates
- Google Maps for attractions
- Expedia for flights/hotels
- Take snapshots - Read pages with
snapshotFormat: "ai" - Compile - Create summary with activities, weather, costs
- Offer to email - Send itinerary via AgentMail
- 明确需求 - 确认目的地、日期、预算和兴趣偏好
- 调研信息 - 使用配置为的浏览器进行搜索:
profile: "openclaw"- TikTok:获取热门本地贴士
- Instagram:查找活动和景点
- Eventbrite:搜索特定日期的活动
- Google Maps:查询景点信息
- Expedia:搜索航班/酒店
- 页面快照 - 使用格式读取页面内容
snapshotFormat: "ai" - 整理汇总 - 生成包含活动安排、天气情况、费用明细的总结
- 发送邮件选项 - 通过AgentMail发送行程
Browser Usage
浏览器使用说明
Always use :
profile: "openclaw"json
{
"action": "navigate",
"targetUrl": "https://www.tiktok.com/search?q=fun%20things%20to%20do%20in%20tokyo",
"profile": "openclaw"
}No extension needed - OpenClaw manages the browser directly.
请始终使用配置:
profile: "openclaw"json
{
"action": "navigate",
"targetUrl": "https://www.tiktok.com/search?q=fun%20things%20to%20do%20in%20tokyo",
"profile": "openclaw"
}无需安装扩展 - OpenClaw直接管理浏览器。
Search URLs
搜索URL
TikTok (trending tips):
https://www.tiktok.com/search?q={query}Instagram (events):
https://www.instagram.com/explore/search/keyword/?q={query}Eventbrite (specific dates):
https://www.eventbrite.com/d/{city}/events-{date}/Google Maps (attractions):
https://www.google.com/maps/search/best+attractions+{city}Expedia (flights):
https://www.expedia.com/Flights-Search?trip=roundtrip&from={from}&to={to}&dates={date1},{date2}TikTok(热门贴士):
https://www.tiktok.com/search?q={query}Instagram(活动信息):
https://www.instagram.com/explore/search/keyword/?q={query}Eventbrite(特定日期活动):
https://www.eventbrite.com/d/{city}/events-{date}/Google Maps(景点查询):
https://www.google.com/maps/search/best+attractions+{city}Expedia(航班搜索):
https://www.expedia.com/Flights-Search?trip=roundtrip&from={from}&to={to}&dates={date1},{date2}Workflow
工作流程
- Navigate to URL with
action: "navigate" - Wait for load with
action: "act", request: { kind: "wait", timeMs: 5000 } - Read page with
action: "snapshot", snapshotFormat: "ai" - Extract relevant info from snapshot text
- 使用导航至目标URL
action: "navigate" - 使用等待页面加载完成
action: "act", request: { kind: "wait", timeMs: 5000 } - 使用读取页面内容
action: "snapshot", snapshotFormat: "ai" - 从快照文本中提取相关信息
Email Itinerary
发送行程邮件
Use AgentMail with - see references/agentmail.md
AGENTMAIL_API_KEY使用带有的AgentMail - 详见references/agentmail.md
AGENTMAIL_API_KEYResponse Format
回复格式
Keep concise with emojis for visual appeal:
- Weather summary
- TikTok/Instagram highlights
- Eventbrite events
- Attractions with addresses
- Cost estimates
End with: "More details or email this itinerary?"
内容简洁,使用表情符号提升视觉吸引力:
- 天气总结
- TikTok/Instagram热门内容
- Eventbrite活动信息
- 景点地址
- 费用预估
结尾添加:"需要更多细节或通过邮件发送此行程吗?"
Troubleshooting
故障排除
"Can't reach browser" - User runs:
openclaw browser startInstagram blocks access - Use TikTok and Eventbrite instead
Page won't load - Increase wait time to 5000ms+, try alternate URLs
"无法连接到浏览器" - 用户需执行:
openclaw browser startInstagram限制访问 - 改用TikTok和Eventbrite
页面加载失败 - 将等待时间增加至5000ms以上,尝试备用URL
Examples
示例
Day trip:
User: What's fun in DC on Friday?
Search TikTok for trending DC tips, Instagram for events,
Eventbrite for Friday activities. Snapshot each page.
Summarize top 3-5 options with addresses and costs.Full trip:
User: Plan a weekend in Miami under $500
Research Expedia for flights/hotels, Instagram for beach spots,
TikTok for food tips. Create 2-day itinerary. Offer to email.单日行程:
用户:周五在华盛顿特区有什么好玩的?
搜索TikTok获取华盛顿特区热门贴士,Instagram查找活动,
Eventbrite搜索周五的活动。对每个页面进行快照。
总结3-5个热门选项,包含地址和费用。完整行程:
用户:规划一个预算500美元以内的迈阿密周末行程
在Expedia上搜索航班/酒店,Instagram查找海滩景点,
TikTok获取美食贴士。生成2天行程。提供邮件发送选项。