← 返回 Skills 市场
liumeixin

China Highway Route

作者 liumeixin · GitHub ↗ · v1.0.6 · MIT-0
cross-platform ⚠ suspicious
167
总下载
0
收藏
0
当前安装
7
版本数
在 OpenClaw 中安装
/install china-highway-route
功能描述
中国高速路线规划助手,智能利用各地绕城高速免费政策为车主省钱
使用说明 (SKILL.md)

中国高速路线规划 Skill

智能规划驾车路线,充分利用各地绕城高速免费政策为车主节省过路费。

功能特性

  • 🔍 起点到终点路线规划
  • 💰 智能计算高速费用(利用绕城免费)
  • 🚗 限行政策查询(目的地限行提醒 + 用户车牌限号查询)
  • 🔢 限号查询(用户车牌在目的地的今明两天是否限号)
  • 🎯 推荐最优路线(利用绕城免费 + 避开限行)
  • 📱 生成高德地图导航链接

触发条件

用户表达以下意图时:

  • 询问从 A 地到 B 地的驾车路线
  • 询问高速费用、过路费
  • 包含"路线"、"怎么走"、"多少高速费"等关键词

使用流程

第一步:确认车牌信息

首次使用必须询问用户

  • "请问你的车牌是哪个城市的?"

如果用户未提供车牌,按以下优先级处理:

  1. 直接询问车牌所在地
  2. 如已知用户默认车牌(郑州/洛阳等),使用已知信息并告知用户

第二步:分析路线

  1. 获取起点、终点的经纬度坐标
  2. 查询高速路线方案
  3. 分析是否可以利用绕城高速免费政策
  4. 计算费用对比

第三步:输出方案

输出内容包括:

  • 路线分段详情(距离、费用)
  • 高速费总计
  • 节省金额
  • 如有优化方案,说明节省多少

常见绕城高速免费政策

重要:规划路线前建议先搜索最新政策,以下为2026年3月最新信息

郑州

郑州绕城高速

  • 免费路段:郑州绕城高速全段
  • 免费站点:新密站、少林站等
  • 适用范围:豫A、豫V牌照(9座以下),ETC全覆盖
  • 注意:豫V就是郑州牌照,视同豫A,享受郑州绕城高速免费政策

郑开兰高速

  • 免费路段:连霍高速花园路站至兰考站段
  • 免费站点:花园路站、柳林站、东三环北站、中牟站、开封西站、开封站、龙亭站、开封东站、兰考站、郑州新区站、圃田站、航海路站、郑庵站、姚家站、杏花营站、南苑站、兰考北站、兰考西站等
  • 适用范围:豫A、豫V、豫B牌照(9座以下),ETC全覆盖

