contract-copilot SKILL.md skillA

contract-copilot from cat-xierluo/legal-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add cat-xierluo/legal-skills/contract-copilot@v1.6.3

Pins v1.6.3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
cat-xierluo/legal-skills
Path
skills/contract-copilot/SKILL.md
Versions recorded
5
Latest version
v1.6.3, committed Aug 19, 2026
First version recorded
Jun 13, 2026
Size
28,652 bytes
Repository stars
775
License
none declared

合同起草与审查助手。基于分层分析与四步流程,输出可执行的风险清单、起草骨架、修改建议、推荐措辞和审查意见书,支持批注与修订两种文档处理方式。用户通过飞书或其他 IM 对话发送合同文件并要求审查或起草时,也应使用本 skill,并优先沿原会话回传修订版和审查报告。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Contract Copilot(合同助手)

## 一、定位

调用时,先按本文件确定运行流程。

### 1.1 强制文件交付规则

当用户提供或通过会话传入 DOCX 合同文件,并提出“审查、审核、修改、批注、修订、出审查意见、帮我看合同”等合同审查类请求时,默认必须走文件交付链路:

1. 先完成必要澄清与分层审查。
2. 将审查结论整理为 `review-plan.json`(**运行时产物**,由 contract-copilot 在审查过程中生成;不是 skill 包内随附文件,每次审查都会重新生成)。
3. 运行 `scripts/review/apply_review_plan.py` 或 `scripts/run_apply_review_plan.ps1`,传入上一步生成的 `review-plan.json`。
4. `apply_review_plan.py` 会在 `archive/<时间戳_合同名>/` 内自动生成 `review-plan_enriched.json`(**运行时产物**,含法律依据补全等扩展信息,不是 skill 包内随附文件)。
5. 对外交付审核修订版 DOCX 与 Word 审查意见书 DOCX。

不得仅输出文字版风险清单、审查摘要或聊天回复来替代文件交付,除非出现以下情形之一:

- 用户明确表示“只要文字意见 / 不需要 Word 文件 / 不需要批注修订版”。
- 当前没有可访问的 DOCX 合同文件,且用户暂未补充文件。
- 缺少审查人身份、客户名称、审查立场、审查目的或审查口径等必需信息,且无法从本地记忆或用户回复中确认。
- 当前运行环境无法写入文件、无法运行脚本或无法回传附件。

出现例外时,必须明确说明阻塞原因,并告诉用户补齐哪些条件后可以继续生成 Word 文件。若文件已生成但暂时无法回传附件,应保留产物路径或文件对象,并明确说明“已生成但尚未完成会话回传”。

用于合同起草与审查的专业辅助技能,重点服务以下场景:

- 审查既有合同,识别风险并提出修改建议。
- 起草新合同,确保条款完整、可执行、可落地。
- 形成更接近律师交付习惯的审查意见书,支持沟通、谈判与复核。
- 在 DOCX 文档中直接添加批注或修订痕迹。

## 二、核心理念

1. 促进交易
- 审查目标是帮助交易安全落地,不是机械否定交易。

2. 全面思考
- 同时考虑我方、对方、履行人员与第三方影响。
- 同时考虑法律后果、商业后果、执行成本。

3. 理性决策
- 按风险等级和业务影响给建议。
- 高风险给明确方案,中低风险给可选方案。

## 三、分层四步审查框架

### 3.1 三层分析

1. 宏观层(交易结构)
- 合同类型是否匹配交易实质。
- 主体是否适格、授权是否完整。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cat-xierluo/legal-skills/contract-copilot@sha256:5d639ab7244f4764

