AI Agent Hub
Back to skills
Intelligent Legal Service Assistant icon

Intelligent Legal Service Assistant

Professional Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @laoxi/falvfuwuzhushou-legalservice-law according to the guide at https://skillhub.cn/install/skillhub.md.

About this skill

Specific Problems It Solves

AI-assisted legal scenarios face three core challenges: verifying the temporal validity of legal provisions (avoiding cited laws that are obsolete), requiring a structured analytical framework for complex legal reasoning to prevent omissions or logical gaps, and the need for strictly standardized legal documents (like civil complaints) that are difficult to complete manually or via free-form AI generation without missing mandatory elements.

How It Works

The Intelligent Legal Service Assistant adopts a modular design to address these issues with concrete solutions.

Core Capabilities & Workflow:
1. Structured Legal Consultation: Adheres to a five-step method: "Fact Sorting → Legal Characterization → Statute Retrieval → Analysis & Argumentation → Practical Advice." Each output undergoes a Logic Doctor five-dimension self-check (statute accuracy, logical coherence, timeliness, practical feasibility, compliance) to ensure reliability.
2. 要素式 Complaint Generation: Includes .docx templates for 11 standard case types (e.g., private lending, divorce, labor disputes) and one general template. The workflow is: intelligently identifying the cause of action → requesting key information in one batch → auto-filling the template → generating a standardized document. For instance, in "unwritten labor contract" disputes, it proactively reminds users of the mandatory arbitration prerequisite.
3. Layered Statute Query: A three-tier fallback strategy ensures availability. It prioritizes real-time verification via the official flk.npc.gov.cn API; if unavailable, it seamlessly degrades to matching against local pre-loaded databases (law_db.json with 125 statutes, case_db.json with 99 cases), with all outputs clearly marking the source and a "for reference only" disclaimer.

Applicable Boundaries and Caveats

The tool operates within strict compliance boundaries, providing auxiliary analysis rather than formal legal advice.

Clear Referral Rules:
* Focused on Civil & Commercial Law: It explicitly recommends consulting a practicing attorney for criminal defense, administrative litigation, foreign-related legal matters, or complex IP disputes.
* No Litigation Outcome Guarantees: It strictly prohibits making absolute statements like "certain to win."
* Generated Documents Require Human Review: Particularly for significant cases, the produced complaint should be reviewed by a lawyer before court submission.
* Legal Basis May Lag: Despite API queries, the final application of law is subject to the latest official texts and judicial practice.

In summary, this is a tool that, within clear boundaries, leverages structured processes and multi-source data to provide reliable preliminary analysis for engineers or legal professionals.

Use Cases

  • When involved in a property service contract dispute with an intermediary, use the skill for legal consultation to get fact sorting, legal characterization, and statute of limitations analysis.
  • When preparing to sue a bank for a credit card dispute, use the skill to identify the cause of action, once collect plaintiff/defendant details and claims, and generate a standardized civil complaint .docx.
  • When handling compensation for a motor vehicle traffic accident, need to query provisions from the Road Traffic Safety Law and Civil Code, run the `legal_query.py` script to fetch statute content.
  • To prepare filing materials for a divorce case involving property division and child support claims, use the skill to draft a general civil complaint.

Best For

  • A small business owner facing unpaid sales contract funds, needing to quickly obtain legal opinions and draft a complaint to initiate legal action.
  • A legal assistant or paralegal handling batches of financial loan contract disputes, requiring efficient generation of standardized complaint documents and statute queries.
  • A legal researcher writing a thesis, needing reliable queries for current, valid legal provisions and reference cases as evidentiary support.
  • An individual facing a labor dispute (e.g., unwritten labor contract), needing to understand the mandatory arbitration process and receive professional consultation advice.