AI Agent Hub
Back to skills
Contract Diff Comparison icon

Contract Diff Comparison

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_70c2f807/contract-diff-comparison according to https://skillhub.cn/install/skillhub.md.

About this skill

What It Solves

When a contract has been through several revisions, it is hard to tell quickly what changed, which edits affect money, deadlines, or liability, and whether a critical clause was moved or rewritten. Manual line-by-line reading is slow and easy to miss. This skill compares two versions of the same contract at the text level: provide the original and revised versions, then get a severity-sorted diff list with original-to-revised pairs, without replacing legal review.

How It Works

The skill aligns the two texts paragraph by paragraph and marks three types of changes: additions present only in the revised version, deletions missing from the revised version, and modifications where the same position has different wording. It then groups results by impact:

  • Critical clause changes: amounts, deadlines, liability, penalties, intellectual property, and similar terms.
  • General clause changes: wording adjustments, ordering changes, and non-core phrasing edits.
  • Formatting changes: punctuation, numbering, spacing, etc., listed separately to avoid noise.

The output prioritizes business-relevant changes and shows an original-to-revised comparison. For numeric changes such as amounts, dates, and percentages, it can include impact notes, for example the percentage change in an amount. If needed, it can also generate a short confirmation letter. The report is Markdown, making it easy to paste into docs or email.

Limits

The skill requires two texts; it cannot find issues from a single contract alone. It supports Chinese and English contracts, but PDF and Word files should be converted to plain text or Markdown first. Keep a single comparison under roughly 5,000 words; longer contracts are better handled section by section. It describes differences only and does not judge legal validity, risk, or commercial reasonableness. It is not a replacement for code diffs, contract drafting, signature workflows, or collaborative editing history. If the contract contains sensitive company names, amounts, or clauses, redact them before submission.

Use Cases

  • When a counterparty returns a revised contract, list added, deleted, and modified clauses against the original.
  • When amounts, deadlines, or penalties change, generate a severity-sorted diff list for confirmation.
  • When a contract has several versions, compare sections to locate key clause changes and formatting edits.
  • Turn two contract texts into a structured diff report that can be pasted into docs or email.

Best For

  • Operations staff tracking commercial contracts who need to confirm which clauses changed after a counterparty revision.
  • Business assistants maintaining contract version records who need to turn two versions into a sendable confirmation note.
  • Contract review specialists who need to locate changes in amounts, deadlines, or liability before signing.
  • Project leads managing Markdown contract drafts who need an archived structured diff report.