Multi Document Summarization logo

Multi Document Summarization

Community
vivy-yi
multi-document-summarization

多源文档归纳——对多份相关文档(判决书/合同/法规/学术论文)进行交叉分析,提取共性、识别冲突、生成综合结论。 适用情形:用户提供多份判决书要求总结类案裁判要旨/提供多个合同文本要求归纳异同/提供多份法规要求梳理规范演变。 核心:四层次分析(单篇理解→共性提取→差异对比→洞见生成),不是简单压缩单篇文档。 注意:跨文档对比时保持中立,冲突点仅标识不做真伪判断。

Overview

Publishervivy-yi
RepositoryGreater-China-Legal
Skill namemulti-document-summarization
Stars
49
Forks
9
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by vivy-yi on GitHub. Read the source before you install it.

Installation

Install the Multi Document Summarization AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/vivy-yi/Greater-China-Legal/tree/main/plugins/legal-documents/multi-document-summarization
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vivy-yi/Greater-China-Legal.git /tmp/Greater-China-Legal
mkdir -p .claude/skills
cp -r /tmp/Greater-China-Legal/plugins/legal-documents/multi-document-summarization .claude/skills/multi-document-summarization
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Multi Document Summarization in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Multi Document Summarization on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Multi Document Summarization is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/multi-document-summarization — 多源文档归纳

核心概念

单文档摘要 vs 多文档归纳

维度单文档摘要多文档归纳
处理对象一份文档多份相关文档
核心任务压缩信息、提取要点交叉对比、整合关联
输出性质对原文的忠实缩写跨文档的新知识结构
关键能力信息筛选一致性识别、冲突发现

四层次分析

Level 1: 单篇理解
    分别理解每篇文档的核心内容

Level 2: 共性提取
    识别多篇文档共同涉及的主题、观点、事实

Level 3: 差异对比
    识别文档之间的观点冲突、事实矛盾、表述差异

Level 4: 洞见生成
    基于跨文档对比分析,生成新的综合性结论

文档关系类型

关系类型分析重点
平行关系整合各方面信息,形成全景视图
时间序列梳理演变脉络,识别趋势变化
对立关系客观呈现各方观点,标注冲突点
层级关系梳理层级结构,识别核心与衍生
补充关系整合互补信息,填补单篇盲区

工作流程

阶段一:准备与输入

步骤1:整理文档清单
| 编号 | 文档名称 | 类型 | 来源 | 日期 | 字数 |
|------|---------|------|------|------|------|
| D1   | 判决书A | 判决书 | 某法院 | 2024 | 3000字 |
| D2   | 判决书B | 判决书 | 某法院 | 2023 | 2500字 |

阶段二:Level 1-2 处理

步骤2:对每份文档生成摘要
  调用 legal-document-summarization

步骤3:提取共性
  识别全部文档共同涉及的主题、观点、事实

阶段三:Level 3 差异对比

步骤4:识别差异点
  - 观点冲突
  - 事实矛盾
  - 表述差异

步骤5:标注冲突点
  对每个冲突点,客观呈现各方立场

阶段四:Level 4 洞见生成

步骤6:生成跨文档洞见
  - 趋势判断
  - 规律识别
  - 结构性结论

输出格式

## 多源文档综合分析

### 文档清单
[表格]

### 共性提取
#### 共同主题
- [主题1]
- [主题2]

#### 共同观点
- [观点1]

### 差异对比
| 维度 | 文档A | 文档B | 差异性质 |
|------|-------|-------|---------|
| [差异点] | [立场A] | [立场B] | [冲突/矛盾/不同] |

### 冲突点清单
1. [冲突点1]:客观呈现双方立场,不做真伪判断
2. [冲突点2]:...

### 跨文档洞见
1. [洞见1]
2. [洞见2]

### 趋势分析(适用于时间序列)
[梳理演变脉络]

引用说明

本skill方法论来自 THUYRan/Legal-Skills-Chinese/multi-document-summarization, THUYRan原版9500字,GCL精简至约180行。

Frequently asked questions

What does the Multi Document Summarization AI skill do?

多源文档归纳——对多份相关文档(判决书/合同/法规/学术论文)进行交叉分析,提取共性、识别冲突、生成综合结论。 适用情形:用户提供多份判决书要求总结类案裁判要旨/提供多个合同文本要求归纳异同/提供多份法规要求梳理规范演变。 核心:四层次分析(单篇理解→共性提取→差异对比→洞见生成),不是简单压缩单篇文档。 注意:跨文档对比时保持中立,冲突点仅标识不做真伪判断。

Why use Multi Document Summarization on TypingMind?

Because you install it once and use it with any model. Multi Document Summarization is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Multi Document Summarization in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/vivy-yi/Greater-China-Legal/tree/main/plugins/legal-documents/multi-document-summarization. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Multi Document Summarization?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Multi Document Summarization?

As many as you like. As long as a model supports skills, you can use Multi Document Summarization with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Multi Document Summarization AI skill free?

It is published on GitHub by vivy-yi. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