Agent skill

Contract Comparison

by zubair-trabzada in zubair-trabzada/ai-legal-claude

Side-by-side comparison of two contract versions or two different contracts with change tracking, favorability analysis, and risk assessment

No licenceAuto-check passedLegal & Compliance

Install Contract Comparison

skills CLI
$ npx skills add zubair-trabzada/ai-legal-claude --skill contract-comparison -a claude-code

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

GitHub CLI
$ gh skill install zubair-trabzada/ai-legal-claude contract-comparison --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/zubair-trabzada/ai-legal-claude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/legal-compare .claude/skills/contract-comparison && 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-comparison
GitHub stars
1.8k
Token cost
~1.8k tokens
SKILL.md length
539 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
None found

At a glance

Side-by-side comparison of two contract versions or two different contracts with change tracking, favorability analysis, and risk assessment

  • Works in 5 steps: Read Both Documents → Structural Comparison → Clause-by-Clause Comparison → …
  • Tasks that involve Contract review
  • SKILL.md covers Trigger and Instructions
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Contract Comparison is an agent skill from zubair-trabzada/ai-legal-claude. Side-by-side comparison of two contract versions or two different contracts with change tracking, favorability analysis, and risk assessment

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Legal & Compliance, covering Contract review. The repository describes itself as: AI Legal Assistant skill for Claude Code. Contract review, risk analysis, NDA generation, compliance auditing, negotiation strategy, and PDF reports — 14 skills, 5 parallel….

When your agent uses it

  • Tasks that involve Contract review

Example prompts

  • “/contract-comparison”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Read Both Documents
  2. Structural Comparison
  3. Clause-by-Clause Comparison
  4. Flag Dangerous Patterns
  5. Generate the Output

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

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

  • Network

    No URLs in SKILL.md.

    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.

Context cost

Contract Comparison loads about 1.8k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 539 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 539 words (~1,828 tokens).

“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.”

— opening of SKILL.md by zubair-trabzada
name
contract-comparison
command
/legal compare <file1> <file2>

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/legal-compare of zubair-trabzada/ai-legal-claude.

Open the folder on GitHubat commit 19ece98

Compare with similar skills

Contract Comparison 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 Comparison compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Contract Comparison this skillzubair-trabzada/ai-legal-claude1.8k—~1.8kAutomated safety check: PassNone
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 zubair-trabzada/ai-legal-claude

  • Counter Proposal Generator

    zubair-trabzada/ai-legal-claude

    Generates specific counter-proposals for every unfavorable clause, with replacement language, negotiation talking points, and a ready-to-send email template

    1.8k GitHub stars~2.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Custom Nda Generator

    zubair-trabzada/ai-legal-claude

    Generates a complete, customized Non-Disclosure Agreement with plain English annotations, tailored to the specific parties and situation

    1.8k GitHub stars~2.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Deep Risk Analysis

    zubair-trabzada/ai-legal-claude

    Clause-by-clause contract risk analysis with severity scoring, financial exposure estimates, and prioritized remediation guidance

    1.8k GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Plain English Translation

    zubair-trabzada/ai-legal-claude

    Translates every clause of a contract from legalese into clear, plain English with flags for deliberately confusing or misleading language

    1.8k GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Terms Of Service Generator

    zubair-trabzada/ai-legal-claude

    Generates complete, GDPR/CCPA-compliant Terms of Service for a website or SaaS product, with plain English summaries for each section

    1.8k GitHub stars~2.9k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Contract Comparison

What does Contract Comparison do?

Side-by-side comparison of two contract versions or two different contracts with change tracking, favorability analysis, and risk assessment. Contract Comparison is an agent skill from zubair-trabzada/ai-legal-claude.

When should I use Contract Comparison?

Contract Comparison fits situations like: tasks that involve Contract review.

How do I install Contract Comparison in Claude Code?

Run `npx skills add zubair-trabzada/ai-legal-claude --skill contract-comparison -a claude-code`. Or copy the skill folder (skills/legal-compare in zubair-trabzada/ai-legal-claude) into .claude/skills/contract-comparison in your project. Claude Code loads it when a task matches its description.

How do I install Contract Comparison in Codex?

Run `npx skills add zubair-trabzada/ai-legal-claude --skill contract-comparison -a codex`. Or copy the skill folder (skills/legal-compare in zubair-trabzada/ai-legal-claude) into .agents/skills/contract-comparison in your project. Codex loads it when a task matches its description.

Can I use Contract Comparison 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 zubair-trabzada/ai-legal-claude --skill contract-comparison -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-comparison, .gemini/skills/contract-comparison, .github/skills/contract-comparison and .opencode/skills/contract-comparison in your project.

What does Contract Comparison need to run?

SKILL.md names no scripts, command-line tools or credentials: Contract Comparison is instructions for the agent only.

Does Contract Comparison access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Contract Comparison 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 Comparison use?

No licence was found for Contract Comparison or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Contract Comparison use?

About 1.8k tokens (SKILL.md is roughly 7.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 Comparison?

Skills that share tags, products or a category with Contract Comparison: 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 Comparison?

zubair-trabzada (a GitHub user) maintains it in zubair-trabzada/ai-legal-claude, which has 1,780 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on March 27, 2026.

Source: zubair-trabzada/ai-legal-claude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.