← 返回 Skills 市场
98
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install driver-card-tachograph
功能描述
Parses EU Digital Tachograph driver card (.ddd) files, converts to JSON, imports data into SQLite, and exports driving info and violations to CSV.
使用说明 (SKILL.md)
driver-card-tachograph
Parses EU Digital Tachograph driver card files (.ddd) and imports data into a SQLite database.
Description
Processes EU Digital Tachograph files (.ddd):
- .ddd files: Binary driver card dumps
- Parser:
dddparser(EU certified) - Database: SQLite with 13 tables
Certificates
See references/certificates.md for details on EU JRC public keys and signature verification.
Commands
| Command | Description |
|---|---|
./scripts/process.sh |
Full workflow (recommended) |
./bin/dddparser -card -format -input \x3Cfile.ddd> -output \x3Cfile.json> |
.ddd → JSON |
./scripts/import.py \x3Cfile.json> |
JSON → SQLite |
./scripts/export.py |
SQLite → CSV |
Directory Structure
driver-card-tachograph/
├── SKILL.md
├── bin/dddparser # Parser
├── scripts/
│ ├── import.py
│ ├── export.py
│ └── process.sh
├── references/
│ ├── build.md # Build guide
│ └── certificates.md # Certificate details
└── data/ # Runtime
Requirements
- Go 1.21+ – to build the parser
- Python 3 – standard library (sqlite3, json, csv)
Build dddparser
See references/build.md for the build guide.
.ddd Files
- Location:
data/inbox/ - Extension:
.ddd(case-insensitive) - Min size: 1KB
Workflow
./scripts/process.sh
- Take .ddd from
inbox/ - Parse to JSON (
parsed/) - Import to SQLite (
json/→ DB) - Archive to
archive/
安全使用建议
This skill appears to do exactly what it says: parse .ddd files, import into SQLite, and export CSVs. Before installing and running it:
- Verify the dddparser binary source: the build guide clones https://github.com/traconiq/tachoparser. Review that repo and the built binary for trustworthiness before copying it into the skill's bin/ directory.
- The skill operates on local files and the local SQLite DB only (no network exfiltration is present in the scripts), but double-check any build-time network activity (git clone) and only use trusted releases.
- Be aware of retention behavior: archives are kept for 10 years and summaries for 1 year; cleanup.py will delete files accordingly. Ensure this retention matches your data‑handling and privacy policies.
- process.sh can send alert emails if MAIL_TO is set and mail is available; this environment variable is optional but not listed in metadata — if you do not want emails, leave MAIL_TO unset or remove that section.
- Confirm runtime environment: Python 3 is required and the dddparser binary must be present (the package does not include the compiled binary). Run the scripts in a controlled workspace (least privilege) and inspect logs/summaries after initial runs.
If you want, provide the dddparser repository link or the built binary hash and I can help inspect the upstream code or compare checksums.
功能分析
Type: OpenClaw Skill
Name: driver-card-tachograph
Version: 1.0.0
The skill bundle contains several critical security vulnerabilities that could lead to arbitrary code execution. Specifically, `scripts/process.sh` is vulnerable to Python/shell injection because it interpolates the `$JSON_OUTPUT` variable (derived from potentially untrusted filenames) directly into a `python3 -c` command string. Additionally, `scripts/export.py` and `scripts/health_check.py` utilize dangerous string formatting for SQL queries rather than parameterized inputs. While the bundle appears to serve its stated purpose of tachograph data parsing, these flaws represent a significant attack surface. The build documentation also points to an external third-party repository (github.com/traconiq/tachoparser.git) for the core binary dependency.
能力评估
Purpose & Capability
The skill claims to parse .ddd driver card dumps, import to SQLite and export CSV — all included scripts (process.sh, import.py, export.py, health_check.py, cleanup.py) implement those behaviors. The SKILL.md and references explain building a third‑party dddparser from GitHub, which matches the declared need for a parser binary. No unrelated binaries or credentials are requested.
Instruction Scope
Runtime instructions operate on local directories (data/inbox, data/parsed, data/json, data/archive, summaries) and the local SQLite DB. The scripts do file I/O, parsing, DB writes, CSV export, health checks and archive cleanup — all within the stated scope. They do not contact remote endpoints at runtime or read unrelated system files. One minor point: process.sh optionally uses the MAIL_TO environment variable to send email alerts (if configured), which is reasonable but not declared in requires.env.
Install Mechanism
There is no automated install spec; the build guide asks you to git clone and build a dddparser from https://github.com/traconiq/tachoparser (a GitHub repo). Cloning and building third‑party code is expected for this parser, but you should review and verify that repository and the produced binary before running it in your environment. The build host (GitHub) is a standard release source; no obscure download URLs are used in the provided instructions.
Credentials
The skill requests no environment variables or credentials in registry metadata. The runtime scripts do, however, optionally reference MAIL_TO for alert emails and rely on system tools (mail) if you configure that — MAIL_TO is not declared as a required env var but is optional. No secrets (API keys, AWS creds, tokens) are requested or used. Database and file paths are local to the project directory.
Persistence & Privilege
The skill is not always-enabled and does not require special platform privileges. It creates and modifies files inside its project workspace (data/, summaries/, logs/), archives original .ddd files, and deletes aged files per configured retention. These are normal actions for this kind of tool; the 10-year archive deletion and 1-year summary retention are long but documented and consistent with stated legal retention requirements.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install driver-card-tachograph - 安装完成后,直接呼叫该 Skill 的名称或使用
/driver-card-tachograph触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of driver-card-tachograph.
- Parses EU Digital Tachograph driver card files (.ddd) to JSON.
- Imports parsed tachograph data into a structured SQLite database.
- Supports exporting driving activity data to CSV.
- Includes analyzer functions for driver hours, violations, and vehicle usage.
- Provides a script for the full workflow from file ingest to database import and archiving.
- Documentation covers requirements, workflows, commands, and certificate handling.
元数据
常见问题
Driver Card Tachograph 是什么?
Parses EU Digital Tachograph driver card (.ddd) files, converts to JSON, imports data into SQLite, and exports driving info and violations to CSV. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 98 次。
如何安装 Driver Card Tachograph?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install driver-card-tachograph」即可一键安装,无需额外配置。
Driver Card Tachograph 是免费的吗?
是的,Driver Card Tachograph 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Driver Card Tachograph 支持哪些平台?
Driver Card Tachograph 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Driver Card Tachograph?
由 Sanweb(@sanwebgit)开发并维护,当前版本 v1.0.0。
推荐 Skills