contract-review
Orchestrates a comprehensive multi-agent contract review that analyzes risk, plain-English translation, missing protections, and compliance in parallel. Use when a user shares a contract and wants a full review, safety score, or executive summary. Trigger with "/contract-review" or "review this contract".
What this skill does
# Contract Review — Multi-Agent Orchestrator
Flagship contract review skill that spawns five parallel analysis agents, then
aggregates their findings into a single executive report with a Contract Safety
Score. Designed for founders, freelancers, and small-business operators who need
to understand what they are signing without retaining outside counsel for every
agreement.
## Overview
Most contracts arrive as walls of dense legalese. A single-pass review misses
nuance. This skill mirrors how a law firm reviews contracts: multiple
specialists work in parallel, each with a different lens, then a senior partner
synthesizes everything into a recommendation.
The orchestrator:
1. Ingests the contract (file path or pasted text).
2. Classifies the contract type and extracts metadata.
3. Launches five parallel agents (risk, plain-English, missing protections,
compliance, and party-balance analysis).
4. Aggregates results into a unified report with a 0-100 Contract Safety Score.
## Prerequisites
- The contract must be provided as a file path to a readable document (PDF,
DOCX, TXT, MD) or pasted directly into the conversation.
- For file-based input the file must exist and be accessible via the Read tool.
- No external APIs or network access are required.
## Instructions
1. **Ingest the contract.**
- If a file path is provided, read the full document with the Read tool.
- If the text is pasted, capture it verbatim.
- Confirm the document length; warn if it exceeds 50 pages.
2. **Classify the contract.**
Determine the contract type from one of the following categories:
- Employment Agreement
- Independent Contractor / Freelance Agreement
- Non-Disclosure Agreement (NDA)
- Master Services Agreement (MSA)
- Software License / SaaS Agreement
- Terms of Service / Terms of Use
- Privacy Policy / Data Processing Agreement
- Partnership / Joint Venture Agreement
- Lease / Real Estate Agreement
- Other (describe)
3. **Extract metadata.**
Capture: parties, effective date, term/duration, governing law,
dispute resolution mechanism, total contract value (if stated).
4. **Launch five parallel agents using the Task tool.**
Each agent receives the full contract text and returns structured findings.
| Agent | Focus | Key Deliverable |
|-------|-------|-----------------|
| Risk Analyst | Clause-by-clause risk scoring across 10 categories | Risk heat map, poison pill flags |
| Plain-English Translator | 8th-grade reading level rewrite | Clause-by-clause translation with flags |
| Protection Auditor | Gap analysis against type-specific checklists | Missing protections with urgency ratings |
| Compliance Checker | Regulatory alignment (GDPR, CCPA, labor law basics) | Compliance findings table |
| Party-Balance Analyst | Fairness tilt between the parties | Asymmetry flags, one-sided clause list |
5. **Aggregate results.**
Combine all five agent reports into a unified document with these sections:
- Executive Summary (3-5 bullet points)
- Contract Metadata table
- Contract Safety Score (0-100) with letter grade
- Risk Heat Map (top 5 risks ranked by severity)
- Plain-English Quick Reference (critical clauses only)
- Missing Protections (critical and important only)
- Compliance Findings
- Party-Balance Assessment
- Recommended Next Steps (negotiate, accept, reject, consult attorney)
6. **Compute the Contract Safety Score.**
Weighted formula:
| Component | Weight | Source Agent |
|-----------|--------|-------------|
| Risk severity (inverse) | 30% | Risk Analyst |
| Protection coverage | 25% | Protection Auditor |
| Party balance | 20% | Party-Balance Analyst |
| Compliance alignment | 15% | Compliance Checker |
| Language clarity | 10% | Plain-English Translator |
Letter grades: A (90-100), B (80-89), C (70-79), D (60-69), F (< 60).
7. **Present the final report** in the conversation and note the output
filename.
## Output
**Filename:** `CONTRACT-REVIEW-{party-or-title}-{YYYY-MM-DD}.md`
The report uses Markdown with tables and follows this structure:
```
# Contract Review Report
## Executive Summary
## Contract Metadata
## Contract Safety Score: [score]/100 ([grade])
## Risk Heat Map
## Plain-English Quick Reference
## Missing Protections
## Compliance Findings
## Party-Balance Assessment
## Recommended Next Steps
## Disclaimer
```
## Error Handling
| Failure Mode | Cause | Resolution |
|--------------|-------|------------|
| File not found | Path is incorrect or file missing | Ask the user to confirm the file path |
| Unreadable format | Binary or encrypted document | Ask for a plain-text or PDF version |
| Document too long | Exceeds context window | Summarize by section; warn about truncation |
| Agent timeout | One parallel agent fails to return | Report partial results; note which agent failed |
| Ambiguous contract type | Cannot classify confidently | Ask the user to confirm the contract type |
## Examples
**Example 1 — File-based review:**
> User: Review the contract at `~/contracts/acme-msa-2026.pdf`
The orchestrator reads the file, classifies it as a Master Services Agreement,
launches five agents, and produces a report:
```
Contract Safety Score: 72/100 (C)
Top Risk: Unlimited indemnification liability (Section 8.2)
Missing: No force majeure clause, no data breach notification timeline
Balance: Tilts 65/35 in favor of Acme Corp
Recommendation: Negotiate Sections 8.2 and 12.1 before signing
```
**Example 2 — Pasted text:**
> User: Review this contract: [pasted NDA text]
The orchestrator classifies it as a Mutual NDA, flags a unilateral
non-solicitation clause hidden in the definitions, and scores it 58/100 (F).
## Resources
- [CommonPaper Standard Contracts](https://commonpaper.com/) — Open-source
contract templates (CC BY 4.0) used as comparison baselines.
- [American Bar Association Model Contract Clauses](https://www.americanbar.org/)
— Authoritative clause language references.
- [Restatement (Second) of Contracts](https://www.ali.org/) — American Law
Institute's foundational contract law principles.
- [GDPR Full Text](https://gdpr-info.eu/) — EU data protection regulation.
- [CCPA Full Text](https://oag.ca.gov/privacy/ccpa) — California Consumer
Privacy Act via the CA Attorney General.
---
**Legal Disclaimer:** This skill provides AI-generated analysis 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. Contract interpretation depends on jurisdiction,
context, and specific facts that an AI cannot fully evaluate. Always consult a
licensed attorney before making legal decisions based on this analysis.
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.