← 返回 Skills 市场
traffic-law
作者
zhanghaibo7612
· GitHub ↗
· v1.0.2
· MIT-0
198
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install traffic-law-doc
功能描述
parse traffic accident legal documents and generate exam answers. use when user needs to extract text from word documents in e jiaotong directory, parse traf...
安全使用建议
This skill appears to do what it says: parse local Word documents (mostly .docx) and produce a JSON knowledge base and exam-answer markdown. Before installing or running it, confirm you are comfortable giving the agent access to the local directory it will read (default is a Windows path under E:\jiaotong). Note the SKILL.md mentions Word COM and requiring Microsoft Word, but the included scripts parse .docx by reading the .docx ZIP and do not actually implement COM-based .doc parsing — .doc files are left as placeholders. If you need .doc support or you are not on Windows, test on a small sample first. There are no network calls or credentials requested in the bundle, but always review or run third-party scripts in a sandbox or with non-sensitive sample files prior to full use.
功能分析
Type: OpenClaw Skill
Name: traffic-law-doc
Version: 1.0.2
The skill bundle is designed to parse Chinese traffic law documents and generate exam answer templates from Word files. The Python scripts (`parse_legal_docs.py` and `generate_exam_answers.py`) use standard libraries to extract text from .docx files and save structured data locally; no network activity, data exfiltration, or malicious execution patterns were found. While the skill targets a specific local directory (E:\jiaotong), its behavior is consistent with its stated purpose of legal document processing.
能力评估
Purpose & Capability
Name/description, code, and SKILL.md consistently describe parsing local Word documents (E:\jiaotong path) and generating exam answers. Requested resources are local files only and no credentials are required. Minor incoherence: SKILL.md states 'requires Microsoft Word installed' and references using Word COM for parsing .doc/.docx, but the included scripts parse .docx by reading the .docx ZIP and explicitly do not implement .doc COM parsing (they leave .doc as a manual/placeholder). This is likely a documentation mismatch rather than malicious.
Instruction Scope
SKILL.md instructs the agent to read and parse Word documents from a specific local directory and to build/save JSON/markdown outputs. The included scripts operate on local filesystem paths (default: E:\jiaotong\法律法规\法律法规) and do not perform network calls or read other unrelated system configuration. The only scope note: SKILL.md mentions releasing COM objects (Windows/Word) even though the scripts do not use COM.
Install Mechanism
No install spec is provided (instruction-only), and the code files are simple Python scripts. Nothing is downloaded or installed automatically by the skill bundle. Risk from install mechanism is low.
Credentials
The skill declares no required environment variables, no credentials, and no config paths beyond local document directories. The scripts read local files (doc/docx) and write JSON/markdown outputs. This is proportional to the stated functionality.
Persistence & Privilege
always is false and the skill does not request elevated or persistent privileges. It reads and writes files in user-specified/local directories only. No modifications to other skills or system-wide settings are present.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install traffic-law-doc - 安装完成后,直接呼叫该 Skill 的名称或使用
/traffic-law-doc触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
⚖️ Traffic Accident Legal Consultation System
Leverage the expertise of 10 specialized AI Agents to:
Calculate Compensation: Medical expenses, lost wages, disability compensation, etc.
Analyze Liability: Fault allocation and accident determination letter review.
Retrieve Legal Statutes: Specific laws like "Article 76 of the Road Traffic Safety Law".
Assess Disability Levels: Preliminary disability grading based on injuries.
Generate Legal Documents: Complaints, defense statements, settlement agreements, etc.
👥 Complete Agent Roster (1-10)
表格
# Agent Name Responsibilities
1 Case Intake Specialist Receives parties, collects information, and establishes case files.
2 Liability Analysis Lawyer Analyzes accident liability and reviews determination letters.
3 Disability Assessment Expert Predicts disability levels and guides the appraisal process.
4 Compensation Calculator Precisely calculates various compensation amounts.
5 Insurance Claims Consultant Guides insurance claims and assists with negotiations.
6 Evidence Collection Specialist Guides evidence gathering and organizes the chain of evidence.
7 Legal Document Specialist Drafts various legal documents.
8 Litigation Strategy Lawyer Formulates litigation strategies and plans procedures.
9 Mediation & Negotiation Specialist Handles negotiations and drafts settlement agreements.
10 Case Management Supervisor Oversees overall management and coordinates the team.
v1.0.0
Initial release of the traffic-law-docs skill.
- Parses traffic accident legal documents and generates exam answers based on Chinese traffic laws.
- Supports batch extraction of text from Word (.doc, .docx) files in designated directories.
- Builds a structured JSON legal knowledge base from parsed documents.
- Analyzes traffic safety exam papers and generates markdown answer documents with legal references.
- Allows querying of specific traffic law articles from the knowledge base.
元数据
常见问题
traffic-law 是什么?
parse traffic accident legal documents and generate exam answers. use when user needs to extract text from word documents in e jiaotong directory, parse traf... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 198 次。
如何安装 traffic-law?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install traffic-law-doc」即可一键安装,无需额外配置。
traffic-law 是免费的吗?
是的,traffic-law 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
traffic-law 支持哪些平台?
traffic-law 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 traffic-law?
由 zhanghaibo7612(@zhanghaibo7612)开发并维护,当前版本 v1.0.2。
推荐 Skills