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