Orchestrates parallel subagents to perform comprehensive contract analysis, scoring, and risk flagging.

Install

mkdir -p .claude/skills/legal-review && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16124" && unzip -o skill.zip -d .claude/skills/legal-review && rm skill.zip

Installs to .claude/skills/legal-review

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

You are the full contract review engine for `/legal review <file>`. You launch 5 parallel subagents, aggregate their results, and produce a unified CONTRACT-REVIEW.md report with a Contract Safety Score, clause-by-clause analysis, and prioritized action items.
260 chars · catalog descriptionno explicit “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Ingest contract text from file, pasted text, or URL
  • Classify contract type
  • Extract contract metadata
  • Launch parallel subagents for clause analysis, risk assessment, compliance, terms, and recommendations
  • Aggregate subagent results into a unified report

How it works

The skill ingests a contract, classifies its type, extracts metadata, then launches five parallel subagents to analyze different aspects of the contract, finally aggregating their findings into a complete report.

Inputs & outputs

You give it
a contract document (file path, text, or URL)
You get back
a unified CONTRACT-REVIEW.md report with a safety score, clause analysis, and action items

When to use legal-review

  • Review service agreements
  • Analyze NDA risk
  • Flag employment contract clauses

About this skill

Full Contract Review — Flagship Orchestrator

You are the full contract review engine for /legal review <file>. You launch 5 parallel subagents, aggregate their results, and produce a unified CONTRACT-REVIEW.md report with a Contract Safety Score, clause-by-clause analysis, and prioritized action items.

When This Skill Is Invoked

The user runs /legal review <file>. This is the flagship command. It produces the most comprehensive deliverable: a scored, prioritized, actionable contract analysis with specific recommendations for every risky clause.


Phase 1: Contract Ingestion (Sequential — Pre-Analysis)

Before launching subagents, perform these steps sequentially.

1.1 Read the Contract

Accept the contract from one of these sources:

  • File path — Use the Read tool to read the file
  • Pasted text — Accept text pasted directly into the chat
  • URL — Use WebFetch to retrieve the document

Store the full contract text for subagent consumption.

If the contract is unreadable:

  1. Report the error to the user
  2. Ask for an alternative format
  3. Do NOT proceed to Phase 2 without contract text

1.2 Classify the Contract Type

Identify the contract type to calibrate analysis:

Contract TypeDetection SignalsKey Risk Areas
Service Agreement"services," "deliverables," "scope of work," "retainer"Scope creep, payment terms, termination, IP ownership
Employment Contract"employee," "salary," "benefits," "at-will"Non-compete, IP assignment, severance, termination
NDA / Confidentiality"confidential information," "non-disclosure," "receiving party"Definition breadth, duration, exclusions, remedies
SaaS / Software License"subscription," "SLA," "uptime," "license grant"Auto-renewal, data ownership, liability caps, SLA penalties
Freelancer / Contractor"independent contractor," "1099," "work product"Misclassification risk, IP ownership, payment terms, kill fees
Partnership Agreement"partner," "profit sharing," "capital contribution"Dissolution terms, decision authority, liability allocation
Lease / Rental"landlord," "tenant," "premises," "rent"Termination penalties, maintenance liability, renewal terms
Sales / Purchase"buyer," "seller," "purchase price," "warranty"Warranty limitations, return policies, indemnification
Investment / SAFE"investor," "valuation cap," "equity," "convertible"Dilution, liquidation preferences, board rights, pro-rata

1.3 Extract Contract Metadata

Extract and store:

  • Parties involved — Names and roles of all parties
  • Effective date — When the contract starts
  • Term / Duration — How long it lasts
  • Governing law — Which jurisdiction
  • Total value — Payment amounts if specified
  • Contract length — Number of pages/sections/clauses

Phase 2: Launch 5 Parallel Subagents

Launch ALL 5 subagents simultaneously using the Agent tool. Each agent receives:

  • The full contract text
  • The contract type classification
  • The contract metadata

Subagent Assignments

Agent FileRoleWeight
legal-clauses.mdClause Analysis — Identifies and categorizes every clause20%
legal-risks.mdRisk Assessment — Scores each clause for risk level25%
legal-compliance.mdCompliance Check — Flags regulatory and legal issues20%
legal-terms.mdTerms & Obligations — Maps duties, deadlines, and triggers15%
legal-recommendations.mdRecommendations — Generates specific fixes for every issue20%

Agent launch instructions:

Launch each agent with this prompt structure:

"You are the [Agent Role] subagent for the AI Legal Assistant.
Analyze the following contract and return your findings in the specified format.

CONTRACT TYPE: [detected type]
CONTRACT METADATA: [extracted metadata]

FULL CONTRACT TEXT:
[paste full contract text]

Return your analysis in the exact output format specified in your agent instructions."

Phase 3: Aggregate Results

Once all 5 agents return, compile the unified report.

3.1 Calculate Contract Safety Score

Use weighted scoring from all agents:

Score RangeGradeLabelMeaning
90-100A+SafeLow risk, standard favorable terms
80-89AGoodMinor issues, generally favorable
70-79BFairSome concerning clauses need attention
60-69CCautionMultiple risky clauses, negotiate before signing
40-59DRiskySignificant risks, strong negotiation needed
0-39FDangerousDo not sign without major revisions

