AGENT SKILL

legaldoc-ai

暂无简介

适用职业律师与法务
License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

02 资源文件 12

03 SKILL.md 正文

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

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

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)

{
  "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

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

Changelog

v1.0.0 (2026-01-31)

  • Initial release
  • Contract clause extraction (12 clause types)
  • Document summarization
  • Legal research integration
  • Deadline tracking system

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

内容创作者
★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

Skill与智能体开发
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

律师与法务Skill与智能体开发
★ 1