Legal Diligence
Legal due diligence is where hidden liabilities surface — or slip through. This skill automates the most labor-intensive legal DD tasks: NDA management, contract scanning, disclosure drafting, and red flag identification.
When to Use
- Redlining counterparty NDA markups in a sell-side auction
- Scanning material contracts for change-of-control triggers
- Drafting disclosure schedules for a purchase agreement
- Compiling a red flag due diligence report
The /redline-nda Protocol
How It Works
Relies on a strict, pre-programmed negotiation playbook:
- Ingests the counterparty's marked-up NDA
- Compares semantic differences against the firm's standard positions
- Accepts benign formatting changes
- Reverts substantive deviations requiring senior partner review
- Generates a redlined counter-draft with commentary
Common NDA Negotiation Points
| Clause |
Standard Position |
Common Counterparty Push |
| Confidentiality term |
24 months |
Reduce to 12 months |
| Non-solicitation |
18-24 months |
Eliminate or shorten |
| Permitted disclosure |
Named advisors only |
Expand to financing sources |
| Residuals clause |
Exclude |
Include |
| Standstill |
Include |
Remove or sunset |
Time saved: 1-2 hours per bidder in high-volume auction processes.
The /flag-coc Protocol
How It Works
Deploys a cumulative risk synthesis model — not simple keyword matching:
- Semantic understanding of assignment restrictions and transferability clauses
- Identifies clauses triggered by equity ownership changes
- Flags financial penalties, consent requirements, and termination rights
- Compiles an actionable risk register
Output Format
## Change-of-Control Risk Register
**Contracts Scanned**: [N]
**CoC Provisions Found**: [N]
**Critical (deal-threatening)**: [N]
**Moderate (consent required)**: [N]
**Low (notification only)**: [N]
### Critical Findings
| Contract | Counterparty | Provision | Impact | Required Action |
|----------|--------------|-----------|--------|-----------------|
| | | | Revenue at risk: $X | Third-party consent required |
### Consent Request Priority
1. [Highest-value contract requiring consent]
2. [Second priority]
...
Time saved: 20+ hours during legal DD. Identifies hidden liabilities that could threaten revenue continuity post-close.
The /schedule-disclosure Protocol
How It Works
- Extracts data from VDR to populate initial schedule drafts
- Maps disclosures to specific SPA/APA sections (e.g., Section 3.14 Material Contracts)
- Cross-references for internal consistency against the operative agreement
- Flags potential omissions
Common Disclosure Schedules
| Schedule |
Source Data |
Threshold |
| Material Contracts |
All contracts |
>$250K annual value |
| Capitalization |
Equity grants, warrants, options |
All outstanding |
| Litigation |
Pending/threatened claims |
All |
| Employee Benefits |
Plan documents |
All plans |
| Real Property |
Leases, owned property |
All |
| IP Registrations |
Patents, trademarks, copyrights |
All registered |
⚠️ AI Limitations: LLMs cannot independently verify the economic substance of related-party transactions or interpret subjective legal standards like "Material Adverse Effect." AI outputs in definitive legal agreements must remain strictly advisory, requiring rigorous human validation.
Time saved: 12+ hours of manual drafting per transaction.
Red Flag Due Diligence Report
Key Sections
| Section |
Focus |
| Executive Risk Summary |
Prioritized dashboard by severity and valuation impact |
| Corporate Governance & Capitalization |
Unresolved equity claims, missing consents, invalid 409A valuations |
| Material Contracts |
Onerous CoC provisions, exclusivity, single-supplier concentration |
| Intellectual Property |
Unsecured chain of title, open-source contamination, infringement |
| Regulatory & Compliance |
Pending investigations, data privacy exposure, environmental liabilities |
| Labor & Employment |
Contractor misclassification, unfunded pensions, key-person flight risk |
AI-Assisted Workflow
The AI continually scans the VDR as documents are uploaded, comparing against a predefined database of critical transactional risks. When anomalies are detected — missing IP assignment clauses, undocumented equity issuances, broken cap tables — they immediately populate the Red Flag Report template.
Operating Guidelines
- NDA redlining: always escalate novel or bespoke clauses to senior counsel
- CoC scanning: go beyond keywords — use semantic understanding for bespoke legal phrasing
- Disclosure schedules: err on the side of over-disclosure to minimize post-close indemnification risk
- Red flag reports: focus on exceptions, not comprehensive cataloguing
- All legal outputs are advisory — always require qualified legal review
Troubleshooting
| Problem |
Cause |
Fix |
| Change-of-control clauses missed |
Buried in schedules |
Run keyword scan on full contract corpus, not just main body |
| NDA redline rejected by counterparty |
Overly aggressive positions |
Use tiered playbook: "must-haves" vs. "nice-to-haves"; escalate only on must-haves |
| Disclosure schedules incomplete |
Seller's counsel rushed |
Provide a disclosure schedule checklist at LOI stage; allow 2-week cure period |
| Material contracts not provided |
VDR gaps |
Cross-reference audited financials for material contract obligations; request missing items |
1---2name: legal-diligence3description: Legal due diligence automation — NDA redlining against firm playbooks, change-of-control clause scanning across material contracts, disclosure schedule drafting for purchase agreements, and red flag report generation. Covers the full spectrum of legal risk identification in M&A transactions. Use when user asks to "run legal due diligence", "review contracts", "legal risk assessment", or mentions legal DD, contract review, or compliance diligence.4---56# Legal Diligence78Legal due diligence is where hidden liabilities surface — or slip through. This skill automates the most labor-intensive legal DD tasks: NDA management, contract scanning, disclosure drafting, and red flag identification.910## When to Use1112- Redlining counterparty NDA markups in a sell-side auction13- Scanning material contracts for change-of-control triggers14- Drafting disclosure schedules for a purchase agreement15- Compiling a red flag due diligence report1617## The /redline-nda Protocol1819### How It Works2021Relies on a strict, pre-programmed negotiation playbook:221. **Ingests** the counterparty's marked-up NDA232. **Compares** semantic differences against the firm's standard positions243. **Accepts** benign formatting changes254. **Reverts** substantive deviations requiring senior partner review265. **Generates** a redlined counter-draft with commentary2728### Common NDA Negotiation Points2930| Clause | Standard Position | Common Counterparty Push |31|--------|------------------|-------------------------|32| Confidentiality term | 24 months | Reduce to 12 months |33| Non-solicitation | 18-24 months | Eliminate or shorten |34| Permitted disclosure | Named advisors only | Expand to financing sources |35| Residuals clause | Exclude | Include |36| Standstill | Include | Remove or sunset |3738**Time saved**: 1-2 hours per bidder in high-volume auction processes.3940## The /flag-coc Protocol4142### How It Works4344Deploys a **cumulative risk synthesis model** — not simple keyword matching:451. **Semantic understanding** of assignment restrictions and transferability clauses462. **Identifies** clauses triggered by equity ownership changes473. **Flags** financial penalties, consent requirements, and termination rights484. **Compiles** an actionable risk register4950### Output Format5152```53## Change-of-Control Risk Register5455**Contracts Scanned**: [N]56**CoC Provisions Found**: [N]57**Critical (deal-threatening)**: [N]58**Moderate (consent required)**: [N]59**Low (notification only)**: [N]6061### Critical Findings62| Contract | Counterparty | Provision | Impact | Required Action |63|----------|--------------|-----------|--------|-----------------|64| | | | Revenue at risk: $X | Third-party consent required |6566### Consent Request Priority671. [Highest-value contract requiring consent]682. [Second priority]69...70```7172**Time saved**: 20+ hours during legal DD. Identifies hidden liabilities that could threaten revenue continuity post-close.7374## The /schedule-disclosure Protocol7576### How It Works77781. **Extracts** data from VDR to populate initial schedule drafts792. **Maps** disclosures to specific SPA/APA sections (e.g., Section 3.14 Material Contracts)803. **Cross-references** for internal consistency against the operative agreement814. **Flags** potential omissions8283### Common Disclosure Schedules8485| Schedule | Source Data | Threshold |86|----------|-----------|-----------|87| Material Contracts | All contracts | >$250K annual value |88| Capitalization | Equity grants, warrants, options | All outstanding |89| Litigation | Pending/threatened claims | All |90| Employee Benefits | Plan documents | All plans |91| Real Property | Leases, owned property | All |92| IP Registrations | Patents, trademarks, copyrights | All registered |9394> **⚠️ AI Limitations**: LLMs cannot independently verify the economic substance of related-party transactions or interpret subjective legal standards like "Material Adverse Effect." AI outputs in definitive legal agreements must remain strictly advisory, requiring rigorous human validation.9596**Time saved**: 12+ hours of manual drafting per transaction.9798## Red Flag Due Diligence Report99100### Key Sections101102| Section | Focus |103|---------|-------|104| Executive Risk Summary | Prioritized dashboard by severity and valuation impact |105| Corporate Governance & Capitalization | Unresolved equity claims, missing consents, invalid 409A valuations |106| Material Contracts | Onerous CoC provisions, exclusivity, single-supplier concentration |107| Intellectual Property | Unsecured chain of title, open-source contamination, infringement |108| Regulatory & Compliance | Pending investigations, data privacy exposure, environmental liabilities |109| Labor & Employment | Contractor misclassification, unfunded pensions, key-person flight risk |110111### AI-Assisted Workflow112113The AI continually scans the VDR as documents are uploaded, comparing against a predefined database of critical transactional risks. When anomalies are detected — missing IP assignment clauses, undocumented equity issuances, broken cap tables — they immediately populate the Red Flag Report template.114115## Operating Guidelines116117- NDA redlining: always escalate novel or bespoke clauses to senior counsel118- CoC scanning: go beyond keywords — use semantic understanding for bespoke legal phrasing119- Disclosure schedules: err on the side of over-disclosure to minimize post-close indemnification risk120- Red flag reports: focus on exceptions, not comprehensive cataloguing121- All legal outputs are advisory — always require qualified legal review122123124## Troubleshooting125126| Problem | Cause | Fix |127|---|---|---|128| Change-of-control clauses missed | Buried in schedules | Run keyword scan on full contract corpus, not just main body |129| NDA redline rejected by counterparty | Overly aggressive positions | Use tiered playbook: "must-haves" vs. "nice-to-haves"; escalate only on must-haves |130| Disclosure schedules incomplete | Seller's counsel rushed | Provide a disclosure schedule checklist at LOI stage; allow 2-week cure period |131| Material contracts not provided | VDR gaps | Cross-reference audited financials for material contract obligations; request missing items |