🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Eternal Contract Analyzer

by @eternal0404

Analyze contracts and legal documents to extract key terms, identify risks, flag red flags, and provide a clear summary with recommendations.

Versionv1.0.0
Downloads312
TERMINAL
clawhub install eternal-contract-analyzer

πŸ“– About This Skill


name: contract-analyzer description: Analyze contracts, legal documents, and agreements for red flags, key terms, and risks. Use when the user uploads or references a contract, NDA, lease, employment agreement, terms of service, or any legal document and wants: a plain-English summary, risk analysis, key clauses extracted, unfair terms flagged, or comparison between versions. Triggers on "analyze contract", "review this agreement", "check for red flags", "what does this contract say", "NDA review", "lease review", "terms of service analysis".

Contract Analyzer

Analyze legal documents for risks, key terms, and red flags.

Quick Start

Analyze a contract:

python3 scripts/contract.py analyze contract.pdf
python3 scripts/contract.py analyze agreement.docx
python3 scripts/contract.py analyze terms.txt

Compare two versions:

python3 scripts/contract.py diff v1.pdf v2.pdf

What It Extracts

  • Parties β€” Who is bound by the agreement
  • Term β€” Duration and renewal/auto-renewal clauses
  • Payment terms β€” Amounts, schedules, penalties
  • Termination β€” How to exit, notice periods, penalties for early exit
  • Liability β€” Liability caps, indemnification, warranties
  • IP ownership β€” Who owns what is created
  • Non-compete β€” Restrictions on future work
  • Confidentiality β€” NDA scope and duration
  • Dispute resolution β€” Arbitration vs litigation, jurisdiction
  • Assignment β€” Can the contract be transferred
  • Red Flags Detected

  • Auto-renewal without clear opt-out
  • Unlimited liability or uncapped indemnification
  • One-sided termination (only one party can exit)
  • Broad non-compete clauses
  • Jurisdiction far from user's location
  • Vague payment terms
  • Missing limitation of liability
  • Unilateral modification clauses
  • Penalty clauses disproportionate to breach
  • Output

    Reports include: 1. Plain English Summary β€” 3-5 sentence overview 2. Risk Score β€” Low/Medium/High/Critical 3. Red Flags β€” List with severity and explanation 4. Key Terms Table β€” Extracted terms in structured format 5. Recommendations β€” What to negotiate or clarify

    Supported Formats

  • PDF (via pdfplumber)
  • DOCX (via python-docx)
  • TXT / plain text
  • Images (via OCR)
  • Note

    This is an analysis tool, not legal advice. Always consult a qualified attorney for binding legal decisions.

    πŸ’‘ Examples

    Analyze a contract:

    python3 scripts/contract.py analyze contract.pdf
    python3 scripts/contract.py analyze agreement.docx
    python3 scripts/contract.py analyze terms.txt
    

    Compare two versions:

    python3 scripts/contract.py diff v1.pdf v2.pdf