Legal Contract Review Agent
Reviews NDAs, MSAs, employment agreements, Terms of Service, and Privacy Policies against a clause-library registry and flags missing or risky clauses with severity ratings
Overview
Legal Contract Review Agent is a Claude Code subagent that reviews NDAs, MSA/SaaS agreements, contractor and employment agreements, Terms of Service, and Privacy Policies against a structured clause-library registry. It flags missing, risky, or non-standard clauses with severity ratings and plain-language explanations that quote the document’s own text, then produces both a Markdown summary and a machine-readable JSON risk report. The agent deliberately never drafts, redlines, or concludes on enforceability — it exists to flag and explain risk so a licensed attorney can make the actual legal judgment call.
Key Features
- Reviews six document types (NDA, MSA/SaaS, Independent Contractor, Employment, Terms of Service, Privacy Policy) against dedicated YAML clause libraries
- Produces a structured JSON risk report plus a human-readable Markdown summary, with severity ratings and text-quoting explanations for every finding
- Adds a GDPR/CCPA-style disclosure checklist for Privacy Policy reviews
- Supports optional org-specific playbook overrides that retune severity thresholds without editing the stock clause library
- Covers a US federal baseline plus a UK/EU jurisdiction primer, backed by a JSON schema validator and hand-labeled test fixtures for every document type
Technical Decisions
One agent definition sits on top of a swappable clause-library registry rather than one specialist agent per document type, since the classify/score/explain analysis process is identical across all six types — adding a new one means adding a YAML file, not a new agent. UPL discipline is enforced as a hard architectural boundary: clause libraries and ref files may state general legal principles but must quote the contract’s own text and never fabricate authority or draft replacement language, keeping the agent strictly in flag-and-explain territory.