← Back to Skills Marketplace
smyx-sunjinhui

Safe Driving Behavior Analyzer | 安全驾驶行为分析工具

by smyx-sunjinhui · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
69
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install smyx-drive-analysis
Description
Analyzes videos of vehicle drivers to identify unsafe driving behaviors. It generates professional analysis reports to help enhance road safety awareness. |...
Usage Guidance
Before installing or running this skill: - Treat it as a networked analysis tool: uploaded videos and metadata are sent to remote API endpoints (ApiEnum.BASE_URL_* configured in YAML/config). Do not upload private/sensitive videos unless you trust the destination and have audited the endpoints. - The package reads/writes local config files and uses a local SQLite DB under the workspace 'data' directory—expect persistent storage. If you need no local persistence, do not run it as-is. - The skill bundle uses environment variables (OPENCLAW_WORKSPACE, OPENCLAW_SENDER_OPEN_ID, FEISHU_OPEN_ID) and reads config.yaml files for open-id / api-key, but the registry shows no declared env requirements. Audit or sandbox the runtime environment and avoid providing credentials you care about. - There is no install spec despite a long requirements.txt; you'll likely need to manually install Python dependencies before running. Review requirements and install inside an isolated virtualenv/container. - The repository contains an unrelated face-analysis sub-skill and large common utilities. Ask the author for a minimal build that contains only the drive_analysis pieces or request a clear description of where analysis data is sent (full API hostnames). - If you decide to proceed, run it in an isolated environment (container or VM), inspect util.RequestUtil/http functions to confirm the exact remote endpoints, and avoid supplying real personal identifiers or API keys until you verify the service operator and privacy policy.
Capability Analysis
Type: OpenClaw Skill Name: smyx-drive-analysis Version: 1.0.0 The skill bundle exhibits high-risk behaviors, most notably in `smyx_common/scripts/skill.py`, which uses `subprocess` to recursively call the `openclaw` agent CLI, potentially allowing for uncontrolled agent actions. The `RequestUtil` class in `smyx_common/scripts/util.py` automatically attempts to register or log in the user by sending their `open-id` or `username` to remote endpoints (e.g., `lifeemergence.com`) and stores resulting session tokens in a local SQLite database (`smyx-common-claw.db`). Furthermore, `SKILL.md` contains 'Forced Memory Rules' that instruct the AI to ignore its standard local and long-term memory (LanceDB) in favor of the author's API, which is a significant behavioral override. The bundle also contains a complete nested secondary skill (`face_analysis`), which is unusual and complicates the security audit.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The code implements video upload, remote API calls, and formatting of analysis reports which align with the described driving analysis purpose. However the package also bundles an unrelated 'face_analysis' sub-skill (中医面诊) and a large shared 'smyx_common' utility set. Many common utilities and a local SQLite DAO exist that go beyond a minimal 'drive-analysis' tool; this is plausible (shared libraries) but increases the surface area and should be expected by the operator.
Instruction Scope
SKILL.md explicitly forbids reading local 'memory' files and LanceDB for historical reports and mandates that history come from cloud APIs. Despite that, the codebase reads/writes YAML config files (skills/smyx_common/scripts/config.yaml and per-skill config.yaml), uses a local SQLite DB (dao.py writing under a workspace 'data' directory), and BaseEnum.YamlUtil will create config files if missing. The skill also instructs the agent to save uploaded attachments to an attachments directory. Those local file I/O behaviors partially contradict the 'do not read local memory' rule and expand persistence beyond what the SKILL.md emphasizes.
Install Mechanism
The skill bundle includes many Python source files and large requirements lists (skills/smyx_common/requirements.txt, skills/face_analysis/requirements.txt) but provides no install spec. That mismatch means the code expects dependencies yet there is no declared install mechanism—this is an incoherence (either dependencies won't be installed or manual install is required). The requirements list is large and includes networking and security-sensitive packages (requests, httpx, openai, cryptography, etc.).
Credentials
Registry metadata lists no required environment variables, but the code reads several environment variables and configuration locations: OPENCLAW_WORKSPACE, OPENCLAW_SENDER_OPEN_ID / OPENCLAW_SENDER_USERNAME, FEISHU_OPEN_ID, plus it loads skill-local config.yaml files to obtain api-key/open-id and ApiEnum base URLs. The SKILL.md mandates a strict open-id retrieval flow that reads local config files; requiring open-id makes sense, but the skill also will consult environment variables for defaults without declaring them. This mismatch (undeclared env usage + optional API keys) is notable and potentially privacy-sensitive because videos and metadata are uploaded to remote API endpoints.
Persistence & Privilege
The code creates/uses local files: it may create missing config.yaml files (YamlUtil.load writes defaults), writes attachments to a skill attachments directory, and uses a local SQLite DB under a workspace 'data' directory. The skill does not set always:true, nor does it modify other skills' configurations, but it does persist data to disk and maintain a local DB—so it gains persistent local presence and storage beyond a pure in-memory analysis script.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install smyx-drive-analysis
  3. After installation, invoke the skill by name or use /smyx-drive-analysis
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of "drive-analysis" skill. - Provides professional video-based analysis of vehicle driver behaviors to identify unsafe driving, including distraction, fatigue, and improper seatbelt use. - Strict rules to always retrieve report history from the cloud API, never from local or long-term memory. - Requires a valid open-id (from config or user input) before running any analysis or queries. - Automatically triggers analysis on video/file upload and report listing on specific keywords. - Generates structured analysis reports with safety recommendations; outputs history as a Markdown table with direct report links.
Metadata
Slug smyx-drive-analysis
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Safe Driving Behavior Analyzer | 安全驾驶行为分析工具?

Analyzes videos of vehicle drivers to identify unsafe driving behaviors. It generates professional analysis reports to help enhance road safety awareness. |... It is an AI Agent Skill for Claude Code / OpenClaw, with 69 downloads so far.

How do I install Safe Driving Behavior Analyzer | 安全驾驶行为分析工具?

Run "/install smyx-drive-analysis" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Safe Driving Behavior Analyzer | 安全驾驶行为分析工具 free?

Yes, Safe Driving Behavior Analyzer | 安全驾驶行为分析工具 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Safe Driving Behavior Analyzer | 安全驾驶行为分析工具 support?

Safe Driving Behavior Analyzer | 安全驾驶行为分析工具 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Safe Driving Behavior Analyzer | 安全驾驶行为分析工具?

It is built and maintained by smyx-sunjinhui (@smyx-sunjinhui); the current version is v1.0.0.

💬 Comments