← Back to Skills Marketplace
517
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install traffic-data
Description
Query traffic data - real-time road conditions, traffic incidents, SCATS intersection data
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install traffic-data - After installation, invoke the skill by name or use
/traffic-data - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Traffic-Data?
Query traffic data - real-time road conditions, traffic incidents, SCATS intersection data. It is an AI Agent Skill for Claude Code / OpenClaw, with 517 downloads so far.
How do I install Traffic-Data?
Run "/install traffic-data" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Traffic-Data free?
Yes, Traffic-Data is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Traffic-Data support?
Traffic-Data is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Traffic-Data?
It is built and maintained by TEweitao (@teweitao); the current version is v1.0.0.
More Skills