travel-companion

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Travel Companion

旅行助手

Assist users with travel planning, destination research, and itinerary management.
帮助用户进行旅行规划、目的地调研和行程管理。

Quick Start

快速开始

  1. Clarify the request - Confirm destination, dates, budget, and interests
  2. Research - Use browser with
    profile: "openclaw"
    to search:
    • TikTok for trending local tips
    • Instagram for events and spots
    • Eventbrite for specific dates
    • Google Maps for attractions
    • Expedia for flights/hotels
  3. Take snapshots - Read pages with
    snapshotFormat: "ai"
  4. Compile - Create summary with activities, weather, costs
  5. Offer to email - Send itinerary via AgentMail
  1. 明确需求 - 确认目的地、日期、预算和兴趣偏好
  2. 调研信息 - 使用配置为
    profile: "openclaw"
    的浏览器进行搜索:
    • TikTok:获取热门本地贴士
    • Instagram:查找活动和景点
    • Eventbrite:搜索特定日期的活动
    • Google Maps:查询景点信息
    • Expedia:搜索航班/酒店
  3. 页面快照 - 使用
    snapshotFormat: "ai"
    格式读取页面内容
  4. 整理汇总 - 生成包含活动安排、天气情况、费用明细的总结
  5. 发送邮件选项 - 通过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

工作流程

  1. Navigate to URL with
    action: "navigate"
  2. Wait for load with
    action: "act", request: { kind: "wait", timeMs: 5000 }
  3. Read page with
    action: "snapshot", snapshotFormat: "ai"
  4. Extract relevant info from snapshot text
  1. 使用
    action: "navigate"
    导航至目标URL
  2. 使用
    action: "act", request: { kind: "wait", timeMs: 5000 }
    等待页面加载完成
  3. 使用
    action: "snapshot", snapshotFormat: "ai"
    读取页面内容
  4. 从快照文本中提取相关信息

Email Itinerary

发送行程邮件

Use AgentMail with
AGENTMAIL_API_KEY
- see references/agentmail.md
使用带有
AGENTMAIL_API_KEY
的AgentMail - 详见references/agentmail.md

Response 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 start
Instagram blocks access - Use TikTok and Eventbrite instead
Page won't load - Increase wait time to 5000ms+, try alternate URLs
"无法连接到浏览器" - 用户需执行:
openclaw browser start
Instagram限制访问 - 改用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天行程。提供邮件发送选项。