← 返回 Skills 市场
1498
总下载
2
收藏
2
当前安装
5
版本数
在 OpenClaw 中安装
/install smart-route
功能描述
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.
安全使用建议
This skill appears coherent and implements only the documented Google Routes API calls, but consider the following before installing:
- Provide a dedicated Google API key with the Routes API enabled and restrict that key (by referrer, IP, or API restrictions) to limit blast radius and accidental billing.
- The script prints the origin/destination (PII) to stdout; avoid using sensitive addresses if you need privacy.
- Keep the API key in a secure environment variable (as recommended) and avoid passing it on the CLI to prevent exposure in process lists.
- Review and test the script in your environment (it has a small parsing assumption for duration) before trusting it in production.
- If you allow autonomous agent invocation, monitor usage and billing (autonomous calls can consume quota).
功能分析
Type: OpenClaw Skill
Name: smart-route
Version: 1.0.4
The skill bundle is benign. The `SKILL.md` clearly outlines the skill's purpose, required environment variables, and security considerations, without any prompt injection attempts against the agent. The `get_route.js` script correctly implements the described functionality, reading the `GOOGLE_ROUTES_API_KEY` from environment variables and making HTTPS requests to `routes.googleapis.com`. User inputs are safely parsed from `process.argv` and embedded into a JSON request body, preventing direct shell injection within the script. There is no evidence of data exfiltration beyond the stated purpose, unauthorized execution, or other malicious behaviors.
能力评估
Purpose & Capability
Name/description match the actual implementation: a Node.js script that calls routes.googleapis.com. The only required binary (node) and required env var (GOOGLE_ROUTES_API_KEY) are appropriate for this functionality.
Instruction Scope
SKILL.md instructs running the included script with origin/destination and documents PII considerations. The script only sends addresses to Google Routes API and writes results to stdout; it does not read other files, other env vars, or contact other endpoints.
Install Mechanism
No install spec (instruction-only) and a single small JS file are present. The skill assumes node is already installed; there are no downloads or archive extraction steps.
Credentials
Only GOOGLE_ROUTES_API_KEY is required, which is proportional and expected. No unrelated credentials or config paths are requested.
Persistence & Privilege
always is false and the skill does not request persistent system-wide changes or write other skills' configs. Autonomous invocation is allowed (default) but the skill's scope is limited to the Routes API.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smart-route - 安装完成后,直接呼叫该 Skill 的名称或使用
/smart-route触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
- Added a privacy notice explaining that origin and destination addresses are sent to Google and printed in JSON, marking them as PII.
- Updated metadata to explicitly require the presence of the Node.js binary.
v1.0.3
- Added a Privacy & Security section clarifying the skill only accesses routes.googleapis.com and restricts credential input to environment variables.
- Emphasized that API keys cannot be passed via CLI flags, reducing risk of exposing secrets.
- No changes to code or core functionality; documentation only.
v1.0.2
- Updated skill metadata to use the "openclaw" property for emoji and environment variable requirements.
- Removed redundant "primary_credential" and "requires" fields from the top-level metadata.
v1.0.1
- Added metadata field primary_credential: GOOGLE_ROUTES_API_KEY for clarity on required credentials.
- Updated usage examples to reference major US cities (San Francisco, Los Angeles) for better relevance.
- Expanded the Configuration section with detailed API credential setup instructions and strict environment variable detection.
- The skill now enforces runtime checking for the GOOGLE_ROUTES_API_KEY variable and exits on missing credentials.
v1.0.0
- Initial release of smart-route skill.
- Calculates real-time, traffic-aware routes, travel times, and distances between locations using the Google Routes API.
- Returns JSON with duration, distance, and a direct Google Maps navigation link.
- Supports multiple travel modes (DRIVE, BICYCLE, WALK).
- Requires configuration of the GOOGLE_ROUTES_API_KEY environment variable.
元数据
常见问题
SmartRoute - Google Routes Calculator 是什么?
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1498 次。
如何安装 SmartRoute - Google Routes Calculator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-route」即可一键安装,无需额外配置。
SmartRoute - Google Routes Calculator 是免费的吗?
是的,SmartRoute - Google Routes Calculator 完全免费(开源免费),可自由下载、安装和使用。
SmartRoute - Google Routes Calculator 支持哪些平台?
SmartRoute - Google Routes Calculator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 SmartRoute - Google Routes Calculator?
由 vemec(@vemec)开发并维护,当前版本 v1.0.4。
推荐 Skills