legal-element-extraction

Extract legal facts from narratives and map them to legal elements.

Updated May 28, 2026
One-click install
npx skills add https://github.com/MaryHu-YR/Legal-Skills-Chinese-w-MCP --skill legal-element-extraction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legal-element-extraction
Source: https://github.com/MaryHu-YR/Legal-Skills-Chinese-w-MCP/tree/main/skills/legal-element-extraction
Command: npx skills add https://github.com/MaryHu-YR/Legal-Skills-Chinese-w-MCP --skill legal-element-extraction

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps legal analysts extract legally meaningful facts from unstructured narratives such as case descriptions, party statements, chat logs, and media reports, turning them into structured, extractable elements for later analysis.

Core Features & Use Cases

  • Structured extraction of legal facts from narratives and documents.
  • Classification into nine fact types (主体事实、行为事实、时间事实等) and preparation of a fact-based timeline.
  • Mapping extracted facts to specific legal elements and potential claims, enabling efficient legal reasoning and drafting.

Quick Start

Provide a plain, unambiguous case description and receive a structured list of legal facts in return.

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 legal facts from unstructured text like chat logs and case descriptions?

To extract legal facts from unstructured text, this Skill parses narratives and statements, organizing them into structured factual lists and mapping them to specific legal elements. It processes case descriptions and chat logs to output structured legal facts for analysis.

What are the nine fact types used for structuring legal case analysis?

The nine fact types are specific legal categories such as subject facts, behavior facts, and time facts used to structure unstructured narratives. This classification organizes extracted legal facts into a structured factual list and fact-based timeline.

Can I map extracted facts to legal elements and potential claims from party statements?

Yes, you can map extracted facts to legal elements and potential claims from party statements. The Skill generates rationale for element mapping and evidence references, enabling efficient legal reasoning and drafting from unstructured text.

Does legal fact extraction work with media reports and unstructured narratives?

Yes, legal fact extraction works with media reports and unstructured narratives. It processes these documents to identify legally meaningful facts, classify them into nine fact types, and prepare a structured fact-based timeline for subsequent legal analysis.

What is the best way to prepare unstructured case descriptions for legal element mapping?

The best way to prepare unstructured case descriptions for legal element mapping is to provide a plain, unambiguous case description. The Skill then extracts legal facts, classifies them, and outputs a structured factual list with rationale and evidence references.