Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

smart-route智能路线

Agent Skill

smart-route 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

46,476

周安装

1,976

GitHub Stars

2

下载量

16,282
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:smart-route(智能路线)
来源仓库:https://github.com/vemec/smart-route
安装命令:
openclaw skills install smart-route
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install smart-route

简介

使用 Google Routes API 计算交通感知路线、行程时间以及地点之间的距离。当用户询问“到 X 的路况”、“到 Y 需要多长时间”、“到 Z 的最佳路线”或“行驶时间”时使用。返回包含持续时间、距离和直接 Google 地图导航链接的 JSON。

SKILL.md

name
smart-route
description
Calculate traffic-aware routes, travel times, and distances between locations using Google Routes API. Use when the user asks for "traffic to X", "how long to get to Y", "best route to Z", or "drive time". Returns JSON with duration, distance, and a direct Google Maps navigation link.
metadata
openclaw
emoji
🚦
requires
bins
env

Google Routes Calculator

Get real-time traffic and routing information via Google Routes API (v2).

When to use

Use this skill immediately when the user asks:

  • "How is the traffic to X?"
  • "How long does it take to drive to Y?"
  • "Give me the route to Z."
  • "What's the distance between A and B?"

Usage

This skill executes a Node.js script. It requires an API Key with "Routes API" enabled.

Command

node skills/smart-route/scripts/get_route.js --origin "Origin Address" --destination "Destination Address" [--mode DRIVE|BICYCLE|WALK]

Output Format

The script returns a JSON object:

{
  "origin": "Union Square, San Francisco, CA",
  "destination": "Golden Gate Bridge, San Francisco, CA",
  "mode": "DRIVE",
  "duration": "30 min",
  "distance": "13.5 km",
  "traffic_duration_seconds": 1835,
  "route_link": "https://www.google.com/maps/dir/?api=1&origin=...&destination=...&travelmode=driving"
}

Examples

  • Check traffic in San Francisco:

node skills/smart-route/scripts/get_route.js --origin "Union Square, San Francisco, CA" --destination "Golden Gate Bridge, San Francisco, CA"

  • Drive time in Los Angeles:

node skills/smart-route/scripts/get_route.js --origin "Los Angeles, CA" --destination "Santa Monica, CA" --mode DRIVE

Configuration

Privacy & Security

  • Scope: This skill only communicates with routes.googleapis.com.
  • Data Handling:

- It does not read local files or other environment variables besides the ones specified below. - PII Notice: User-supplied origin and destination addresses are sent to Google Routes API and printed to stdout in the JSON response. Users should consider these addresses as potentially sensitive information (PII).

  • Credentials: API keys must be provided via environment variables. Providing keys via CLI flags is disabled for security reasons (to avoid exposing secrets in process lists).

API Credentials

This skill requires a Google Cloud API Key with the Routes API enabled.

  • Variable: GOOGLE_ROUTES_API_KEY
  • Detection: The skill will check for this environment variable at runtime.
  • Strict Mode: If the variable is missing, the script will exit with an error rather than falling back to other keys, ensuring no accidental usage of incorrect credentials.

Setup Instructions

  1. Open the Google Cloud Console.
  2. Enable the Routes API for your project.
  3. Generate an API Key under Credentials.
  4. Export the key to your environment:
    export GOOGLE_ROUTES_API_KEY="your_api_key_here"

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.13%
按下载量换算13,535

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills