Contract Analyzer

Analyzes contracts and agreements for risks, unusual terms, and missing clauses

3,891 stars
Complexity: easy

About this skill

The "Contract Analyzer" is an AI agent skill designed to scrutinize legal documents like a meticulous business attorney. It guides the AI through a structured analysis process, starting with a quick summary that identifies the contract type, involved parties, key terms, and governing law. This initial overview helps contextualize the document for deeper review. The core functionality involves a comprehensive risk analysis, where the AI flags potential issues related to liability caps, indemnification, termination clauses, IP ownership, non-compete agreements, auto-renewal terms, payment schedules, confidentiality, force majeure, and data privacy. Each risk is categorized by severity (High, Medium, Low) and includes an explanation of the issue and suggested alternatives. Additionally, the skill instructs the AI to identify important clauses that are conspicuously absent from the document. Beyond risk identification, the skill generates a plain English summary of what the user is actually agreeing to, making complex legal jargon accessible. It concludes by outlining 3-5 top negotiation points, complete with suggested alternative language. This empowers users, particularly those who might be the smaller party in a negotiation, to understand their commitments, identify potential pitfalls, and advocate for more favorable terms, always emphasizing that the output is AI analysis, not legal advice.

Best use case

This skill is primarily for individuals, small businesses, or even larger organizations needing rapid, initial assessments of legal contracts without immediately engaging an attorney. It's ideal for reviewing common agreements such as NDAs, SaaS contracts, employment agreements, freelance terms, or partnership documents to identify potential pitfalls, clarify terms, and prepare for negotiations. It particularly benefits users who are often the "smaller party" in a negotiation, providing them with critical insights to understand their position and advocate effectively.

Analyzes contracts and agreements for risks, unusual terms, and missing clauses

Users should expect a structured report detailing contract summary, identified risks with explanations and suggestions, missing clauses, a plain English overview, and actionable negotiation points, always accompanied by an AI disclaimer.

Practical example

Example input

Analyze the attached PDF document, 'SaaS Agreement v1.2 - Acme Corp.pdf', and provide a comprehensive risk assessment, identifying missing clauses and key negotiation points. Assume I am the SaaS customer.

Example output

```
## Contract Analysis: SaaS Agreement v1.2 - Acme Corp.

**Risk Level: Medium**

### Summary
*Type:* SaaS agreement
*Parties:* Acme Corp (Provider) and [User's Company Name] (Customer)
*Key Terms:* 36-month term, monthly subscription, 90-day termination notice
*Governing Law:* Delaware, USA

### Risk Flags
| # | Clause | Risk | Issue | Suggestion |
|---|--------|------|-------|------------|
| 1. | 7.2 | 🔴 High | Unlimited liability for Acme Corp. in case of data breach. | Cap liability to 12 months of service fees. |
| 2. | 10.1 | 🟡 Medium | Indemnification clause is very broad, requiring customer to indemnify for actions of third parties. | Limit to customer's direct actions/negligence. |

### Missing Clauses
- Data Portability/Exit Clause: No clear provisions for data retrieval upon termination.
- Service Level Agreement (SLA): No defined uptime guarantees or remedies for downtime.

### Plain English
You're agreeing to a three-year contract for Acme's software. Be careful about their ability to limit their responsibility if something goes wrong, while you might be on the hook for a lot. Exiting the contract could be difficult, and getting your data back might not be straightforward.

### Top Negotiation Points
1.  **Limit Liability:** Propose capping customer's liability for data breaches to 12 months of fees.
2.  **Narrow Indemnification:** Suggest revising clause 10.1 to limit indemnification to your direct negligence.
3.  **Add SLA:** Request a clear Service Level Agreement with defined uptime and downtime remedies.

*This is AI analysis, not legal advice. Consult an attorney for binding decisions.*
```

When to use this skill

  • Reviewing a new contract or agreement before signing.
  • Understanding complex legal jargon and implications in a document.
  • Identifying potential risks, one-sided clauses, or missing provisions.
  • Preparing actionable negotiation points for contract amendments or new agreements.

When not to use this skill

  • As a definitive substitute for professional legal advice from a qualified attorney.
  • For making legally binding decisions without human legal review.
  • When an immediate, high-stakes legal opinion is required for litigation or critical business transactions.
  • For highly specialized or extremely complex legal documents that demand deep expert human context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/afrexai-contract-analyzer/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/1kalin/afrexai-contract-analyzer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/afrexai-contract-analyzer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Contract Analyzer Compares

Feature / AgentContract AnalyzerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

Analyzes contracts and agreements for risks, unusual terms, and missing clauses

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Contract Analyzer

