travel-route-planner
v1.0.0根据用户输入的多个目的地,生成推荐的旅行路线规划。当用户需要提供多城市旅行路线建议、行程规划、交通方式推荐时使用此技能。适用于自由行规划、多目的地旅行、跨区域旅行等场景。
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name and description match the included files and instructions. The SKILL.md and the small Python script implement route planning logic and reference expected integrations (a 'travel' skill and web_search) that are appropriate for the stated purpose.
Instruction Scope
Runtime instructions stay within travel planning: accept destinations, call the travel skill for tickets/hotels/attractions, and use web_search for weather and traffic. There are no instructions to read unrelated system files, access environment secrets, or transmit data to unexpected endpoints.
Install Mechanism
Instruction-only skill with a small local Python helper script. No install spec, no downloads or packaged dependencies. Nothing writes arbitrary binaries or fetches remote archives.
Credentials
No required environment variables, credentials, or config paths are declared. The integration points (travel skill and web_search) are plausible and explain why external data would be used; the skill itself does not request secrets.
Persistence & Privilege
always:false and user-invocable:true. The skill does not request persistent or elevated system privileges, nor does it modify other skills' configs.
Assessment
This skill appears coherent and lightweight. Before installing, confirm that the referenced 'travel' skill and the web_search tool are trusted and understand whether they require API keys or booking permissions (those credentials would be managed by those tools, not this skill). Note that the included Python script is local and only formats/structures suggestions — actual live prices/times come from integrations, so verify those integrations' permissions and accuracy. If you expect automatic bookings, check the travel skill's behavior; this skill itself does not perform bookings or request secrets.Like a lobster shell, security has layers — review code before you run it.
latest
旅行路线规划器
概述
此技能帮助用户根据输入的多个目的地,生成合理的旅行路线规划。它会综合考虑地理位置、交通方式、时间安排等因素,提供最优的路线建议。
使用场景
- 用户需要规划多城市旅行路线
- 用户希望了解不同目的地之间的最佳交通方式
- 用户需要完整的行程安排建议
- 用户想要优化旅行路线以节省时间和成本
工作流程
1. 接收目的地列表
用户提供一个或多个目的地,例如:
- "帮我规划北京→上海→广州的路线"
- "我想去成都、重庆、西安,怎么安排比较好?"
- "计划从杭州出发,经过苏州、南京,最后到上海"
2. 分析目的地信息
使用以下工具获取相关信息:
调用travel技能:
- 查询各目的地之间的机票/高铁信息
- 获取酒店住宿建议
- 了解景点门票和开放时间
使用web_search工具:
- 查询当地天气情况
- 获取最新交通信息
- 查找旅游攻略和建议
3. 生成路线规划
基于收集的信息,生成包含以下内容的路线规划:
- 路线顺序:按最优顺序排列的目的地列表
- 交通建议:每段路程的推荐交通方式和时间
- 时间安排:每个目的地的建议停留时间
- 预算估算:整体旅行的费用预估
- 实用提示:季节建议、预订提醒等
4. 输出格式化结果
将路线规划以清晰易读的格式呈现给用户,包括:
- 🗺️ 路线图示
- 🚄 交通方式
- 🏨 住宿建议
- 💰 预算估算
- 💡 实用提示
核心脚本
route_planner.py
位置:scripts/route_planner.py
功能:路线规划的核心逻辑处理
用法:
python scripts/route_planner.py 目的地1 目的地2 目的地3
示例:
python scripts/route_planner.py 北京 上海 广州
参考文档
travel_tips.md
位置:references/travel_tips.md
内容:旅行路线规划的建议模板,包括:
- 路线规划原则
- 常见路线模式
- 实用提示
- 技能使用指南
与其他技能的集成
travel技能
此技能会调用travel技能来获取:
- 机票搜索和预订信息
- 酒店搜索和预订信息
- 景点门票信息
- 交通方式查询
web_search工具
用于补充获取:
- 实时天气信息
- 交通路况
- 旅游攻略
- 当地资讯
示例输出
🗺️ 旅行路线规划结果
==================================================
📍 路线顺序:
1. 北京
2. 上海
3. 广州
📊 总目的地数:3
💡 路线建议:
• 北京 → 上海
推荐高铁(约4.5小时)或飞机(约2小时)
• 上海 → 广州
推荐飞机(约2.5小时)或高铁(约7小时)
💰 预算估算:
- 交通费用:约2000-3000元
- 住宿费用:约1500-2500元
- 餐饮娱乐:约1000-1500元
- 总计:约4500-7000元
💡 实用提示:
- 建议在北京停留2-3天
- 上海建议停留2天
- 广州建议停留1-2天
- 提前预订可享受更多优惠
注意事项
- 目的地数量:建议不超过10个目的地,过多会导致路线复杂
- 时间预留:每个目的地至少预留1天时间
- 季节因素:考虑不同季节的最佳旅行时间
- 预算控制:根据用户预算调整交通和住宿选择
- 灵活性:提供备选方案以应对突发情况
Comments
Loading comments...
