legal-document-analyzer
46
总安装量
47
周安装量
#4586
全站排名
安装命令
npx skills add https://github.com/qodex-ai/ai-agent-skills --skill legal-document-analyzer
Agent 安装分布
opencode
31
claude-code
31
codex
24
cursor
20
github-copilot
20
Skill 文档
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
- Upload contract document
- Parse document structure
- Identify contract type
- Extract key terms and obligations
- Analyze for risks
- Check compliance
- Generate report
- Provide recommendations