You analyze contracts like a careful business attorney. Flag risks, explain terms in plain English, catch what's missing.

## Analysis Process

When given a contract or agreement:

### 1. Quick Summary
- **Type:** (NDA, SaaS agreement, employment, freelance, partnership, etc.)
- **Parties:** Who's involved
- **Key Terms:** Duration, value, obligations
- **Governing Law:** Jurisdiction

### 2. Risk Analysis

Flag each risk as: 🔴 High | 🟡 Medium | 🟢 Low

Common risks to check:
- **Liability caps** — Are they reasonable? Unlimited liability?
- **Indemnification** — One-sided? Too broad?
- **Termination** — Can you exit? Penalties?
- **IP ownership** — Who owns what's created?
- **Non-compete/non-solicit** — Scope and duration reasonable?
- **Auto-renewal** — Hidden? Hard to cancel?
- **Payment terms** — Net 30? Net 90? Penalties?
- **Confidentiality** — Duration? Scope?
- **Force majeure** — Present? Adequate?
- **Data/privacy** — Compliant with regulations?

### 3. Missing Clauses
List important clauses that should be there but aren't.

### 4. Plain English Summary
Explain what you're actually agreeing to in simple terms.

### 5. Negotiation Points
Top 3-5 things to push back on, with suggested alternative language.

## Output Format
```
## Contract Analysis: [Title/Type]

**Risk Level: [Low/Medium/High/Critical]**

### Summary
...

### Risk Flags
| # | Clause | Risk | Issue | Suggestion |
|---|--------|------|-------|------------|
...

### Missing Clauses
...

### Plain English
...

### Top Negotiation Points
...
```

## Rules
- Always note: "This is AI analysis, not legal advice. Consult an attorney for binding decisions."
- Be specific about clause numbers/sections
- Explain WHY something is risky, not just that it is
- Consider the user's likely position (usually the smaller party)

## Related Tools
- Business proposals: `clawhub install afrexai-proposal-gen`
- Industry context: https://afrexai-cto.github.io/context-packs/ ($47/pack)

Related Skills

Contract Review & Redline Skill

13
from evolsb/legal-redline-tools

Analyzes legal agreements to identify problematic terms, missing protections, and market departures, then generates structured redlines in a standardized JSON format.

Legal Technology & Document Automation

Profit Margin Analyzer

3891
from openclaw/skills

Analyze and optimize profit margins across your business. Identifies margin compression, pricing opportunities, and cost levers.

Pricing Strategy Analyzer

3891
from openclaw/skills

Analyze and optimize pricing for any product or service. Covers value-based, cost-plus, competitive, and tiered pricing models.

Business Strategy & Growth

Portfolio Risk Analyzer

3891
from openclaw/skills

Complete investment portfolio risk management system. Analyze positions, calculate risk metrics, stress test scenarios, optimize allocations, and generate institutional-grade risk reports — all without external APIs.

Finance & Investing

Commercial Lease Analyzer

3891
from openclaw/skills

Analyze commercial leases (office, retail, industrial, warehouse) for hidden costs, unfavorable terms, and negotiation leverage. Use when reviewing a new lease, renegotiating a renewal, or comparing multiple lease options.

Business Analysis

Franchise Operations Analyzer

3891
from openclaw/skills

Evaluate franchise opportunities and manage multi-unit operations with data-driven frameworks.

Business & Finance

Financial Due Diligence Analyzer

3891
from openclaw/skills

Run comprehensive financial due diligence on acquisition targets, investment opportunities, or partnership prospects. Built for PE firms, corporate development teams, and founders evaluating deals.

Financial Analysis & Due Diligence

Employee Retention & Turnover Risk Analyzer

3891
from openclaw/skills

Diagnose why people leave. Fix it before they do.

HR & People Analytics

Contract Review Assistant

3891
from openclaw/skills

Analyze business contracts for risks, unfavorable terms, and missing clauses. Get a plain-English summary of what you're signing.

Legal & Finance

Churn Risk Analyzer

3891
from openclaw/skills

Identify customers most likely to churn before they leave. Uses behavioral signals, usage patterns, and engagement data to score accounts and recommend retention actions.

Workflow & Productivity

simple-tech-analyzer - 简易技术分析器

3891
from openclaw/skills

**版本**: 1.0.0

Finance & Trading

onchain-contract-token-analysis

3891
from openclaw/skills

Analyze smart contracts, token mechanics, permissions, fee flows, upgradeability, market risks, and likely attack surfaces for onchain projects. Use when reviewing ERC-20s, launchpads, vaults, staking systems, LP fee routing, ownership controls, proxy setups, or suspicious token behavior.

Security