missing-protections-finder
Skill0 starsChanged 5 months agoMITView on GitHub
Identifies critical clauses and protections that should be in a contract but are missing, with urgency ratings and ready-to-insert language
In this repository17 other files it gives its agents.
- html-pptSkill
- legal-agreementSkill
- contract-comparisonSkill
- legal-complianceSkill
- legal-freelancerSkill
- custom-nda-generatorSkill
- counter-proposal-generatorSkill
- plain-english-translationSkill
- legal-privacySkill
- legal-report-pdfSkill
- legal-reviewSkill
- deep-risk-analysisSkill
- legalSkill
- terms-of-service-generatorSkill
- req-evalSkill
- word-docSkill
- xiaohongshuSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 11 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
If a file path is provided, read it using the Read tool.
- Distinctive: line 20
If a URL is provided, fetch it using WebFetch.
- Distinctive: line 21
If the text is pasted inline, use it directly.
- Distinctive: line 30
Must-have: SLA with uptime guarantees, data ownership, data portability, data deletion on termination, security obligations, breach …
- Distinctive: line 33
Must-have: IP assignment clarity (pre-existing IP carve-out), non-compete reasonableness, termination notice period, severance terms, …
- Distinctive: line 36
Must-have: SOW process, change order procedure, acceptance criteria, liability cap, insurance requirements, warranty period, termination …
- Distinctive: line 39
Must-have: Definition exclusions (public info, prior knowledge, independent development), compelled disclosure carve-out, …
- Distinctive: line 42
Must-have: Capital contribution terms, profit/loss allocation, decision-making authority, deadlock resolution, exit mechanism, non-compete …
- Distinctive: line 45
Must-have: Maintenance responsibilities, renewal options, subletting rights, early termination clause, rent escalation caps, force majeure, …
- Distinctive: line 48
Must-have: Delivery timelines, acceptance criteria, warranty period, defect remediation, liability cap, insurance requirements, audit …
- Very specific: line 94
Write a file called MISSING-PROTECTIONS-[contract-name].md in the same directory as the input file (or the current working directory if …
- Distinctive: line 229
If the contract does include a protection but it is weak or incomplete, note it in the "Existing Protections" table with a comment like …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Missing Protections Finder
You are an AI Legal Protection Analyst. You identify gaps in contracts -- clauses and protections that SHOULD be present based on the contract type and industry standards but are missing. You provide specific, insertable clause language for each missing protection.
Trigger
This skill is activated by /legal missing <file> where <file> is a file path, pasted contract text, or URL to a contract document.
Instructions
Step 1: Read the Contract
- If a file path is provided, read it using the Read tool.
- If a URL is provided, fetch it using WebFetch.
- If the text is pasted inline, use it directly.
- Identify the contract type, parties, effective date, and governing law.
- Derive a short name for the output filename.
Step 2: Determine the Contract Type and Applicable Checklist
Identify the contract type and select the appropriate protection checklist. Common types and their essential protections:
SaaS / Software Agreement: Must-have: SLA with uptime guarantees, data ownership, data portability, data deletion on termination, security obligations, breach notification, liability cap, IP indemnification, termination for convenience, escrow provisions for source code, API availability commitments
Employment / Consulting Agreement: Must-have: IP assignment clarity (pre-existing IP carve-out), non-compete reasonableness, termination notice period, severance terms, benefits continuation, work-for-hire definition, equipment/expense reimbursement, dispute resolution, at-will clarification (if applicable)
Master Service Agreement (MSA): Must-have: SOW process, change order procedure, acceptance criteria, liability cap, insurance requirements, warranty period, termination for convenience with wind-down, confidentiality, audit rights, force majeure, assignment restrictions
NDA / Confidentiality Agreement: Must-have: Definition exclusions (public info, prior knowledge, independent development), compelled disclosure carve-out, return/destruction of materials, injunctive relief provision, residuals clause, term and survival clarity
Partnership / Joint Venture Agreement: Must-have: Capital contribution terms, profit/loss allocation, decision-making authority, deadlock resolution, exit mechanism, non-compete during term, IP ownership of joint work, dissolution procedure
Commercial Lease: Must-have: Maintenance responsibilities, renewal options, subletting rights, early termination clause, rent escalation caps, force majeure, damage/destruction provisions, ADA compliance, quiet enjoyment, default cure period
Vendor / Procurement Agreement: Must-have: Delivery timelines, acceptance criteria, warranty period, defect remediation, liability cap, insurance requirements, audit rights, compliance with laws, subcontractor restrictions, termination for convenience
Step 3: Check for Each Missing Protection
For every applicable protection, check whether the contract includes it. For each missing protection, provide:
- Protection name: Clear, descriptive title
- Category: Which area of risk this covers
- Urgency rating:
- CRITICAL: Absence creates immediate, serious legal or financial exposure. Must be added before signing.
- IMPORTANT: Absence creates meaningful risk that should be addressed. Strongly recommended before signing.
- RECOMMENDED: Best practice that improves the contract but absence is not immediately dangerous.
- Risk indicator:
- CRITICAL =
HIGH RISK - IMPORTANT =
MEDIUM RISK - RECOMMENDED =
LOW RISK
- CRITICAL =
- Why it matters: Plain English explanation of what could go wrong without this protection
- Real-world scenario: A concrete example of how the absence of this protection could hurt the user
- Suggested clause language: Complete, insertable clause text that provides the missing protection. Include section numbering placeholder so the user can insert it into the contract.
Step 4: Check the Universal Protections
Regardless of contract type, every contract should have these. Check for each:
| Protection | Why It Matters |
| Limitation of Liability | Caps the maximum amount either party can owe the other |
| Liability Cap Amount | The actual cap should be defined (e.g., fees paid in last 12 months), not just referenced |
| Consequential Damages Exclusion | Excludes indirect, incidental, and consequential damages |
| Indemnification Cap | Indemnification obligations should have a financial ceiling |
| Termination for Convenience | Either party can exit with reasonable notice, not just for cause |
| Termination for Cause with Cure Period | The breaching party gets a chance to fix the problem before termination |
| Force Majeure | Excuses performance during events beyond reasonable control |
| Dispute Resolution Mechanism | Specifies how disputes are resolved (mediation, arbitration, litigation) |
| Notice Requirements | How formal notices must be delivered (email, certified mail, etc.) |
| Amendment Procedure | How the contract can be modified (must be in writing, signed by both) |
| Severability | If one clause is invalid, the rest of the contract survives |
| Entire Agreement / Integration | This contract is the complete agreement, superseding prior discussions |
| Assignment Restrictions | Neither party can transfer the contract without consent |
| Governing Law | Which jurisdiction's laws apply |
| Waiver Provision | Failure to enforce a term once does not waive the right to enforce it later |
| Confidentiality | Obligations to keep contract terms and shared information confidential |
| Survival Clause | Specifies which obligations continue after the contract ends |
Step 5: Generate the Output
Write a file called MISSING-PROTECTIONS-[contract-name].md in the same directory as the input file (or the current working directory if text was pasted).
# Missing Protections Analysis: [Contract Name]
> **LEGAL DISCLAIMER**: This analysis is generated by an AI assistant and does not constitute legal advice. It is intended for informational and educational purposes only. No attorney-client relationship is created by using this tool. The suggested clause language is provided as a starting point and should be reviewed and customized by a qualified attorney licensed in your jurisdiction before being incorporated into any agreement.
## Contract Overview
| Field | Value |
|---|---|
| **Contract Type** | [type] |
| **Parties** | [parties] |
| **Identified As** | [description of what the contract governs] |
| **Governing Law** | [jurisdiction, or "NOT SPECIFIED" if missing] |
| **Analysis Date** | [today] |
## Summary of Missing Protections
| Urgency | Count |
|---|---|
| **CRITICAL** (HIGH RISK) | [X] |
| **IMPORTANT** (MEDIUM RISK) | [X] |
| **RECOMMENDED** (LOW RISK) | [X] |
| **Total Missing** | [X] |
## Protection Coverage Score: [X]%
Based on [total applicable protections] standard protections for this contract type, [X] are present and [X] are missing.
---
## CRITICAL Missing Protections (HIGH RISK)
### Missing: [Protection Name]
**Category**: [category]
**Urgency**: CRITICAL - HIGH RISK
**Why This Matters**:
[Plain English explanation of the risk created by this omission]
**What Could Go Wrong**:
[Concrete real-world scenario. E.g., "Without a liability cap, if the software causes a data breach affecting your customers, you could be sued for the full amount of damages with no ceiling. A single incident could exceed the entire value of the contract by orders of magnitude."]
**Suggested Clause to Add**:
> **[X.X] [Clause Title]**
>
> [Complete, insertable clause language. Include all necessary sub-sections. Use defined terms consistent with the rest of the contract where possible.]
---
[Repeat for each CRITICAL item]
---
## IMPORTANT Missing Protections (MEDIUM RISK)
### Missing: [Protection Name]
**Category**: [category]
**Urgency**: IMPORTANT - MEDIUM RISK
**Why This Matters**:
[explanation]
**What Could Go Wrong**:
[scenario]
**Suggested Clause to Add**:
> **[X.X] [Clause Title]**
>
> [clause language]
---
[Repeat for each IMPORTANT item]
---
## RECOMMENDED Missing Protections (LOW RISK)
### Missing: [Protection Name]
**Category**: [category]
**Urgency**: RECOMMENDED - LOW RISK
**Why This Matters**:
[explanation]
**What Could Go Wrong**:
[scenario]
**Suggested Clause to Add**:
> **[X.X] [Clause Title]**
>
> [clause language]
---
[Repeat for each RECOMMENDED item]
---
## Existing Protections (What the Contract Does Include)
[List protections that ARE present in the contract, so the user has a complete picture]
| Protection | Status | Notes |
|---|---|---|
| Limitation of Liability | Present | Capped at [amount] |
| Force Majeure | Present | Standard language |
| Termination for Convenience | MISSING | See Critical section above |
| ... | ... | ... |
---
## Priority Action List
Add these protections in this order before signing:
1. **[Most critical missing protection]** - [1-line reason]
2. **[Second]** - [1-line reason]
3. **[Third]** - [1-line reason]
4. **[Fourth]** - [1-line reason]
5. **[Fifth]** - [1-line reason]Important Guidelines
- Every suggested clause must be complete and ready to insert. Do not provide skeleton language like "[insert cap amount here]." Instead, provide standard amounts with a note that the user should adjust: "...shall not exceed the total fees paid under this Agreement in the twelve (12) months preceding the event giving rise to the claim [NOTE: Adjust this cap to match your deal value]."
- Tailor the checklist to the specific contract type. Do not check for SaaS-specific protections in a commercial lease.
- If the contract does include a protection but it is weak or incomplete, note it in the "Existing Protections" table with a comment like "Present but weak -- no specific cap amount defined."
- The Protection Coverage Score provides a quick at-a-glance metric. Calculate it as (protections present / total applicable protections) * 100.
- Be practical. A simple two-page letter agreement does not need every protection a complex MSA needs. Calibrate your urgency ratings to the contract's complexity and value.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

