⚖️
AutomationPython

Case Facts

by Youchu-lawhub

Case Facts is an Automation skill for Claude Code, published by Youchu-lawhub in cn-litigation-toolkit.

19 stars2 forkson Youchu-lawhub/cn-litigation-toolkitAdded 2026/08/11+12% in starsRepository updated 2026/07/11
agent-skillschinese-lawcivil-proceduredocxelement-analysislegallegal-techlitigationmcprequest-right-basis
Install in seconds
Install Case Facts
Copy Case Facts into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/Youchu-lawhub/cn-litigation-toolkit/tree/main/skills/case-facts ~/.claude/skills/case-facts

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/Youchu-lawhub/cn-litigation-toolkit.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/case-facts/SKILL.md in Youchu-lawhub/cn-litigation-toolkit
Installs to
~/.claude/skills/case-facts
Collection
One of 23 skills cataloged from this repository
Category
Automation1523 skills

What Case Facts does

Extracts facts from legal case materials to produce a structured Markdown document with a legal relationship diagram, timeline chart, and chronological event table. Used for case preparation, fact summaries, and litigation analysis.

Case Facts is cataloged under Automation on DirSkills. Case Facts comes from a repository tagged agent-skills, chinese-law, civil-procedure, docx and element-analysis.

Documentation

README

案件事实梳理(case-facts)

从案件材料中客观中立地提取事实信息,产出一份主文档 + 两张配图

  • 主文档:案件事实梳理(Markdown)——这是交付的核心文档,按大事记构建逻辑,依次包含三个部分:
    1. 法律关系分析图——嵌入 HTML 图的链接 + 一段配套文字说明(主体构成、核心法律关系、争议关系)
    2. 法律事实时间轴图——嵌入 HTML 图的链接
    3. 大事记——结构化时间线表,含来源标注、重要性评级、缺口提示与版本号
  • 配图一:法律关系分析图(单文件 HTML)——按「两要素三步法」呈现主体与法律关系,由主文档第一部分链接引用
  • 配图二:法律事实时间轴图(单文件 HTML)——按「轴线要素 + 事件要素」呈现关键事实的时间脉络,由主文档第二部分链接引用

交付结构:两张图各自是独立 HTML 文件(可在浏览器打开、便于分享),主文档 md 通过 file:// 链接把它们串进来,再附大事记表格。用户打开主文档即可总览全局,点击链接查看大图。

可视化定位:可视化图表通过图文结合把复杂法律关系、交易结构、时间逻辑直观化,便于法官快速理解案情、锁定核心证据。一份事实清晰、注明依据的关系图与时间图,能显著节省阅卷时间,并为当事人争取更有利的审理印象。绘图遵循「让人看懂、简化清晰、客观呈现」三项基本要求。

大事记定位:事实按顺序发生,大事记是每个叙事依赖的骨架——代理词的事实部分、法律意见、庭前准备都建立其上。AI 擅长结构化提取,但输入垃圾则输出垃圾:大事记只与来源一样好,不发明来源中没有的事件。


适用场景

This is the opening of the README. Read the full README on GitHub.

Commands Case Facts provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /case-manager

Frequently asked about Case Facts

  • What else does Youchu-lawhub publish alongside Case Facts?

    Case Facts is one of 23 skills that DirSkills catalogs from Youchu-lawhub/cn-litigation-toolkit, the repository it ships in. Its siblings there include Agency Opinion, Asset Discovery and Case Manager. Each one is a separate skill with its own page in this directory, installs the same way Case Facts does, and is maintained by Youchu-lawhub in that same repository. The rest of the collection is listed on the Youchu-lawhub/cn-litigation-toolkit page.

  • How does Case Facts compare to other Automation skills?

    Case Facts ranks #1487 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Case Facts against them. Open each page to compare what they document and how they install.

More from Youchu-lawhub/cn-litigation-toolkit

Case Facts is one of 23 skills cataloged on DirSkills from Youchu-lawhub/cn-litigation-toolkit.

See all 23 skills