evolsb/claude-legal-skill

AI-powered contract review skill with CUAD risk detection, market benchmarks, and lawyer-ready redlines. Works with Claude Code, Codex, Cursor, and 26+ tools.

What it solves

This project provides an AI-powered contract review system designed to be a drop-in skill for AI coding assistants. It addresses the gap between expensive enterprise legal AI and generic checklists by offering position-aware risk detection, market benchmarks, and specific redline suggestions for various contract types (NDAs, SaaS, M&A, etc.) directly within a developer's workflow.

How it works

The tool is implemented as an "Agent Skill" compatible with tools like Claude Code, Cursor, and GitHub Copilot. It leverages the CUAD dataset (containing 41 legal risk categories from real contracts) to analyze documents. It allows users to specify their role in the contract (e.g., buyer vs. seller) to adjust risk flagging and outputs structured JSON redlines that can be converted into professional Word documents or PDFs using a companion tool called legal-redline-tools.

Who it’s for

It is primarily for individuals and developers who need a first-pass legal review of contracts without immediate access to enterprise legal software or a lawyer, allowing them to identify red flags and prepare for negotiations.

Highlights

  • Position-Aware Analysis: Adjusts risk assessments based on whether the user is the customer, vendor, buyer, or seller.
  • Document-Specific Checklists: Tailored reviews for NDAs, SaaS/MSA, Payment/Merchant, M&A, and Broker agreements.
  • Market Benchmarking: Compares contract terms against industry norms to identify "Yellow" or "Red" flags.
  • Concrete Redlines: Provides actual replacement language for clauses rather than generic advice to negotiate.
  • Jurisdiction Awareness: Flags enforceability issues based on specific US state laws (e.g., non-competes in California).

Related

  • Project
  • Project
  • Project
  • Project
  • Project