legal-element-extraction

Extract and classify legal facts from unstructured case narratives into nine categories.

678|77|Updated May 20, 2026
One-click install
npx skills add https://github.com/THUYRan/Legal-Skills-Chinese --skill legal-element-extraction-thuyran
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legal-element-extraction
Source: https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/skills/legal-element-extraction
Command: npx skills add https://github.com/THUYRan/Legal-Skills-Chinese --skill legal-element-extraction-thuyran

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

From unstructured case narratives, statements, chat logs, and media reports, extracting legally meaningful facts is essential for accurate analysis. This skill provides a structured approach to segment narrative text into nine core fact categories, clean and classify them, and tag sources to support subsequent legal reasoning and element mapping.

Core Features & Use Cases

  • Structured fact extraction from raw texts including party statements, chats, and media reports.
  • Nine-category fact taxonomy: 主体事实、行为事实、时间事实、地点事实、对象事实、结果事实、因果关系事实、主观事实、程序事实.
  • Translation of everyday language into neutral legal language and preparation of evidence sources.
  • Timeline construction and support for mapping to legal elements and claim bases.
  • Use cases include preparing case summaries, early fact-finding in contracts,侵权 and other civil disputes.

Quick Start

Provide an unstructured case narrative and the skill will output a structured nine-category legal facts report.

Frequently Asked Questions about legal-element-extraction

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

FAQPage Schema
How do I extract structured legal facts from unstructured case narratives?

The skill extracts structured legal facts from unstructured case narratives by segmenting raw text into nine defined fact categories, including subject, action, and causation facts. It then tags evidence sources and translates everyday language into neutral legal terminology.

Can I use this skill to extract facts from chat logs and media reports for civil disputes?

Yes, the skill processes unstructured texts like chat logs, media reports, and party statements for contract, tort, and other civil disputes. It classifies the extracted information into nine categories and maps it to potential legal elements.

What is the nine-category fact taxonomy used for legal element extraction?

The taxonomy used for legal element extraction comprises nine categories: subject, action, time, location, object, result, causation, subjective, and procedural facts. This classification enables objective fact extraction and timeline construction.

Does the skill translate everyday language into neutral legal language during fact extraction?

Yes, during fact extraction, the skill translates everyday language into neutral legal language. It cleans and classifies raw narrative text while preparing evidence sources to satisfy objective fact extraction requirements.

How do I map extracted case facts to potential legal elements and claim bases?

You map extracted case facts to potential legal elements by leveraging the skill's nine-category structured output and timeline construction features. This explicitly connects classified facts to support subsequent legal reasoning and claim bases.