Contract Clause Analyzer
Reads a contract or agreement, identifies key clauses, flags risky or unusual terms, and generates a plain-English summary with recommendations. Researches standard clause language via Brave Search. Prerequisites: brave-search MCP, python3.
MCP get_skill({ skillId: "contract-clause-analyzer-b0297db1" })Use this skill with your agent
Create a free account and connect via MCP
# Contract Clause Analyzer
Analyze contracts to identify key clauses, flag risky terms, and generate plain-English summaries with research-backed recommendations.
## When to Use
- "Review this contract for red flags"
- "What does this clause mean in plain English?"
- "Is this non-compete enforceable?"
## Requirements
- **Brave Search MCP** for legal standards and clause research
- **python3** for clause extraction and categorization
## Workflow
### Step 1 โ Contract Details
- **Contract type** (employment, SaaS, NDA, lease, freelance, vendor)
- **Your role** (signing party, drafting party, reviewing for someone)
- **Contract text** (paste full text)
- **Specific concerns** (if any)
### Step 2 โ Research Standard Terms
```
brave_web_search: "{CONTRACT_TYPE} contract standard clauses {YEAR}"
brave_web_search: "{CONTRACT_TYPE} contract red flags what to watch for"
brave_web_search: "{SPECIFIC_CLAUSE} enforceability {STATE}"
```
### Step 3 โ Extract & Categorize Clauses
```bash
python3 << 'PYEOF'
import re
contract_text = """{CONTRACT_TEXT}"""
# Find key clause types
clause_patterns = {
"Termination": r'(?i)(terminat|cancell|end of agreement)',
"Liability": r'(?i)(liabil|indemnif|hold harmless)',
"Non-compete": r'(?i)(non.?compete|restrictive covenant|competition)',
"IP/Ownership": r'(?i)(intellectual property|ownership|work.?for.?hire|assign)',
"Confidentiality": r'(?i)(confidential|non.?disclosure|proprietary)',
"Payment": r'(?i)(payment|compensat|invoice|fee|rate)',
"Auto-renewal": r'(?i)(auto.?renew|automatic.*renewal)',
"Arbitration": r'(?i)(arbitrat|mediat|dispute resolution)',
"Governing Law": r'(?i)(governing law|jurisdiction|venue)',
}
for name, pattern in clause_patterns.items():
matches = re.findall(pattern, contract_text)
status = f"Found ({len(matches)} references)" if matches else "Not found"
print(f"{name}: {status}")
PYEOF
```
### Step 4 โ Generate Analysis
```markdown
# Contract Analysis: {CONTRACT_TYPE}
๐ Parties: {PARTY_A} โ {PARTY_B}
๐
Term: {DURATION} | Effective: {DATE}
## Executive Summary
{2-3 sentence plain-English summary of what this contract does}
## Key Terms
| Term | Details | Assessment |
|------|---------|------------|
| Duration | {X months/years} | {assessment} |
| Payment | ${X} / {frequency} | {assessment} |
| Termination | {notice period} | {assessment} |
| Auto-renewal | {Yes/No โ terms} | {assessment} |
## ๐ด Red Flags
| # | Clause | Section | Issue | Risk Level |
|---|--------|---------|-------|------------|
| 1 | {Clause name} | ยง{N} | {Plain-English explanation of the problem} | ๐ด High |
| 2 | {Clause name} | ยง{N} | {Issue} | ๐ก Medium |
## ๐ก Items to Negotiate
| Clause | Current Language | Suggested Change | Why |
|--------|-----------------|------------------|-----|
| {Clause} | "{current}" | "{suggested}" | {reason} |
## ๐ข Standard/Good Clauses
- {Clause}: Standard for this contract type โ
- {Clause}: Favorable to you โ
## Missing Clauses (Should Be Added)
- [ ] {Missing clause} โ {why it matters}
- [ ] {Missing clause} โ {why it matters}
## โ ๏ธ Disclaimer
This analysis is informational only and does not constitute legal advice.
Consult a licensed attorney before signing.
```
### Step 5 โ Save Analysis
```bash
mkdir -p outputs/legal
cat > "outputs/legal/contract-analysis-{DATE}.md" << 'EOF'
{ANALYSIS}
EOF
```
## Important Rules
- ALWAYS include the legal disclaimer โ this is NOT legal advice
- Flag but don't advise on state-specific enforceability โ recommend local attorney
- Use Brave Search for current legal standards, not assumptions
- Be objective โ present risks, don't make signing decisions for the user
- Focus on unusual or one-sided terms vs. industry standard
## Example Prompts
- "Review this employment contract for red flags"
- "Is this non-compete clause reasonable?"
- "Analyze this SaaS terms of service โ what am I agreeing to?"Related Skills
More skills in Legal & Contracts
Dispute Resolution Letter Writer
Drafts professional dispute letters (billing errors, warranty claims, landlord issues, service complaints) with proper formatting, legal references from Brave Search, and escalation paths. Prerequisites: brave-search MCP.
Freelance Contract Builder
Generates a customized freelance/consulting contract from a template with project scope, payment terms, IP assignment, and revision policies. Researches standard rates via Brave Search. Prerequisites: brave-search MCP, pandoc.
Lease Agreement Analyzer
Reviews residential or commercial leases, identifies tenant-unfriendly clauses, compares terms against local tenant rights research via Brave Search, and generates a negotiation checklist. Prerequisites: brave-search MCP, python3.
Privacy Policy & ToS Analyzer
Reads a privacy policy or terms of service, extracts data collection practices, identifies concerning permissions, and generates a plain-English summary with a privacy risk score. Prerequisites: brave-search MCP, python3.
Explore Other Categories
Skills from other categories with shared topics
Brief Section Drafter
Draft a brief section in house style, consistent with the case theory โ every fact cited, every case checked, every argument tied to the theory. Use when the user says "draft the [section]", "write the statement of facts", "argument section on [issue]", or needs a first draft of a brief section.
Clearance
Trademark clearance first pass โ knockout + similar-marks check producing a flag list, not a clearance opinion. Use when a new mark is proposed, when asked whether a mark is available or to run a knockout search, or when assessing likelihood-of-confusion factors before a full professional search. This skill never concludes a mark is clear.
Cold Start Interview
Cold-start setup โ learns your jurisdictional footprint and escalation rules from your handbook and termination memos. Asks which states and countries have employees, reads seed documents, and builds a jurisdiction-aware escalation table. Use on fresh install, when CLAUDE.md still has [PLACEHOLDER] markers, or when re-running with --redo or --check-integrations.