legal-case-analysis

Analyze case materials into structured legal issue trees, evidence ledgers, and risk assessments.

636|91|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/cat-xierluo/legal-skills --skill legal-case-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legal-case-analysis
Source: https://github.com/cat-xierluo/legal-skills/tree/main/skills/legal-case-analysis
Command: npx skills add https://github.com/cat-xierluo/legal-skills --skill legal-case-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Legal professionals often receive scattered case materials—contracts, payment records, chat logs, court documents—and must manually transform them into verifiable facts, legal issue trees, claim bases, and risk assessments. This Skill standardizes that analysis workflow so every conclusion traces back to facts, evidence, or retrieved legal rules instead of model memory.

Core Features & Use Cases

  • Fact and Evidence Extraction: Converts raw case materials into timelines, fact ledgers, and evidence strength ratings, separating objective evidence from party statements.
  • Civil and Criminal Analysis Frameworks: Applies a nine-step element-based litigation method for civil/commercial disputes and a two-tier (wrongfulness–culpability) eight-step method for criminal case review.
  • Research Integration and Anti-Hallucination Discipline: Generates legal research task lists, ingests existing research archives with source grading, enforces time-effectiveness checks, and forbids citing statute numbers from memory.
  • Use Case: A lawyer receives a commodity housing contract dispute file and needs to evaluate whether to sue for contract rescission, how to handle the mortgage, and whether to file an execution objection—the Skill produces a full analysis report with claim tables, damages ledgers, jurisdiction analysis, and action checklists.

Quick Start

Ask the AI to analyze the attached case materials and produce a legal analysis report with issue tree, evidence gaps, and risk levels.

Frequently Asked Questions about legal-case-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze legal case materials with AI?

Provide case materials such as contracts, payment records, chat logs, or court documents, and the Skill builds a fact timeline, evidence ledger, legal issue tree, and claim-element mapping. Each conclusion is tied to a fact source, evidence item, or retrieved legal rule.

What legal analysis frameworks does this Skill support?

It supports a nine-step element-based litigation method for civil and commercial disputes and an eight-step criminal analysis method built on the two-tier wrongfulness-culpability system. Administrative cases adapt the civil framework with legality review adjustments.

Can it analyze criminal cases or only civil disputes?

It handles both. Criminal analysis uses a prosecution-review skeleton with defense adversarial testing, covering offense characterization, evidence sufficiency, sentencing, and procedural legality. Civil and commercial cases use claim-basis and element mapping instead.

Does it replace legal research tools for statute lookup?

No. It generates structured research task lists and relies on external legal search tools like yuandian-law-search for retrieving statutes, judicial interpretations, and case law. It explicitly forbids citing article numbers from memory without retrieved sources.

When should I not use this legal analysis Skill?

Avoid it for pure OCR conversion, standalone statute retrieval, Word formatting tasks, or generating service proposal documents that need no new legal judgment. Those belong to dedicated OCR, search, conversion, or document-generation skills.

How does it handle anonymization for teaching or competitions?

Anonymization is optional and off by default for real casework. When enabled for courses or public demos, it replaces party names with role labels, abstracts locations to city level, and blocks irreversible sensitive fields like ID numbers and bank accounts in all outputs.