legal-document-analyzer▌
qodex-ai/ai-agent-skills · updated Apr 8, 2026
Build intelligent legal document analysis agents that review contracts, identify risks, and provide legal insights.
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
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★45 reviews- ★★★★★Arjun Shah· Dec 24, 2024
legal-document-analyzer has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Ganesh Mohane· Dec 20, 2024
legal-document-analyzer fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Amina Martinez· Dec 4, 2024
Solid pick for teams standardizing on skills: legal-document-analyzer is focused, and the summary matches what you get after install.
- ★★★★★Jin Smith· Nov 27, 2024
Registry listing for legal-document-analyzer matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Arjun Gupta· Nov 15, 2024
Useful defaults in legal-document-analyzer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Rahul Santra· Nov 11, 2024
legal-document-analyzer is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Alexander Brown· Nov 7, 2024
legal-document-analyzer reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Arjun Sharma· Oct 26, 2024
Registry listing for legal-document-analyzer matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Jin Anderson· Oct 18, 2024
legal-document-analyzer reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Anika Sanchez· Oct 6, 2024
I recommend legal-document-analyzer for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
showing 1-10 of 45