Skill: manas-io-ai/legaldoc-ai (version 1.0.0)

# LegalDoc AI **Version:** 1.0.0 **Category:** Legal / Professional Services **Author:** Manas AI **License:** Commercial ## Overview LegalDoc AI is a comprehensive legal document automation skill that helps law firms and legal professionals streamline document review, contract analysis, legal research, and deadline management. Designed for attorneys, paralegals, and legal operations teams. ## Capabilities ### 1. Contract Clause Extraction Extract and analyze specific clauses from contracts: - Indemnification clauses - Limitation of liability - Termination provisions - Force majeure - Confidentiality/NDA terms - Non-compete/non-solicitation - Intellectual property assignments - Governing law & jurisdiction - Dispute resolution (arbitration/litigation) - Payment terms & penalties - Representations & warranties - Change of control provisions ### 2. Document Summarization Generate executive summaries for legal documents: - Contract summaries with key terms highlighted - Case brief generation - Deposition summary - Discovery document digest - Regulatory filing summaries - M&A due diligence summaries ### 3. Legal Research Queries AI-powered legal research assistance: - Case law search and analysis - Statutory interpretation - Regulatory guidance lookup - Precedent identification - Jurisdiction-specific research - Citation verification ### 4. Deadline Tracking Automated legal deadline management: - Statute of limitations tracking - Filing deadline extraction - Court date monitoring - Contract milestone alerts - Regulatory compliance dates - Discovery deadlines ## Commands ### Clause Extraction ``` legaldoc extract clauses <file_path> legaldoc extract clauses <file_path> --type indemnification,liability legaldoc extract clauses <file_path> --output json|markdown|table legaldoc compare clauses <file1> <file2> --type all ``` ### Document Summary ``` legaldoc summarize <file_path> legaldoc summarize <file_path> --type executive|detailed|bullet legaldoc summarize <file_path> --length short|medium|long legaldoc summarize <file_path> --focus obligations|risks|terms ``` ### Legal Research ``` legaldoc research "<query>" legaldoc research "<query>" --jurisdiction CA|NY|TX|federal legaldoc research "<query>" --type case_law|statute|regulation legaldoc research citations <file_path> --verify ``` ### Deadline Management ``` legaldoc deadlines extract <file_path> legaldoc deadlines list --upcoming 30d legaldoc deadlines add "<description>" --date YYYY-MM-DD --matter <matter_id> legaldoc deadlines alert --email <address> --days-before 7,3,1 ``` ### Document Comparison ``` legaldoc compare <file1> <file2> legaldoc compare <file1> <file2> --type redline|summary|clause-by-clause legaldoc compare versions <file_path> --show-history ``` ## Supported File Types - PDF (including scanned with OCR) - Microsoft Word (.doc, .docx) - Plain text (.txt) - Rich Text Format (.rtf) - HTML documents - Markdown (.md) ## Configuration ```yaml # ~/.legaldoc/config.yaml default_jurisdiction: "federal" output_format: "markdown" ocr_enabled: true deadline_alerts: enabled: true email: "[REDACTED_SECRET]" slack_webhook: "https://hooks.slack.com/..." days_before: [7, 3, 1] matter_management: enabled: true system: "clio" # or "mycase", "practicepanther", "custom" [REDACTED_SECRET]" ``` ## Environment Variables | Variable | Description | Required | |----------|-------------|----------| | `LEGALDOC_API_KEY` | LegalDoc AI API key | Yes | | `WESTLAW_API_KEY` | Westlaw research API (optional) | No | | `LEXIS_API_KEY` | LexisNexis API (optional) | No | | `COURTLISTENER_API_KEY` | CourtListener free API | No | | `CLIO_API_KEY` | Clio matter management | No | | `LEGALDOC_STORAGE_PATH` | Local document storage | No | ## Data Privacy & Security - **No document storage**: Documents are processed in-memory and never stored on external servers - **End-to-end encryption**: All API communications use TLS 1.3 - **SOC 2 Type II compliant**: Enterprise security standards - **HIPAA ready**: For healthcare-related legal matters - **Attorney-client privilege**: Designed to maintain privilege protections - **Audit logging**: Full audit trail of all operations ## Output Formats ### Clause Extraction Output (JSON) ```json { "document": "Master_Services_Agreement.pdf", "extracted_at": "2026-01-31T10:30:00Z", "clauses": [ { "type": "indemnification", "section": "8.1", "page": 12, "text": "Client shall indemnify and hold harmless...", "risk_level": "high", "notes": "Broad indemnification with no carve-outs", "suggested_revision": "Consider adding carve-outs for gross negligence..." } ] } ``` ### Summary Output (Markdown) ```markdown # Executive Summary: Master Services Agreement **Parties:** Acme Corp (Client) ↔ TechVendor Inc (Provider) **Effective Date:** January 1, 2026 **Term:** 3 years with auto-renewal ## Key Terms - **Contract Value:** $2.4M over term - **Payment:** Net 30, quarterly invoicing - **Termination:** 90-day notice for convenience ## Risk Assessment 🔴 **High Risk:** Unlimited liability for data breaches 🟡 **Medium Risk:** Broad IP assignment clause 🟢 **Low Risk:** Standard force majeure provisions ## Critical Deadlines - First payment due: February 1, 2026 - Annual review: December 1, 2026 - Renewal notice deadline: October 1, 2028 ``` ## Integration Points ### Practice Management Systems - Clio - MyCase - PracticePanther - Rocket Matter - CosmoLex ### Document Management - NetDocuments - iManage - Dropbox Business - Google Drive - SharePoint ### Communication - Email (SMTP) - Slack - Microsoft Teams - SMS alerts ## Best Practices 1. **Always verify extracted clauses** against source documents 2. **Use jurisdiction flags** for research queries to ensure relevance 3. **Set up deadline alerts** with multiple reminder intervals 4. **Review AI suggestions** before incorporating into final documents 5. **Maintain audit logs** for compliance and malpractice protection ## Pricing Tiers | Tier | Documents/Month | Research Queries | Price | |------|-----------------|------------------|-------| | Solo | 50 | 100 | $99/mo | | Small Firm | 200 | 500 | $299/mo | | Mid-Size | 1,000 | 2,500 | $799/mo | | Enterprise | Unlimited | Unlimited | Custom | ## Support - **Documentation:** https://docs.legaldoc.ai - **Email:** [REDACTED_SECRET] - **Slack Community:** legaldoc-users.slack.com - **Enterprise:** dedicated account manager ## Changelog ### v1.0.0 (2026-01-31) - Initial release - Contract clause extraction (12 clause types) - Document summarization - Legal research integration - Deadline tracking system


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (HIGH)