The line at the top of this page pins the label v1.6.3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ywb6dagfbp4i523s.svg)](https://markdownregistry.com/a/art_ywb6dagfbp4i523s)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 13, 2026 and Aug 19, 2026, about one every 17 days.

versioncommittedcommitsizeaudit
v1.6.3 latest2026-08-19 573648e 28,652 BA view · diff
v1.6.32026-08-13 7311ef8 28,770 BA view · diff
v1.6.12026-08-11 7bec733 28,373 BA view · diff
v1.6.02026-08-07 29b19b6 27,602 BA view · diff
v1.5.32026-06-13 37f33cb 24,797 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (28652 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cat-xierluo/legal-skills · 775 stars · license none declared · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ywb6dagfbp4i523s
GET https://markdownregistry.com/api/v1/resolve?ref=cat-xierluo/legal-skills/contract-copilot
GET https://markdownregistry.com/api/v1/blob/5d639ab7244f4764886541b7f5d897d4488e423e95ddfc2a1d04c7f847b7faa5

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from cat-xierluo/legal-skills

AGENTS.md AGENTS.md file
cat-xierluo/legal-skills · AGENTS.md
git:20261016.c4c878c · audit A · 775 stars
CLAUDE.md CLAUDE.md file
cat-xierluo/legal-skills · CLAUDE.md
git:20261016.280e2bf · audit B · 775 stars
agent-email SKILL.md skill
cat-xierluo/legal-skills · skills/agent-email/SKILL.md · Agent 专用邮箱统一管理:让 Claude Code、Codex 等平台的 Agent 用一套命令收发邮件、整理收件箱、分发任务。支持网易 ClawEmail(claw.163.com)和腾讯 Agent Mail(QQ…
v0.4.1 · audit C · 775 stars
apple-smart-schedule SKILL.md skill
cat-xierluo/legal-skills · skills/apple-smart-schedule/SKILL.md · 把一句自然语言(机票/高铁/开庭/会议/截止日期/聚会/看病等)或一张票据截图,自动变成苹果「日历」事件 + 一串按事件类型智能提前的「提醒事项」。在 macOS 上运行、经 iCloud 同步到…
v0.2.0 · audit A · 775 stars
article2book SKILL.md skill
cat-xierluo/legal-skills · skills/article2book/SKILL.md · 基于现有文章、专栏、课程讲稿、逐字稿、访谈、课件、会议纪要、案例材料、PDF 文本、Word 文档和笔记等内容资产,判断它们最适合转化为书、小册子、课程、系列文章、实务手册或知识库,并输出精简策划意见;用户提到“把现有内容整理成书”“判断素…
v1.0.0 · audit A · 775 stars
case-dashboard SKILL.md skill
cat-xierluo/legal-skills · skills/case-dashboard/SKILL.md · 律师案件看板。本地零依赖看板服务(案件总览、任务三态看板、期限预警、进度写回)+周研判分析。当用户说"打开看板/dashboard/案件面板/看下案件进度/给我案件周报研判"时使用。案件状态写入与上下文管理用…
v0.1.0 · audit A · 775 stars
case-progress SKILL.md skill
cat-xierluo/legal-skills · skills/case-progress/SKILL.md · 案件进度与状态台账管理。案件 case.yaml 的唯一写入引擎(新增任务、推进任务、登记期限、更新案件阶段、校验、存量迁移),Agent 会话的进度加载与写回契约,以及案件进度监控对账。当用户或 Agent…
v0.9.0 · audit A · 775 stars
code2patent SKILL.md skill
cat-xierluo/legal-skills · skills/code2patent/SKILL.md · 从已开发代码项目中提取技术实现证据,围绕候选专利方案生成算法/软件类说明书式技术交底书,并以“权利要求布局卡 → 发明专利初稿”两步法继续生成接近可申报版的中国发明专利起草材料。触发场景包括:读取代码仓库后撰写技术交底书、将人工总结的专利方…
v1.6.0 · audit A · 775 stars
course-generator SKILL.md skill
cat-xierluo/legal-skills · skills/course-generator/SKILL.md · 将课程转录稿、逐字稿、讲稿或文献整理为可独立阅读的 Markdown 课程,并通过来源索引、素材账本和确定性验收保留关键案例、操作步骤与专业判断。用户要求从一份或多份现有文本生成课程总览、章节或完整课程时使用。
v2.10.2 · audit A · 775 stars
court-sms SKILL.md skill
cat-xierluo/legal-skills · skills/court-sms/SKILL.md · 本技能应在用户收到法院短信(文书送达、立案通知、开庭提醒等)时使用,自动提取案号、当事人、下载链接,下载文书并归档到对应案件目录。会落盘敏感诉讼数据到本地,请确认目标位置私密。
v1.5.4 · audit A · 775 stars
cross-agent-coordination SKILL.md skill
cat-xierluo/legal-skills · skills/cross-agent-coordination/SKILL.md · 跨平台 Agent 任务协调枢纽。本技能应在多个不同平台的 Agent 需要围绕项目任务源分配任务、标记归属、能力路由和交接上下文时使用。不要用于单一平台内的本地并行执行,或 Git 分支、提交、PR、merge 安全规则。
v1.0.0 · audit A · 775 stars
de-ai-polish SKILL.md skill
cat-xierluo/legal-skills · skills/de-ai-polish/SKILL.md · 检测并修订中文文章正文中的模板腔、姿态腔、隐藏排比、分析型例证同构、重复语义骨架、假排名、固定节拍和其他 AI 化表达,同时保护作者事实、既有标题层级、必要功能性列举、法律术语、Markdown…
v3.2.6 · audit A · 775 stars

Every file in cat-xierluo/legal-skills

Browse by kind, by grade A, or by owner.