← 返回 Skills 市场
517
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install traffic-data
功能描述
Query traffic data - real-time road conditions, traffic incidents, SCATS intersection data
安全使用建议
This skill appears to be a simple traffic/query tool, but there are inconsistencies you should resolve before installing: (1) the README and package.json expect separate scripts (road.js, incident.js, scats.js) while the repo only includes index.js — confirm which files will run and test locally; (2) the registry marks three env vars as required but the program needs only one map key and SCATS only for SCATS queries (which is not implemented) — avoid supplying more credentials than necessary; (3) if you install, run npm install from a trusted environment and review package-lock.json dependencies; (4) consider using API keys with minimal privileges and not reusing high-privilege keys; (5) if you need strong assurance, ask the publisher for corrected SKILL.md or source that matches package.json and verify the SCATS implementation before providing a SCATS API key.
功能分析
Type: OpenClaw Skill
Name: traffic-data
Version: 1.0.0
The OpenClaw skill 'traffic-data' is benign. It is designed to query traffic data from legitimate map APIs (Gaode Map) using `axios`. API keys are securely retrieved from environment variables, and user inputs are passed as parameters to the `axios.get` method, which handles URL encoding, preventing command injection. The `SKILL.md` provides clear, non-malicious instructions for the AI agent, and there is no evidence of data exfiltration, persistence mechanisms, or other harmful behaviors in `index.js` or its dependencies.
能力评估
Purpose & Capability
Name/description align with traffic/map and SCATS data. Requiring node and map/SCATS API keys is reasonable for this purpose. However, the registry lists BAIDU_MAP_KEY, GAODE_MAP_KEY, and SCATS_API_KEY as all required even though the code only needs one map key for map queries and SCATS only for SCATS queries.
Instruction Scope
SKILL.md instructs running files at paths like skills/traffic-data/road.js and references separate road.js/incident.js/scats.js scripts. The package.json scripts point to road.js/incident.js/scats.js as well. The provided codebase contains only index.js (the main program) which expects subcommands rather than separate files. This mismatch between documentation and actual files will cause confusion or runtime errors. The SKILL.md also describes BAIDU/GAODE as optional but registry metadata marks them required—another inconsistency. No instructions attempt to read unrelated system files or exfiltrate secrets.
Install Mechanism
No install script is provided (instruction-only install). Dependencies are standard npm packages (axios, etc.) with package-lock referencing npm registry artifacts. No external download URLs or extract steps are used. The only potential friction: no explicit install step is declared, so maintainers/operators must run npm install to satisfy dependencies.
Credentials
The skill declares BAIDU_MAP_KEY, GAODE_MAP_KEY, and SCATS_API_KEY as required. The code only needs one map API key (GAODE or BAIDU) for road/incident queries and SCATS_API_KEY only for the SCATS endpoint (which is not implemented yet). Requiring all three up-front is disproportionate and could lead to unnecessary exposure of multiple API keys.
Persistence & Privilege
Skill has no elevated persistence flags (always:false) and does not modify other skills or system-wide config. It runs as a normal node script and does not request additional privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install traffic-data - 安装完成后,直接呼叫该 Skill 的名称或使用
/traffic-data触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the traffic-data skill.
- Provides commands to query real-time road conditions, traffic incidents, and SCATS intersection data.
- Supports integration with Baidu Map, Gaode Map, and SCATS APIs via environment variables.
- Includes detailed setup and usage instructions in SKILL.md.
元数据
常见问题
Traffic-Data 是什么?
Query traffic data - real-time road conditions, traffic incidents, SCATS intersection data. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 517 次。
如何安装 Traffic-Data?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install traffic-data」即可一键安装,无需额外配置。
Traffic-Data 是免费的吗?
是的,Traffic-Data 完全免费(开源免费),可自由下载、安装和使用。
Traffic-Data 支持哪些平台?
Traffic-Data 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Traffic-Data?
由 TEweitao(@teweitao)开发并维护,当前版本 v1.0.0。
推荐 Skills