contract-comparison

Compare two contract documents and classify changes by favorability and significance.

1.6k|363|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/zubair-trabzada/ai-legal-claude --skill contract-comparison
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contract-comparison
Source: https://github.com/zubair-trabzada/ai-legal-claude/tree/main/skills/legal-compare
Command: npx skills add https://github.com/zubair-trabzada/ai-legal-claude --skill contract-comparison

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

You can automatically identify every difference between two contracts, determine who each change favors, and flag dangerous changes, saving time and reducing risk.

Core Features & Use Cases

  • Compare two documents to identify additions, removals, and modifications
  • Determine favorability and flag dangerous patterns
  • Handle versioned contracts or two entirely different contracts, with clear section-by-section mapping and risk indicators

Quick Start

Provide two contract documents or file paths and run the compare trigger to generate the analysis.

Frequently Asked Questions about contract-comparison

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare two versions of a contract to see which clauses changed?

To compare contract versions, this analysis tool reads both documents, maps their structure, classifies clauses as added, removed, or modified, and outputs a markdown file highlighting every difference. It determines favorability for each clause change.

Can I analyze contract differences to determine which party the changes favor?

Yes, you can analyze contract differences to assess favorability. The comparison evaluates added, removed, and modified clauses to determine which party benefits and flags dangerous changes by assigning Major, Minor, or Cosmetic significance.

What is the best way to identify risk in modified contract clauses?

The best way to identify contract risk is running an automated comparison that assigns significance levels—Major, Minor, or Cosmetic—to modifications and flags dangerous changes, outputting a structured risk analysis markdown report.

Does the contract comparison tool work with two entirely different contracts?

Yes, the contract comparison works with two entirely different contracts as well as versioned drafts of the same document. It maps section-by-section structure to identify and classify additions, removals, and modifications between them.

How do I start comparing contracts if I only have file paths?

To compare contracts using file paths, provide the paths and run the compare trigger. The tool reads the documents via the Read tool or WebFetch and generates a structured CONTRACT-COMPARISON.md file with the full analysis.