Compares two contract versions side-by-side to detect added, removed, and modified clauses with favorability analysis.

MITAuto-check passedLegal & Compliance

Install Contract Compare

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill contract-compare -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace contract-compare --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/contract-compare .claude/skills/contract-compare && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
contract-compare
GitHub stars
2.8k
Token cost
~2.1k tokens
SKILL.md length
689 words
Files
1
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Compares two contract versions side-by-side to detect added, removed, and modified clauses with favorability analysis.

  • Works in 7 steps: Ingest both versions. Read each document… → Establish the structural map. Create a… → Perform clause-level comparison. For… → …
  • A user receives a revised contract
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Contract Compare is an agent skill from jeremylongshore/tons-of-skills-marketplace. Compares two contract versions side-by-side to detect added, removed, and modified clauses with favorability analysis. Use when a user receives a revised contract or redline and needs to understand what changed and who each change favors. Trigger with "/contract-compare" or "compare these two contracts".

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code

It sits in Legal & Compliance, covering Contract review. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • A user receives a revised contract
  • Redline and needs to understand what changed and who each change favors
  • With /contract-compare
  • Compare these two contracts

Example prompts

  • “/contract-compare”
  • “compare these two contracts”
  • “Use the contract-compare skill to compare two contract versions side-by-side to detect added, removed, and modified clauses with favorability analysis”
  • “/contract-compare”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Glob, Grep

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Ingest both versions. Read each document in full. If file paths are
  2. Establish the structural map. Create a section-by-section outline of both
  3. Perform clause-level comparison. For each section, classify changes into
  4. Analyze favorability. For each non-trivial change, determine
  5. Detect dangerous patterns. Specifically scan for
  6. Calculate the favorability balance. Tally all changes by which party
  7. Generate the comparison report with all findings organized by section.

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • commonpaper.com
    • americanbar.org
    • law.cornell.edu
    • ali.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Contract Compare loads about 2.1k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 689 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 689 words, ~2,063 tokens.

