Home/Legal/legal-document-analyzer
L

legal-document-analyzer

by @qodex-aiv
4.2(21)

Develop intelligent agents for legal document analysis, contract review, and compliance checks, enhancing efficiency and accuracy in legal work.

legal-document-analysisnatural-language-processing-(nlp)ai-in-legalcontract-reviewlegal-techGitHub
Installation
npx skills add qodex-ai/ai-agent-skills --skill legal-document-analyzer
compare_arrows

Before / After Comparison

1
Before

Legal document review, contract analysis, and compliance checks are extremely time-consuming. Manual processing is prone to errors, inefficient, and costly.

After

Building intelligent agents to automatically analyze legal documents, efficiently review contracts, and conduct compliance checks significantly improves the efficiency and accuracy of legal work.

SKILL.md

Legal Document Analyzer

Build intelligent legal document analysis agents that review contracts, identify risks, and provide legal insights.

Document Parsing

See examples/legal_document_parser.py for LegalDocumentParser:

  • Parse PDF, DOCX, and text documents
  • Extract and structure document content
  • Identify sections, clauses, definitions, parties, and dates

Contract Analysis

See examples/contract_analyzer.py for ContractAnalyzer:

  • Identify contract type (NDA, employment, service, purchase, lease)
  • Extract key terms (dates, renewal, payment, performance metrics)
  • Extract obligations, rights, and liabilities

Risk Identification

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

  1. Upload contract document
  2. Parse document structure
  3. Identify contract type
  4. Extract key terms and obligations
  5. Analyze for risks
  6. Check compliance
  7. Generate report
  8. Provide recommendations

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs621
Rating4.2 / 5.0
Version
Updated2026年5月23日
Comparisons1

User Rating

4.2(21)
5
48%
4
52%
3
0%
2
0%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

Timeline

Created2026年3月17日
Last Updated2026年5月23日