legal-document-analyzer

Build agents for legal document analysis, contract review, and compliance checking. Handles document parsing, risk identification, and legal research. Use when…

INSTALLATION
npx skills add https://github.com/qodex-ai/ai-agent-skills --skill legal-document-analyzer
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$27

See examples/contract_risk_analyzer.py for ContractRiskAnalyzer:

  • Analyze financial risks (unlimited liability, price escalations)
  • Identify legal risks (ambiguous terms, conflicting clauses)
  • Assess operational risks
  • Check compliance risks (GDPR, data protection)

Legal Research

Build legal research capabilities to:

  • Find applicable laws for contract type and jurisdiction
  • Identify regulatory requirements
  • Research relevant case law
  • Identify standard practices and precedents

Compliance Checking

Build compliance checking capabilities to:

  • Verify contract compliance with regulations
  • Identify compliance gaps
  • Generate compliance recommendations
  • Track required clauses and documentation

Report Generation

See examples/legal_report_generator.py for LegalReportGenerator:

  • Generate comprehensive contract analysis reports
  • Format key terms and obligations
  • Present risk assessments
  • Provide actionable recommendations

Best Practices

Document Review

  • ✓ Review full document systematically
  • ✓ Identify all parties and roles
  • ✓ Understand key terms and conditions
  • ✓ Identify potential risks
  • ✓ Check for compliance

Risk Management

  • ✓ Prioritize high-severity risks
  • ✓ Negotiate unfavorable terms
  • ✓ Seek legal counsel for major issues
  • ✓ Document agreed changes
  • ✓ Keep signed copies

Compliance

  • ✓ Understand applicable regulations
  • ✓ Ensure required clauses present
  • ✓ Document compliance measures
  • ✓ Review regulatory updates
  • ✓ Train team on obligations

Tools & Resources

Document Processing

  • pypdf
  • python-docx
  • textract
  • OCR libraries

Legal Research

  • LexisNexis
  • Westlaw
  • Google Scholar
  • Free Law Project

Getting Started

  • Upload contract document
  • Parse document structure
  • Identify contract type
  • Extract key terms and obligations
  • Analyze for risks
  • Check compliance
  • Generate report
  • Provide recommendations
BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card