Skip to content
Back to skills

Contract Desensitization

ASecurity

合同脱敏智能体工作流。当用户需要对合同、协议等法律文件进行敏感信息脱敏处理(去除公司名、人员信息、金额、账户等),生成可对外发布的脱敏版本时使用此技能。支持中文、外文、中外文对照及涉外合同的多语同步脱敏。触发词包括:合同脱敏、合同脱敏处理、合同去隐私、协议脱敏、商业文档脱敏、涉外合同脱敏等。最终以 Word(.docx)格式交付。© 2026 翀,个人免费、商业需授权,联系549777598@qq.com。

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 25, 2026
toolspython

Security analysis

A100/100

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

Scanned September 25, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Contract Desensitization?

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

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

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-desensitization
description: 合同脱敏智能体工作流。当用户需要对合同、协议等法律文件进行敏感信息脱敏处理(去除公司名、人员信息、金额、账户等),生成可对外发布的脱敏版本时使用此技能。支持中文、外文、中外文对照及涉外合同的多语同步脱敏。触发词包括:合同脱敏、合同脱敏处理、合同去隐私、协议脱敏、商业文档脱敏、涉外合同脱敏等。最终以 Word(.docx)格式交付。© 2026 翀,个人免费、商业需授权,联系549777598@qq.com。
agent_created: true
---

# 合同脱敏技能(Contract Desensitization)

## 功能概述

将企业合同转化为可对外发布的脱敏版本,在保留合同法律框架、句法结构与可读性的前提下,剔除一切可能导致商业秘密泄露、隐私暴露或商业战略暴露的敏感信息。

### 支持场景

| 场景 | 说明 |
|------|------|
| 中文合同脱敏 | 公司名、人员、金额、账户等全量敏感信息替换 |
| 外文合同脱敏 | 英文/其他语言合同的主体、财务、商业条款脱敏 |
| 中外文对照合同 | 双语同步脱敏,禁止跨语残留 |
| 涉外合同专项 | 境外主体、跨境财务、数据跨境传输等涉外敏感信息处理 |

### 工作流程

1. **接收识别** — 识别合同类型、语言类型、是否涉外
2. **客体清单** — 以表格输出全部敏感信息供用户确认(禁止直接脱敏)
3. **用户确认** — 用户增删条目、调整替代词后回复"确认脱敏"
4. **生成交付** — 按确认清单执行替换,生成 .docx 文件交付

### 脱敏范围

主体信息、人员信息、项目信息、财务信息、客户/供应商信息、商业敏感信息、涉外敏感信息(境外主体、跨境财务、数据跨境传输等)。

### 交付格式

最终交付物为完整的 Word(.docx)文件,包含脱敏后合同正文。

---

## 使用说明

加载本技能后,完整工作指令(含角色定义、四阶段工作流程、替换规则、Few-shot 示例、python-docx 生成规范等)将从以下参考文件中读取:

- `references/system-prompt.md` — 完整系统提示词(核心工作流程与交互规则)
- `references/replacement-rules.md` — 脱敏替换规则对照表
- `references/few-shot-examples.md` — 脱敏前后对照示例
- `references/python-docx-spec.md` — Word 文件生成技术规范与代码模板

> **首次使用时**,请先读取 `references/system-prompt.md` 获取完整工作指令,然后按流程执行。

Files in this skill

  • README.md2.2 KB
  • SKILL.md2.6 KB
  • assets/logo.svg1.8 KB
  • references/few-shot-examples.md2.4 KB
  • references/python-docx-spec.md7.4 KB
  • references/replacement-rules.md2.1 KB
  • references/system-prompt.md8.5 KB

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…