qodex-ai/ai-agent-skills

legal-document-analyzer

Build agents for legal document analysis, contract review, and compliance checking. Handles document parsing, risk identification, and legal research. Use when creating contract analysis tools, legal research assistants, compliance checkers, or document review systems.

All-time #9221 First seen Jan 22, 2026
8-week activity · all time api

Installation

$ npx skills add qodex-ai/ai-agent-skills --skill legal-document-analyzer

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from qodex-ai/ai-agent-skills · top by installs.

npx skills add qodex-ai/ai-agent-skills

Browse all from qodex-ai/ai-agent-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 42
Default branch main
Open issues 1
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,091 B
  • docs SUMMARY.md 3,047 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1,108 installs

SKILL.md

Legal Document Analyzer

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

Document Parsing

See [examples/legaldocumentparser.py](examples/legaldocumentparser.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/contractanalyzer.py](examples/contractanalyzer.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/contractriskanalyzer.py](examples/contractriskanalyzer.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/legalreportgenerator.py](examples/legalreportgenerator.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