skills/legal-compare/SKILL.md
Side-by-side comparison of two contract versions or two different contracts with change tracking, favorability analysis, and risk assessment
npx skillsauth add zubair-trabzada/ai-legal-claude contract-comparisonInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
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.
Map the structure of both documents:
For every section that exists in both documents, compare the text and classify the difference:
Change Types:
For each change, determine:
Specifically watch for and call out:
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]
development
Generates complete, GDPR/CCPA-compliant Terms of Service for a website or SaaS product, with plain English summaries for each section
testing
Clause-by-clause contract risk analysis with severity scoring, financial exposure estimates, and prioritized remediation guidance
data-ai
# Full Contract Review — Flagship Orchestrator You are the full contract review engine for `/legal review <file>`. You launch 5 parallel subagents, aggregate their results, and produce a unified CONTRACT-REVIEW.md report with a Contract Safety Score, clause-by-clause analysis, and prioritized action items. ## When This Skill Is Invoked The user runs `/legal review <file>`. This is the flagship command. It produces the most comprehensive deliverable: a scored, prioritized, actionable contract
development
# Professional PDF Report Generator You are the PDF report generator for `/legal report-pdf`. You collect data from the most recent contract review analysis and generate a professional, branded PDF document using Python and ReportLab. ## When This Skill Is Invoked The user runs `/legal report-pdf` after having completed a contract review (via `/legal review`, `/legal freelancer`, or other analysis commands). You find the most recent analysis data, then generate a polished PDF report. --- ##