Contract Comparison
Compares two contract versions or two competing contracts side by side, showing every change, who it favors and which ones are risky.
What it is
Contract Comparison is for anyone who receives a revised draft of an agreement and needs to know what actually changed, or who is choosing between two offers, such as two vendor contracts or two job agreements. You give it two documents as files, web links or pasted text. The agent works out whether they are two versions of one contract or two separate contracts, labels them, and maps which sections were kept, added, removed or renumbered.
Rather than a loose summary, it compares the documents clause by clause and sorts every difference as added, removed, a change in meaning or a cosmetic edit. Each one is rated major, minor or cosmetic and marked as favoring one party, the other, or neither. It watches for sneaked-in clauses, removed protections such as liability caps, quietly widened definitions, new payment or termination terms, broader indemnification (who pays for whose losses), shifts in who owns intellectual property and new rights for one side to change terms alone.
The result is a report file called CONTRACT-COMPARISON.md with an executive summary, a change table, a section on dangerous changes showing the exact before and after wording, a list of unchanged sections, and a clear verdict on which version is better and what to push back on. When the two files are different contracts rather than versions, it compares equivalent sections instead of tracking edits. It is not legal advice, and it says so at the top.
What it can do
- Tells you whether the two files are versions of one contract or different contracts, and labels them.
- Lists every added, removed, reworded and cosmetic change, quoting the exact text from both documents.
- Rates each change as major, minor or cosmetic and says which party it favors.
- Flags dangerous edits such as dropped liability caps, broader indemnities or a switched governing law.
- Gives an overall verdict on which version is more favorable, with reasons.
- Names the three changes most worth reversing if you have to sign the newer version.
When to use it
- The other side returned your draft with what they call minor edits, and you want to check nothing important slipped in.
- You have two vendor proposals with different terms and need to know which contract is safer to sign.
- Your landlord sent a renewal lease and you want to see exactly how it differs from last year's.
- A client's legal team sent a clean copy with no tracked changes and you need to find what moved.
How it works
- 1Reads both documents from files, links or pasted text and decides which is the earlier and which the later version.
- 2Maps the structure of each to find sections that appear in both, only in one, or were renumbered.
- 3Compares matching clauses and classifies each difference by type, significance and which party it favors.
- 4Checks for a fixed list of dangerous patterns, from stripped protections to one-sided amendment rights.
- 5Writes the CONTRACT-COMPARISON.md report with summary tables, quoted before-and-after text and a recommendation.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/zubair-trabzada/ai-legal-claude/tree/main/skills/legal-compare
pnpm dlx skills add https://github.com/zubair-trabzada/ai-legal-claude/tree/main/skills/legal-compare
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the legal-compare folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/zubair-trabzada/ai-legal-claude.git mkdir -p ~/.claude/skills cp -r ai-legal-claude/skills/legal-compare ~/.claude/skills/legal-compare
Then just ask in plain language, for example: “Compare these two versions of our service agreement and tell me what changed.”
More Office & Documents skills
PPT Master
73kTurns documents, topics or slide images into natively editable PowerPoint decks, and can restyle, refill or narrate decks you already have.
Employment Contract Templates
42kDrafts offer letters, employment agreements and employee handbook policies from fill-in templates, ready for a lawyer to review.
Startup Metrics Framework
42kCalculates and benchmarks the startup numbers investors ask about, from CAC, LTV and burn multiple to retention, GMV and sales pipeline.