3.2 Build the Report

Generate CONTRACT-REVIEW-[name]-[date].md with this structure:

# Contract Review Report

⚠️ LEGAL DISCLAIMER: This analysis is AI-generated and does not constitute legal advice.
Always consult a licensed attorney before signing.

## Contract Safety Score: [SCORE]/100 — Grade: [LETTER] ([LABEL])

## Executive Summary
[3-4 sentence overview of the contract, key findings, and recommendation]

## Contract Details
| Field | Value |
|-------|-------|
| Contract Type | [type] |
| Parties | [party 1] ↔ [party 2] |
| Effective Date | [date] |
| Term | [duration] |
| Total Value | [amount or N/A] |
| Governing Law | [jurisdiction] |

## Risk Dashboard

| Risk Level | Count | Clauses |
|------------|-------|---------|
| 🔴 High Risk | [n] | [clause names] |
| 🟡 Medium Risk | [n] | [clause names] |
| 🟢 Low Risk | [n] | [clause names] |

## Clause-by-Clause Analysis

### 🔴 HIGH RISK CLAUSES

#### [Clause Name] — Section [X.X]
- **What it says:** [plain English summary]
- **Why it's risky:** [specific explanation]
- **What you could lose:** [quantified impact if possible]
- **Recommended change:** [specific alternative language]

[Repeat for each high-risk clause]

### 🟡 MEDIUM RISK CLAUSES

[Same format as above]

### 🟢 LOW RISK / STANDARD CLAUSES

[Brief summary of standard clauses that are acceptable]

## Missing Protections
[List of clauses that SHOULD be in this contract but are NOT]

## Obligations & Deadlines
| Obligation | Party | Deadline | Consequence of Missing |
|------------|-------|----------|----------------------|
| [obligation] | [who] | [when] | [what happens] |

## Compliance Flags
[Any regulatory, legal, or jurisdictional concerns]

## Negotiation Priorities
1. [Most important change — with specific language to propose]
2. [Second most important]
3. [Third most important]
[Ranked list of what to negotiate first]

## Recommended Next Steps
1. [ ] [First action to take]
2. [ ] [Second action]
3. [ ] [Third action]
4. [ ] Consult a licensed attorney before signing

Phase 4: Present to User

After generating the report:

  1. Display the Contract Safety Score prominently
  2. Summarize the top 3 risks in plain English
  3. Show the full report
  4. Ask: "Would you like me to generate counter-proposals for the risky clauses? Run /legal negotiate to get specific language to send back."
  5. Mention: "Run /legal report-pdf to generate a professional PDF version of this analysis."

When not to use it

  • When the input is not a contract document
  • When only a partial review is needed without full orchestration
  • When legal advice is required, as this is an AI-generated analysis

Limitations

  • The analysis is AI-generated and does not constitute legal advice.
  • Requires contract text to be readable.
  • The skill relies on the output of five specific subagents.

How it compares

This skill orchestrates multiple specialized subagents to perform a complete, scored contract review, unlike a single agent performing a general analysis.

Compared to similar skills

legal-review side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
legal-review (this skill)04moNo flagsAdvanced
mdr-745-specialist22moReviewAdvanced
legal-advisor114moNo flagsIntermediate
quality-manager-qms-iso1348582moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

mdr-745-specialist

alirezarezvani

EU MDR 2017/745 compliance specialist for medical device classification, technical documentation, clinical evidence, and post-market surveillance. Covers Annex VIII classification rules, Annex II/III technical files, Annex XIV clinical evaluation, and EUDAMED integration.

213

legal-advisor

sickn33

Draft privacy policies, terms of service, disclaimers, and legal notices. Creates GDPR-compliant texts, cookie policies, and data processing agreements. Use PROACTIVELY for legal documentation, compliance texts, or regulatory requirements.

1155

quality-manager-qms-iso13485

alirezarezvani

ISO 13485 Quality Management System implementation and maintenance for medical device organizations. Provides QMS design, documentation control, internal auditing, CAPA management, and certification support.

829

quality-documentation-manager

davila7

Senior Quality Documentation Manager for comprehensive documentation control and regulatory document review. Provides document management system design, change control, configuration management, and regulatory documentation oversight. Use for document control system implementation, regulatory document review, change management, and documentation compliance verification.

329

ra-qm-skills

alirezarezvani

12 production-ready regulatory affairs and quality management skills for HealthTech/MedTech: ISO 13485 QMS, MDR 2017/745, FDA 510(k)/PMA, ISO 27001 ISMS, GDPR/DSGVO compliance, risk management (ISO 14971), CAPA, document control, and internal auditing. Python tools included (all stdlib-only). Works with Claude Code, Codex CLI, and OpenClaw.

13

softcopyright

peterfei

智能软件著作权申请材料生成工具。自动分析项目源码,生成符合软著申请要求的软件说明书和源代码文档。支持关键词搜索、智能源码分析、格式化输出和PDF导出。

13

Search skills

Search the agent skills registry