河南省车牌代码

  • 郑州:豫A、豫V(豫V就是郑州牌照,视同豫A,享受郑州绕城高速免费政策
  • 洛阳:豫C
  • 开封:豫B
  • 南阳:豫R
  • 新乡:豫G
  • 焦作:豫H
  • 许昌:豫K
  • 平顶山:豫D
  • 安阳:豫E
  • 鹤壁:豫F
  • 濮阳:豫J
  • 漯河:豫L
  • 三门峡:豫M
  • 商丘:豫N
  • 周口:豫P
  • 驻马店:豫Q
  • 信阳:豫S
  • 济源:豫U

洛阳

洛阳绕城高速

  • 免费路段:由二广高速、连霍高速、宁洛高速组成闭环
  • 免费站点:洛阳站、孟津站、洛阳东站、瀍河站、关林站、伊滨站、龙门站、伊阙站、洛龙站、甘泉河站、高新区站、周山站、涧西站、吉利孟州站、会盟站、偃师站、孟津西站、济源东站、济源南站、小浪底南站、偃师东站等
  • 适用范围:豫C牌照(9座以下),ETC全覆盖

南阳

南阳绕城高速

  • 免费路段:S83兰南高速、G40沪陕高速、G55二广高速、S81商南高速组成闭环
  • 免费站点:南阳站、光武站、双铺站、翟庄站、卧龙站、遮山站、独山站
  • 适用范围:豫R牌照(9座以下),ETC全覆盖

开封

  • 豫B牌照享受郑开兰高速免费(见郑州部分)

规划思路

核心原则

  1. 查询车牌所在地:先确认用户车牌
  2. 查找绕城高速:确认该城市是否有绕城免费政策
  3. 设计换乘方案:在绕城高速两端下高速再上,利用免费段
  4. 费用对比:对比全程高速 vs 优化方案
  5. 【重要】多政策组合优化:当途经城市有多个免费政策时,需组合分析,不能只考虑单一政策

多政策组合案例

洛阳 → 开封(豫V/豫A车牌)

  • 方案1(单政策):洛阳站 → 郑州站 → 开封站,只用郑开兰免费 → ¥55
  • 方案2(组合优化):洛阳 → 沟赵站(连霍,¥38)→ 郑州东入口(郑州绕城,免费)→ 开封西站(郑开兰,免费)→ ¥38
  • 结论:组合使用郑州绕城免费 + 郑开兰免费,比只用郑开兰省¥17

规划步骤

  1. 列出起点到终点途径的所有城市及其免费政策
  2. 在各免费段两端设为主要换乘点
  3. 逐一计算各段费用,找出最优组合

政策缓存机制

为提高效率,使用政策缓存机制:

  1. 首次搜索:规划路线时,必须搜索途径城市的高速免费政策
  2. 记录日期:将搜索日期(YYYY-MM-DD)和搜索结论保存到本地文件
  3. 缓存有效期:下次再用时,对比当前日期与缓存日期:
    • 超过1个月:重新搜索最新政策
    • 不超过1个月:直接使用缓存结论

限行政策查询

规划路线时,还需要查询目的地的限行政策:

  1. 获取车牌:如果用户提供了车牌,直接使用
  2. 查询限行:搜索目的地城市的限行政策
  3. 输出提醒:告知用户限行规则

缓存文件

高速免费政策缓存:~/.openclaw/workspace/shared/skills/china-highway-route/policy-cache.json

格式:

{
  "高速免费": {
    "郑州": {
      "searchDate": "2026-03-21",
      "policy": "郑州绕城高速..."
    }
  },
  "限行": {
    "郑州": {
      "searchDate": "2026-03-21",
      "policy": "周一到周五..."
    }
  }
}

典型省钱方案

洛阳 → 郑州(郑州牌照)

  • 洛阳 → 沟赵站(连霍高速,收费)
  • 沟赵站 → 郑州东入口(绕城,免费)
  • 郑州东入口 → 目的地(地方道路)

洛阳 → 新密(郑州牌照)

  • 洛阳 → 伊阙站(地方道路)
  • 伊阙站 → 少林站(宁洛高速,收费)
  • 少林站 → 新密站(郑少高速,绕城免费)
  • 新密站 → 目的地(地方道路)

输出格式

=== 路线规划 ===

【起点】→【终点】
【车牌】牌照

⚠️ 高速免费:享受绕城高速免费需安装ETC
⚠️ 限行政策:【目的地】限行说明
⚠️ 限号通知:【豫X】在【目的地】今日/明日【限号/不限号】【限号范围/时间】

分段路线:
1. xxx → xxx: xxkm, ¥xx (高速/地方)
2. xxx → xxx: xxkm, ¥xx (高速/地方)
...

高速费总计: ¥xx
对比全程高速 ¥xx,省 ¥xx 🎉

高德 API 调用

使用高德 Web 服务 API 进行路线规划:

地理编码

https://restapi.amap.com/v3/geocode/geo?address={地址}&key={API_KEY}

驾车路线

https://restapi.amap.com/v3/direction/driving?origin={经度,纬度}&destination={经度,纬度}&key={API_KEY}

途径点路线

https://restapi.amap.com/v3/direction/driving?origin={起点}&destination={终点}&waypoints={途径点}&key={API_KEY}

配置

如需配置高德 API Key:

  • 环境变量:AMAP_WEBSERVICE_KEY
  • 或直接在代码中使用

注意事项

  • 绕城免费政策可能有变化,建议以最新官方信息为准
  • 免费政策通常只针对本地车牌,外地车牌不享受
  • 规划时优先考虑用户体验,不仅看费用
安全使用建议
Before installing or enabling this skill: 1) Confirm you will (manually) provide an AMAP_WEBSERVICE_KEY and verify how the agent will store/use it — SKILL.md references this env var but the skill metadata does not declare it. 2) Ask whether your agent/runtime will actually have node on PATH and why node is listed as required for a text-only skill; if unnecessary, it's safer to remove that requirement. 3) Be aware the skill asks for license-plate information (personal data) and may reuse 'known' defaults; clarify whether the agent will persist any user-identifying info and where. 4) Verify the cache file location (~/.openclaw/…/policy-cache.json) and confirm you are comfortable policy lookups and their timestamps are stored there. If any of these are unacceptable or unclear, do not enable the skill until the maintainer fixes the metadata (declare AMAP key requirement) and documents privacy/storage behavior.
功能分析
Type: OpenClaw Skill Name: china-highway-route Version: 1.0.6 The skill bundle provides instructions and metadata for a highway route planning assistant focused on Chinese toll-free policies. It utilizes the Amap (高德) API for navigation and implements a local caching mechanism for policy data in `policy-cache.json`. While it requests user license plate information, this is contextually necessary for its stated purpose of calculating plate-specific toll exemptions, and no evidence of malicious intent or data exfiltration was found.
能力评估
Purpose & Capability
The skill's name/description and the runtime instructions consistently target route planning and using Amap (高德) APIs to compute costs and exploit local free-ring-road policies — that is coherent. However, the registry metadata requires the 'node' binary even though the skill is instruction-only and contains no code files; that requirement appears disproportionate or leftover metadata and is not justified by the SKILL.md.
Instruction Scope
SKILL.md stays within route-planning scope: geocoding, driving-route queries to Amap, computing cost comparisons, and generating navigation links. It explicitly instructs the agent to ask for the user's license-plate city and to cache fetched policy data to a local file. The instructions do not tell the agent to read unrelated system files, but the phrasing about using any 'known user default plate' implies the agent may reuse stored user profile data — that has privacy implications and is underspecified.
Install Mechanism
There is no install spec and no code files; the skill is instruction-only, so nothing new is written to disk by an installer. This is the lower-risk install model. The only persistence described is the skill's own policy cache file written at runtime (see persistence_privilege).
Credentials
SKILL.md shows the skill uses Amap Web Service and documents the environment variable AMAP_WEBSERVICE_KEY, but the registry metadata lists no required env vars or primary credential. That mismatch is important: the skill depends on an API key for network calls but does not declare it. Additionally, the skill asks for the user's license-plate city (sensitive/personal data) and suggests using 'known' defaults — storage/handling of this personal info is not declared.
Persistence & Privilege
The instructions require caching policy search results to ~/.openclaw/workspace/shared/skills/china-highway-route/policy-cache.json with a one-month TTL. Writing to a skill-specific cache inside the workspace is reasonable for this purpose, but users should be aware that policy data and possibly derived user context could be persisted. The skill does not request system-wide privileges and always:false, so it is not force-included.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install china-highway-route
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /china-highway-route 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
Version 1.0.6 - 补充了“多政策组合优化”核心原则,支持同时组合多条高速免费政策,提升省钱路线规划准确性 - 添加“多政策组合案例”与详细规划步骤说明,帮助用户理解组合优化效果 - 原输出格式、API 用法、缓存策略无变动 - 仅文档(SKILL.md)改进,无程序功能变更
v1.0.5
- 补充并澄清了河南省车牌代码,明确豫V属于郑州牌照,视同豫A,可享受郑州绕城高速免费政策 - 更新“常见绕城高速免费政策”中郑州部分,增加豫V说明,并精简说明结构 - 文档其余部分保持一致,无功能逻辑修改
v1.0.4
新增用户车牌限号查询功能
v1.0.3
新增限行政策查询功能
v1.0.2
输出时增加ETC提醒
v1.0.1
新增政策缓存机制,添加郑州/开封/洛阳/南阳绕城高速免费政策
v1.0.0
Initial release of china-highway-route. - Intelligent driving route planner for China, leveraging local ring highway toll exemption policies to help save money. - Calculates routes and compares toll costs, recommending optimized segments using free ring highways when eligible. - Supports queries for start/end points, toll cost estimates, and generates Gaode Map navigation links. - Prompts users to input their license plate city to determine eligibility for local toll waivers. - Provides detailed, section-by-section route breakdown with cost and potential savings.
元数据
Slug china-highway-route
版本 1.0.6
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 7
常见问题

China Highway Route 是什么?

中国高速路线规划助手,智能利用各地绕城高速免费政策为车主省钱. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 167 次。

如何安装 China Highway Route?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install china-highway-route」即可一键安装,无需额外配置。

China Highway Route 是免费的吗?

是的,China Highway Route 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

China Highway Route 支持哪些平台?

China Highway Route 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 China Highway Route?

由 liumeixin(@liumeixin)开发并维护,当前版本 v1.0.6。

💬 留言讨论