Skip to content
Back to skills

Contract Reviewer Wudi

ASecurity

中文合同审核 Skill - 支持修订痕迹、批注气泡、清洁版生成与多轮迭代管理。覆盖41种合同类型、350+关键条款、229+常见风险、82个法律依据。核心输出为 Word Track Changes(修订痕迹)。

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 25, 2026
ai-agentspythonbashgit

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 25, 2026

npx -y skills add CSlawyer1985/legal-skillhub --skill contract-reviewer-wudi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Contract Reviewer Wudi?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Contract Reviewer Wudi
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cslawyer1985-contract-reviewer-wudi/badge)](https://www.skillsdirectory.com/skills/cslawyer1985-contract-reviewer-wudi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: contract-reviewer-wudi
display_name: 合同审核-WUDI
version: 2.9.5
description: |
  中文合同审核 Skill - 支持修订痕迹、批注气泡、清洁版生成与多轮迭代管理。覆盖41种合同类型、350+关键条款、229+常见风险、82个法律依据。核心输出为 Word Track Changes(修订痕迹)。
license: GPL-3.0
author: WUDI
homepage: https://github.com/wux818738-alt/contract-reviewer-wudi
---

# 合同审核 WUDI | Contract Reviewer WUDI

> 中文合同审核 Skill,专为 OpenClaw / Claude AI 设计的智能合同审查工具。
> 以 **修订痕迹(Track Changes)** 为核心输出,直接写入 Word 文档,所见即所得。

![修订痕迹效果](https://raw.githubusercontent.com/wux818738-alt/contract-reviewer-wudi/main/images/04_track_changes.png)

## ✨ 核心特性

| 能力 | 说明 |
|------|------|
| 📝 **修订痕迹** | 审核意见直接写入 Word Track Changes,红绿对比一目了然 |
| 💬 **批注气泡** | 法律背景说明、结构性提示以 Word Comment 形式呈现 |
| 📋 **清洁版生成** | 一键生成接受全部修改后的清洁版文档 |
| 🔄 **多轮迭代** | 支持版本跟踪、差异对比、回滚管理 |
| 🔍 **交叉引用检查** | 自动检测孤立引用、缺失条款、自引用问题 |
| 🏷️ **合同类型检测** | 自动识别 41 种合同类型(关键词匹配 + 置信度排序) |
| 📚 **条款智能推荐** | 内置 22 个专业条款模板,审核时自动匹配替代条款 |
| 📄 **PDF/扫描件 OCR** | 自动识别 PDF 类型,支持 Vision/Tesseract 转换 |

## 📊 覆盖范围

- **41 种合同类型**:买卖、租赁、建设工程、技术服务、劳动合同、股权转让、PPP、金融衍生品等
- **350+ 关键条款**审核规则
- **229+ 常见风险**识别点
- **82 个法律依据**(《民法典》合同编为主)

## 🖼️ 效果展示

### 1. 合同输入
上传 Word 或 PDF 格式的合同文件即可开始审核。

![合同输入](https://raw.githubusercontent.com/wux818738-alt/contract-reviewer-wudi/main/images/01_input.png)

### 2. 合同类型识别
自动检测合同类型,匹配对应审核规则库。

![合同类型识别](https://raw.githubusercontent.com/wux818738-alt/contract-reviewer-wudi/main/images/02_type_detection.png)

### 3. 风险扫描
逐条扫描合同条款,识别法律风险并分级标注。

![风险扫描](https://raw.githubusercontent.com/wux818738-alt/contract-reviewer-wudi/main/images/03_risk_scan.png)

### 4. 修订痕迹(核心输出)★
审核修改直接写入 Word 修订痕迹,红色删除、绿色新增,对比清晰。

![修订痕迹](https://raw.githubusercontent.com/wux818738-alt/contract-reviewer-wudi/main/images/04_track_changes.png)

### 5. 批注气泡
无法用修订表达的内容(法律背景、结构性提示)以批注形式呈现。

![批注气泡](https://raw.githubusercontent.com/wux818738-alt/contract-reviewer-wudi/main/images/05_comments.png)

### 6. 清洁版输出
一键生成接受全部修改后的干净文档。

![清洁版输出](https://raw.githubusercontent.com/wux818738-alt/contract-reviewer-wudi/main/images/06_clean_version.png)

## 📁 目录结构

```
contract-reviewer-wudi/
├── SKILL.md                          # Skill 主文件(AI 审核规则引擎)
├── LICENSE.md                        # GPL-3.0 许可证
├── scripts/
│   ├── contract_parser.py            # 合同结构解析引擎
│   ├── apply_changes.py              # 修订痕迹与批注写入引擎
│   ├── generate_clean.py             # 清洁版生成引擎
│   ├── iteration_manager.py          # 多轮迭代管理引擎
│   ├── clause_recommender.py         # 条款智能推荐引擎
│   ├── check_cross_refs.py           # 交叉引用检查
│   ├── full_pipeline.py              # 完整审核流水线
│   ├── pdf_ocr.py / vision_ocr.py    # PDF OCR 模块
│   ├── preflight_check.py            # 预检工具
│   ├── round_analyzer.py             # 轮次分析
│   ├── generate_comparison.py        # 对比视图生成
│   └── config.py                     # 共享配置
├── references/
│   ├── clause-library/               # 22 个专业条款模板 (JSON)
│   ├── contract-types/               # 41 种合同类型定义 (JSON)
│   ├── review-playbook.md            # 审核操作手册
│   ├── engine-guide.md               # 引擎使用指南
│   └── output-spec.md                # 输出规范
├── agents/
│   └── openai.yaml                   # Agent 配置示例
├── tests/
│   └── test_contract_reviewer.py     # 单元测试
└── images/                           # 效果截图
```

## 🚀 安装

### OpenClaw 用户

```bash
git clone https://github.com/wux818738-alt/contract-reviewer-wudi.git ~/.qclaw/skills/contract-reviewer-wudi
```

重启 OpenClaw Gateway,Skill 会自动加载。

### ClawHub 用户

```bash
clawhub install contract-reviewer-wudi
```

### 依赖

- Python 3.8+
- `python-docx`(修订痕迹 / 批注写入)
- `PyMuPDF` 或 `pdfplumber`(PDF 解析,可选)
- `Tesseract`(扫描件 OCR,可选)
- `LibreOffice`(清洁版生成,可选)

## 📜 许可证

[GPL-3.0](LICENSE.md) © 2026 WUDI

## 🙏 致谢

本 Skill 的审核方法论基于法律审核通用实践,属于行业公共知识。感谢所有法律从业者对本领域的贡献。

Files in this skill

  • LICENSE.md4.2 KB
  • README.md4.7 KB
  • SKILL.md5.5 KB
  • _meta.json141 B
  • agents/openai.yaml468 B
  • references/clause-library/confidentiality/nda-3years.json991 B
  • references/clause-library/confidentiality/nda-perpetual.json692 B
  • references/clause-library/delivery/acceptance-7days.json902 B
  • references/clause-library/delivery/third-party-acceptance.json633 B
  • references/clause-library/dispute/arbitration-cietac.json609 B
  • references/clause-library/dispute/arbitration-local.json597 B
  • references/clause-library/dispute/court-shanghai.json624 B
  • references/clause-library/dispute/court-specified.json558 B
  • references/clause-library/force-majeure/standard.json1.1 KB
  • references/clause-library/general/amendment-written.json686 B
  • references/clause-library/general/entire-agreement.json708 B
  • references/clause-library/general/governing-law-mainland.json584 B
  • references/clause-library/index.json1.7 KB
  • references/clause-library/ip/joint-own.json837 B
  • references/clause-library/ip/license-back.json859 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…