Download SKILL.mdSave it as .claude/skills/contract-compare/SKILL.md (or your agent's skills folder).
name
contract-compare
description
Compares two contract versions side-by-side to detect added, removed, and modified clauses with favorability analysis. Use when a user receives a revised contract or redline and needs to understand what changed and who each change favors. Trigger with "/contract-compare" or "compare these two contracts".
allowed-tools
Read, Glob, Grep
compatibility
Designed for Claude Code
version
1.1.0
author
Intent Solutions <jeremy@intentsolutions.io>
license
MIT
tags
legal, contracts, comparison, redline, negotiation, diff

Contract Compare — Version Comparison and Favorability Analysis

Side-by-side contract comparison skill that identifies every change between two versions, classifies each change by type and severity, and determines which party each modification favors. Essential during negotiation rounds when a counterparty returns a revised draft.

Overview

When a counterparty returns a revised contract, the changes they made — and the changes they quietly did not make — tell a story about their priorities and strategy. This skill performs a structured comparison that surfaces not just what changed, but the strategic significance of each change.

It detects three dangerous patterns that manual review frequently misses: indemnification drift (gradual shifting of liability across revisions), IP scope creep (expanding intellectual property assignment through small wording tweaks), and definition manipulation (redefining key terms to alter clause meaning without touching the clauses themselves).

Prerequisites

  • Two versions of the same contract must be provided, either as:
    • Two file paths (e.g., contract-v1.pdf and contract-v2.pdf)
    • One file path and one pasted text block
    • Two pasted text blocks labeled "Version A" and "Version B"
  • The user should specify which version is the original (baseline) and which is the revision. If not specified, assume the first provided is the original.

Instructions

  1. Ingest both versions. Read each document in full. If file paths are provided, use the Read tool.

  2. Establish the structural map. Create a section-by-section outline of both documents. Note any structural changes (sections added, removed, renumbered, or reordered).

  3. Perform clause-level comparison. For each section, classify changes into:

    Change TypeSymbolDescription
    Added+Entirely new clause or section
    Removed-Clause present in original but absent in revision
    Modified~Wording changed within an existing clause
    Moved->Same content relocated to a different section
    Unchanged=No material difference
  4. Analyze favorability. For each non-trivial change, determine:

    • Who it favors: Party A, Party B, Neutral, or Unclear
    • Severity: Minor (cosmetic/clarification), Moderate (shifts rights or obligations), Major (materially alters risk or liability)
    • Strategic signal: What the change reveals about the counterparty's priorities or concerns
  5. Detect dangerous patterns. Specifically scan for:

    • Indemnification drift: Liability caps that decreased, indemnification scope that expanded, or duty-to-defend language that appeared
    • IP scope creep: Broader work-for-hire language, removal of background IP carve-outs, expansion of "deliverables" definition
    • Definition manipulation: Changes to defined terms in the definitions section that alter the meaning of clauses elsewhere without modifying those clauses directly
    • Silent removals: Protections present in the original that were quietly deleted (e.g., cure periods, notice requirements, caps)
    • Boilerplate weaponization: Changes to "standard" sections like governing law, dispute resolution, or assignment that shift advantage
  6. Calculate the favorability balance. Tally all changes by which party they favor and the severity weight:

    Party A Score = (Major changes favoring A x 3) + (Moderate x 2) + (Minor x 1)
    Party B Score = same formula for B
    Balance: A-favored / B-favored / Balanced
  7. Generate the comparison report with all findings organized by section.

Show full SKILL.md (240 more words)Show less

Output

Filename: CONTRACT-COMPARISON-{YYYY-MM-DD}.md

# Contract Comparison Report
## Documents Compared
| | Version A (Original) | Version B (Revision) |
## Summary of Changes
| Change Type | Count |
## Change Log (by section)
| Section | Change Type | Description | Favors | Severity |
## Dangerous Pattern Alerts
## Favorability Balance
## Silent Removals
## Negotiation Strategy Recommendations
## Disclaimer

Error Handling

Failure ModeCauseResolution
Documents are unrelatedTwo entirely different contracts providedWarn the user and ask for confirmation before proceeding
Structural mismatchDifferent section numbering schemesMap sections by content, not by number
Missing version identifierUser did not specify which is originalAsk which version is the baseline
Partial documentOne version is incomplete or truncatedNote the gaps; compare only overlapping sections
Format mismatchOne is formatted text, other is rawNormalize both to plain text before comparing

Examples

Example 1 — MSA negotiation round:

User: Compare ~/contracts/acme-msa-v1.pdf with ~/contracts/acme-msa-v2.pdf

Summary: 14 changes detected across 23 sections.

Key Changes:
1. Section 5.1 (IP Assignment) [MODIFIED] — Severity: MAJOR
   Original: "Work product created under SOW is assigned to Client"
   Revision: "Work product created in connection with the engagement
   is assigned to Client"
   Favors: Client | Signal: Expanding IP scope beyond SOW deliverables

2. Section 8.3 (Liability Cap) [MODIFIED] — Severity: MAJOR
   Original: "Liability capped at 12 months of fees paid"
   Revision: "Liability capped at fees paid in the preceding 3 months"
   Favors: Vendor | Signal: 75% reduction in liability exposure

3. Section 2 (Definitions) [MODIFIED] — Severity: MAJOR
   "Confidential Information" definition expanded to include
   "business strategies and future product plans" — broadens
   confidentiality obligations without touching Section 7.

DANGEROUS PATTERN: Definition manipulation detected.
The revision altered 3 defined terms that collectively change
the meaning of 7 other clauses without modifying those clauses.

Favorability Balance: 9 changes favor Client, 4 favor Vendor, 1 Neutral
Overall Tilt: Client-favored revision

Example 2 — Employment agreement revision:

User: My employer sent back a revised offer. Compare the original with this new version. [pastes both]

SILENT REMOVAL ALERT:
Original Section 4(d) — "Employee may terminate with 2 weeks notice
for any reason" — has been removed entirely. The revision contains
no voluntary termination provision for the employee, while the
employer retains at-will termination rights in Section 4(a).

Resources


Legal Disclaimer: This skill provides AI-generated contract comparison for informational and educational purposes only. It does not constitute legal advice, create an attorney-client relationship, or substitute for consultation with a qualified attorney. Comparison accuracy depends on the quality of input documents and may miss changes in formatting, embedded objects, or metadata. Always consult a licensed attorney before acting on comparison findings.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/.curated/contract-compare of jeremylongshore/tons-of-skills-marketplace.

Open the folder on GitHubat commit cfae287

Compare with similar skills

Contract Compare next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Contract Compare compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Contract Compare this skilljeremylongshore/tons-of-skills-marketplace2.8k—~2.1kAutomated safety check: PassMIT
Contract Reviewevolsb/claude-legal-skill4641 repos~3.6kAutomated safety check: PassMIT
Commercial Legal Plapiotrowski-afk/commercial-legal-pl1761 repos~4.1kAutomated safety check: PassApache-2.0
Hand Drawnthreerocks/hand-drawn-styles2.2k—~398Automated safety check: PassMIT
Tabular Document Reviewanthropics/claude-for-legal9.6k3 repos~4.3kAutomated safety check: PassApache-2.0
Tw Formal WritingImbad0202/tw-formal-writing179—~1kAutomated safety check: PassMIT

Similar skills

  • Contract Review

    evolsb/claude-legal-skill

    Review legal contracts, NDAs, employment agreements, SaaS terms, and M&A documents.

    464 GitHub starsUsed in 1 repo~3.6k tokens
    Legal & ComplianceAuto-check passed
  • Commercial Legal Pl

    apiotrowski-afk/commercial-legal-pl

    Skill do analizy i tworzenia umów według polskiego prawa, ze szczególnym uwzględnieniem umów B2B, IP i IT (body leasing, NDA, wdrożenia, SaaS, przeniesienie praw autorskich, ugody).

    176 GitHub starsUsed in 1 repo~4.1k tokens
    Legal & ComplianceAuto-check passed
  • Hand Drawn

    threerocks/hand-drawn-styles

    A skill your agent uses when users ask for a hand-drawn or illustrated image prompt, name one of the repository's 20 numbered styles or the 3.1 stable variant, or mention triggers such as…

    2.2k GitHub stars~398 tokensUpdated 2 days ago
    Legal & ComplianceAuto-check passed
  • Tabular Document Review

    anthropics/claude-for-legal

    Official

    Builds a review grid with one row per document and one column per data point, each cell cited to a verbatim quote, built for M&A diligence and other batch reviews.

    9.6k GitHub starsUsed in 3 repos~4.3k tokens
    Legal & ComplianceAuto-check passed
  • Tw Formal Writing

    Imbad0202/tw-formal-writing

    台灣正式文件撰寫助手 — 涵蓋政府公文、政府機關其他文件、法律文件、人民對政府文書四類中文正式文件的撰寫(不含學術論文、商業文書、私人書信等,見下方排除清單)。

    179 GitHub stars~1k tokensUpdated 16 days ago
    Legal & ComplianceAuto-check passed
  • Contract Review Pro

    CSlawyer1985/contract-review-pro

    专业合同审核 Skill:7步工作流(含立场声明、框架审阅、类型路由)、5类通用门禁+16个专项门禁、终稿三件套+HTML可视化报告、8维度风险评分、修订5分类路由。完全自包含,零外部依赖。

    277 GitHub stars~2.3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Contract Compare

What does Contract Compare do?

Compares two contract versions side-by-side to detect added, removed, and modified clauses with favorability analysis. Contract Compare is an agent skill from jeremylongshore/tons-of-skills-marketplace. Compares two contract versions side-by-side to detect added, removed, and modified clauses with favorability analysis.

When should I use Contract Compare?

Contract Compare fits situations like: A user receives a revised contract; redline and needs to understand what changed and who each change favors; with /contract-compare; compare these two contracts.

How do I install Contract Compare in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill contract-compare -a claude-code`. Or copy the skill folder (skills/.curated/contract-compare in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/contract-compare in your project. Claude Code loads it when a task matches its description.

How do I install Contract Compare in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill contract-compare -a codex`. Or copy the skill folder (skills/.curated/contract-compare in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/contract-compare in your project. Codex loads it when a task matches its description.

Can I use Contract Compare in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill contract-compare -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/contract-compare, .gemini/skills/contract-compare, .github/skills/contract-compare and .opencode/skills/contract-compare in your project.

What does Contract Compare need to run?

SKILL.md names no scripts, command-line tools or credentials: Contract Compare is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep. Compatibility (from SKILL.md): Designed for Claude Code.

Does Contract Compare access the network?

SKILL.md names 4 domains. As links in the text: commonpaper.com, americanbar.org, law.cornell.edu and ali.org. This is read from the text; nothing was executed.

Is Contract Compare safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Contract Compare use?

Contract Compare is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Contract Compare use?

About 2.1k tokens (SKILL.md is roughly 8.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Contract Compare?

Skills that share tags, products or a category with Contract Compare: Contract Review (evolsb/claude-legal-skill, 464 stars), Commercial Legal Pl (apiotrowski-afk/commercial-legal-pl, 176 stars), Hand Drawn (threerocks/hand-drawn-styles, 2.2k stars) and Tabular Document Review (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Contract Compare?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.