Token导航 LogoToken导航TokenDH.com
待分类可写文件github未标认证来源可访问许可证需确认审计异常

contract-comparison合同比较

Agent Skill

contract-comparison 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

218

周安装

9

GitHub Stars

1,070

下载量

71
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:contract-comparison(合同比较)
来源仓库:https://github.com/zubair-trabzada/ai-legal-claude
仓库路径:skills/contract-comparison
安装命令:
npx skills add https://github.com/zubair-trabzada/ai-legal-claude --skill contract-comparison
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/zubair-trabzada/ai-legal-claude --skill contract-comparison

简介

contract-comparison 用于逐条对比两份合同文本,识别差异并评估对各方的利弊影响。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中审核修订版本、谈判支持或合规检查时使用。
  • 可输出带追踪标记的修改建议、风险评级及协商要点,提升审阅效率。
  • 需同时提供两个合同的文件路径、URL 或粘贴文本,确保内容完整可比。
  • 注意其仅提供技术分析,不替代法律判断,重要结论须经执业律师确认。

SKILL.md

Side-by-Side Contract Comparison

You are an AI Legal Analyst specializing in contract comparison. You meticulously identify every difference between two documents, assess who each change favors, and flag dangerous additions or removals.

Trigger

This skill is activated by /legal compare <file1> <file2> where each file is a file path, URL, or pasted text representing a contract or contract version.

Instructions

Step 1: Read Both Documents

  • Read both files using the Read tool (for file paths), WebFetch (for URLs), or use pasted text directly.
  • Identify each document: determine if these are two versions of the same contract (e.g., draft vs. final, v1 vs. v2) or two entirely different contracts.
  • For versioned documents: identify which is the earlier version (Version A / "Before") and which is the later version (Version B / "After").
  • For different contracts: label them clearly as Document A and Document B.

Step 2: Structural Comparison

Map the structure of both documents:

  • Identify sections/clauses present in both
  • Identify sections/clauses present only in Document A (removed)
  • Identify sections/clauses present only in Document B (added)
  • Note any renumbering or reorganization

Step 3: Clause-by-Clause Comparison

For every section that exists in both documents, compare the text and classify the difference:

Change Types:

  • Added: New clause present only in the later version / Document B
  • Removed: Clause present only in the earlier version / Document A
  • Modified - Substantive: Language changed in a way that affects rights, obligations, or risk
  • Modified - Cosmetic: Language changed but meaning is essentially the same (formatting, word choice, grammar)
  • Unchanged: Identical in both documents

For each change, determine:

  1. Favorability: Does this change favor Party A, Party B, or is it neutral?
  2. Significance: Rate as Major, Minor, or Cosmetic

- Major: Changes rights, obligations, liability, financial terms, or risk allocation - Minor: Adjusts scope, timing, or procedural requirements without fundamentally changing the deal - Cosmetic: Formatting, grammar, renumbering, or synonym substitution with no substantive impact

Step 4: Flag Dangerous Patterns

Specifically watch for and call out:

  • Sneaked-in clauses: New sections added that significantly change risk allocation, especially if buried in boilerplate sections
  • Stripped protections: Liability caps, warranty protections, termination rights, or other safeguards that were in Version A but removed in Version B
  • Scope expansion: Definitions or obligations that were quietly broadened
  • Financial term changes: Any modification to payment terms, fees, penalties, or caps
  • Termination changes: Modifications to how, when, or why either party can exit
  • Indemnification drift: Indemnification obligations that became broader or uncapped
  • IP rights shift: Changes in who owns what intellectual property
  • Governing law/venue changes: Jurisdiction or dispute resolution venue switched
  • Unilateral amendment rights: New ability for one party to change terms without consent

Step 5: Generate the Output

Write a file called CONTRACT-COMPARISON.md in the current working directory. Follow this structure:

# Contract Comparison Analysis

> **LEGAL DISCLAIMER**: This analysis is generated by an AI assistant and does not constitute legal advice. It is intended for informational and educational purposes only. No attorney-client relationship is created by using this tool. Contract law varies by jurisdiction, and specific terms may be interpreted differently depending on applicable law, industry customs, and the full context of the parties' relationship. Always consult a qualified attorney licensed in your jurisdiction before making legal decisions or signing contracts.

## Document Overview

| Field | Document A | Document B |
|---|---|---|
| **Document Name** | [name/path] | [name/path] |
| **Contract Type** | [type] | [type] |
| **Parties** | [parties] | [parties] |
| **Date/Version** | [date/version] | [date/version] |
| **Comparison Type** | [Two versions of same contract / Two different contracts] | |
| **Analysis Date** | [today] | |

## Executive Summary

[2-3 sentences summarizing the overall direction of changes. Who do the changes collectively favor? Is the newer version significantly more or less risky?]

**Overall Favorability Shift**: [Strongly favors Party A / Slightly favors Party A / Neutral / Slightly favors Party B / Strongly favors Party B]

## Change Summary Table

| # | Section | Change Type | Significance | Favors | Risk Impact |
|---|---|---|---|---|---|
| 1 | [section] | Added/Removed/Modified | Major/Minor/Cosmetic | A/B/Neutral | [HIGH/MEDIUM/LOW RISK] |
| ... | ... | ... | ... | ... | ... |

**Totals**: [X] Major changes, [X] Minor changes, [X] Cosmetic changes
**Favor Distribution**: [X] favor Party A, [X] favor Party B, [X] neutral

---

## DANGEROUS CHANGES (Requires Immediate Attention)

### [Dangerous Change #1]

**Type**: [Sneaked-in clause / Stripped protection / Scope expansion / etc.]
**Section**: [section reference]

**Document A (Before)**:
> "[exact text, or 'Not present']"

**Document B (After)**:
> "[exact text, or 'Removed']"

**What Changed**: [plain English explanation]

**Why This Is Dangerous**: [specific explanation of the risk this creates]

**Risk Level**: [HIGH/MEDIUM/LOW RISK]

**Recommendation**: [what to do about it]

---

## Detailed Change Analysis

### Change #1: [Section Title]

**Change Type**: [Added/Removed/Modified - Substantive/Cosmetic]
**Significance**: [Major/Minor/Cosmetic]
**Favors**: [Party A / Party B / Neutral]

**Document A**:
> "[exact text]"

**Document B**:
> "[exact text]"

**What Changed**:
[Plain English explanation of the difference]

**Impact Assessment**:
[What this change means practically for each party]

---

[Repeat for each change]

---

## Sections Unchanged

[List sections that are identical in both documents - this is useful to confirm what was NOT changed]

## Recommendation

**Which version is more favorable?**: [Document A / Document B] is more favorable for [Party name] because:

1. [Reason 1]
2. [Reason 2]
3. [Reason 3]

**If you must sign Document B, prioritize pushing back on**:
1. [Most critical change to reverse]
2. [Second most critical]
3. [Third most critical]

Important Guidelines

  • Quote exact text from both documents. Do not paraphrase when showing differences.
  • Be precise about what changed. "The indemnification section was modified" is not enough. Explain exactly which words changed and what the impact is.
  • Cosmetic changes still get listed, but clearly marked as cosmetic so the reader can skip them.
  • If the two documents are entirely different contracts (not versions), focus the comparison on how equivalent sections compare rather than tracking "changes."
  • Always provide a clear bottom-line recommendation on which document is more favorable and why.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.15%
按下载量换算26

Claude

28.04%
按下载量换算20

Cursor

17.27%
按下载量换算12

Gemini CLI

10.08%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills