# Send LegalDoc AI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "legaldoc-ai",
    "name": "LegalDoc AI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/manas-io-ai/legaldoc-ai",
    "canonicalUrl": "https://clawhub.ai/manas-io-ai/legaldoc-ai",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/legaldoc-ai",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=legaldoc-ai",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "clawdhub.json",
      "examples/sample_contract.txt",
      "examples/sample_output.md",
      "execution/clause_extractor.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/legaldoc-ai"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/legaldoc-ai",
    "downloadUrl": "https://openagent3.xyz/downloads/legaldoc-ai",
    "agentUrl": "https://openagent3.xyz/skills/legaldoc-ai/agent",
    "manifestUrl": "https://openagent3.xyz/skills/legaldoc-ai/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/legaldoc-ai/agent.md"
  }
}
```
## Documentation

### 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.

### 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

### 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

# ~/.legaldoc/config.yaml
default_jurisdiction: "federal"
output_format: "markdown"
ocr_enabled: true
deadline_alerts:
  enabled: true
  email: "legal@yourfirm.com"
  slack_webhook: "https://hooks.slack.com/..."
  days_before: [7, 3, 1]
matter_management:
  enabled: true
  system: "clio"  # or "mycase", "practicepanther", "custom"
  api_key: "${CLIO_API_KEY}"

### Environment Variables

VariableDescriptionRequiredLEGALDOC_API_KEYLegalDoc AI API keyYesWESTLAW_API_KEYWestlaw research API (optional)NoLEXIS_API_KEYLexisNexis API (optional)NoCOURTLISTENER_API_KEYCourtListener free APINoCLIO_API_KEYClio matter managementNoLEGALDOC_STORAGE_PATHLocal document storageNo

### 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

### Clause Extraction Output (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)

# 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

### 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

Always verify extracted clauses against source documents
Use jurisdiction flags for research queries to ensure relevance
Set up deadline alerts with multiple reminder intervals
Review AI suggestions before incorporating into final documents
Maintain audit logs for compliance and malpractice protection

### Pricing Tiers

TierDocuments/MonthResearch QueriesPriceSolo50100$99/moSmall Firm200500$299/moMid-Size1,0002,500$799/moEnterpriseUnlimitedUnlimitedCustom

### Support

Documentation: https://docs.legaldoc.ai
Email: support@legaldoc.ai
Slack Community: legaldoc-users.slack.com
Enterprise: dedicated account manager

### v1.0.0 (2026-01-31)

Initial release
Contract clause extraction (12 clause types)
Document summarization
Legal research integration
Deadline tracking system
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: manas-io-ai
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/legaldoc-ai)
- [Send to Agent page](https://openagent3.xyz/skills/legaldoc-ai/agent)
- [JSON manifest](https://openagent3.xyz/skills/legaldoc-ai/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/legaldoc-ai/agent.md)
- [Download page](https://openagent3.xyz/downloads/legaldoc-ai)