← 返回
未分类

Map Route Reader

直接读取高德 / 百度地图上的真实路线结果,返回用户能照着走的公交、地铁、打车或步行方案。适用于用户问怎么从 A 到 B、哪条线路更快、哪条路线更省事、打车是不是更方便、是否有更优替代路线时使用。重点不是给模糊估计,而是尽量给真实可执行路线。
直接读取高德/百度地图的真实路线,返回可执行的公交、地铁、打车或步行方案。适用于询问从A到B的最快、最省事路线,或打车是否更方便、是否有更优替代方案时使用。重点是提供真实可执行的路线,而非模糊估计。
wuyunting555 wuyunting555 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 537
下载
💾 0
安装
1
版本
#latest

概述

Map Route Reader

产品定位

把“地图路线查询”变成更像结果型产品的 skill:不是只说个大概时间,而是尽量把真实路线读出来,整理成用户可以立刻参考的出行方案。

一句话卖点

直接读取高德 / 百度地图上的真实路线结果,优先返回用户能照着走的公交、地铁、打车或步行方案。

为什么更有下载欲望

很多同类路线能力看起来很强,但实际要:

  • 配 API
  • 补配置
  • 自己拼接流程
  • 最后还不一定能直接给出可走路线

这个 skill 主打的是:

  • 尽量直接可用
  • 优先读真实地图结果
  • 优先给可执行路线,不给空泛判断
  • 用户问哪条线更好时,会真的把两条路线拉出来做对比
  • 重点不是给模糊估计,而是给可直接拿去用的路线参考

你装它,想得到的是什么

  • 少一点“大概多久”的废话
  • 多一点“从哪上车、哪换乘、哪下车”的真实结果
  • 问打车 / 地铁 / 公交哪个更省事时,得到能直接参考的答案

Use this skill when the user asks for:

  • how to get from A to B
  • public transit routes
  • driving time
  • walking time
  • which station to transfer at
  • whether taxi is faster
  • whether a specific alternate route/line would be better
  • route comparisons such as “走 14 号线会不会更好”

Goal

Return a route the user can actually follow.

Do not stop at vague estimates when a real route can be extracted.

Priority:

  1. exact route from a real map result
  2. if the user proposes an alternate route/line, extract that route too and compare side by side
  3. if exact route cannot be extracted, explain precisely where extraction failed and switch to the user-browser map tab via Browser Relay
  4. only as a temporary fallback, give a clearly-labeled estimate

Preferred workflow

0) For Amap, prefer uriapi route pages with lnglat when coordinates are available

If you can get origin/destination coordinates, prefer opening a direct Amap route URL like:

https://ditu.amap.com/dir?type=bus&policy=2&from[lnglat]=&from[name]=...&to[lnglat]=&to[name]=...&src=uriapi&innersrc=uriapi&dateTime=now

Why:

  • this bypasses wrong default city context
  • the route card often renders directly in page text
  • total duration / walking distance / fare / line names can often be extracted from document.body.innerText

1) Try normal read first

  • Use browser on public map pages first.
  • Prefer Amap or Baidu Maps for China routes.
  • Try direct route pages with origin/destination query params.
  • If the page exposes the full route card, extract:
  • total time
  • total walking time if visible
  • number of transfers
  • station names / line names
  • final arrival station or walking segment

1.5) On Amap route pages, extract hidden detail siblings

After the recommended route card renders, the full step-by-step transit detail may exist in the hidden sibling node right after the current .planTitle (for example an ol.p_route).

Do not stop at total duration. Read that hidden detail block and extract:

  • walking segment distance and minutes
  • line name and direction
  • boarding station and exit/gate info
  • number of stops
  • transfer station
  • alighting station and exit number
  • final walking segment to destination
  • approximate duration of each transit segment when the page exposes enough information to infer it

2) If the map page needs interaction

If the site asks to confirm the start/end place, or the route card is hidden behind dynamic UI:

  • keep using browser
  • interact to confirm the correct start/end point
  • prefer the first recommended public transit route unless the user asked for fastest/least walking/least transfers

3) For China map sites, prefer the user's real map tab when city context matters

For Amap/Baidu route pages, the isolated browser may resolve the wrong city or fail to expand the route card.

If the page shows the wrong city, cannot resolve start/end places, or keeps asking to choose the correct place, switch early to the user's map tab via Browser Relay and read the live route result there.

4) If normal browser still cannot read the real route

Switch to the user’s browser tab via Browser Relay.

  • Ask the user to open the target map route page in Chrome.
  • Ask them to click Browser Relay on the exact map tab.
  • Then read the real route card from that tab.

Comparison rule

If the user asks whether a specific route/line would be better, for example:

  • “走 14 号线会不会更好”
  • “打车会不会更方便”
  • “xx 这么走是不是更好”

then you must:

  1. keep the current recommended route
  2. extract the user-specified route too
  3. present a side-by-side comparison

Do not guess. Do not answer from intuition alone.

Do not say “应该不会” or “大概率更慢” unless the alternate route has been pulled out and compared.

Output format

For a single route, return in this structure:

  • 起点:...
  • 终点:...
  • 方式:公交 / 地铁 / 打车 / 步行
  • 预计总时长:...
  • 推荐路线:...
  • 换乘:...
  • 每段步骤:...
  • 下车后:...
  • 备注:如有不确定,明确写出来

If route detail is available, include:

  • 上车站
  • 下车站
  • 换乘站
  • 出口
  • 每段步行距离与时间
  • 每段乘车站数
  • 每段乘车大约多久

For a route comparison, return side-by-side:

  • 方案 A
  • 方案 B
  • 总时长
  • 步行距离
  • 换乘次数
  • 线路结构
  • 哪个更快 / 哪个更省事 / 哪个更少走路

Rules

  • Do not stop at “I’ll check” or “probably around ...” unless exact extraction has genuinely failed.
  • If exact extraction failed, say which step failed.
  • For map queries, a user-visible answer should try to be route-usable.
  • If the user corrected the place name, restart from the corrected place immediately.
  • If the user corrected the place name, never reuse the old route result as if it applied to the corrected place.
  • For comparison questions, do not brain-fill the alternate route. Pull it out, then compare.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-03 05:16 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Direct WeChat Article Reader

wuyunting555
直接读取微信公众号文章正文的可执行 skill。适用于用户提供 mp.weixin.qq.com链接并要求读取正文、摘录内容、提取标题或总结的场景。相比仅提供方法或提示词的同类 skill,本 skill 自带 setup、run 和 Pl
★ 0 📥 547

Skill Install Guard|技能安装守门员

wuyunting555
执行五步受保护技能安装,包括存在性、本地状态、风险、执行及安装后验证。
★ 0 📥 398

OpenClaw Memory System

wuyunting555
让 OpenClaw 真的记住用户偏好、事实和上下文的长期记忆 skill。适用于你受不了每次新会话都要重复背景、希望 agent 能跨会话记住信息、并且想直接拥有可搜索、可持久化、可自动注入的记忆系统时使用。不是手工记笔记,而是一个已经做
★ 0 📥 336