
missing-protections-finder
Identifies critical clauses and protections that should be in a contract but are missing, with urgency ratings and ready-to-insert language
- Installs
- 68
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/zubair-trabzada/ai-legal-claude --skill missing-protections-finder- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads missing-protections-finder automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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.
FAQ
What does the missing-protections-finder skill do?
Identifies critical clauses and protections that should be in a contract but are missing, with urgency ratings and ready-to-insert language
How do I install missing-protections-finder?
Run npx skills add https://github.com/zubair-trabzada/ai-legal-claude --skill missing-protections-finder in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/missing-protections-finder/ (personal) or .claude/skills/missing-protections-finder/ (project).
Which AI agents can use missing-protections-finder?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is missing-protections-finder safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains missing-protections-finder?
It is published by zubair-trabzada in zubair-trabzada/ai-legal-claude. It has 68 recorded installs.
More from zubair-trabzada/ai-legal-claude
terms-of-service-generator
zubair-trabzada/ai-legal-claude
Open the skill to read its SKILL.md instructions.
deep-risk-analysis
zubair-trabzada/ai-legal-claude
Clause-by-clause contract risk analysis with severity scoring, financial exposure estimates, and prioritized remediation guidance
contract-comparison
zubair-trabzada/ai-legal-claude
Side-by-side comparison of two contract versions or two different contracts with change tracking, favorability analysis, and risk assessment
counter-proposal-generator
zubair-trabzada/ai-legal-claude
Open the skill to read its SKILL.md instructions.
custom-nda-generator
zubair-trabzada/ai-legal-claude
Open the skill to read its SKILL.md instructions.
plain-english-translation
zubair-trabzada/ai-legal-claude
Open the skill to read its SKILL.md instructions.
Popular business & finance skills
sales-enablement
coreyhaines31/marketingskills
When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'battle card,' 'battlecard,' 'competitive one-pager,' 'win-loss analysis,' 'why are we losing deals,' 'loss reasons,' 'how do I respond to this objection,' 'prospect just said,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps,' 'cold call script,' or 'voicemail script.' Use this for any document or asset that helps a sales team close deals. For public competitor comparison pages, see competitors. For running buyer interviews or churn research, see customer-research. For marketing website copy, see copywriting. For cold outreach emails, see cold-email. For the offer being sold (bonuses, guarantees, pricing structure),
revops
coreyhaines31/marketingskills
When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'outbound pipeline stages,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see emails. For pricing decisions, see pricing.
sales-funnel-blueprint
autonnel/autonnel-skills
Turn an offer into a concrete multi-step sales funnel spec - page-by-page structure, price ladder, copy outline and the metrics each step must hit. Use when asked to build a sales funnel, marketing funnel, landing page flow, lead magnet funnel, webinar funnel, tripwire or VSL funnel, when planning a product launch page flow, or when someone asks "what pages do I need" for selling something online.
pricing
coreyhaines31/marketingskills
When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' 'should I offer a free plan,' 'pricing page teardown,' 'pricing page audit,' 'is my pricing page AI-readable,' or 'can AI read my pricing.' Use this whenever someone is figuring out what to charge, how to structure their plans, or wants to audit a pricing page (for humans and for the AI agents that shortlist tools). For in-app upgrade screens, see paywalls. For offer construction (bonuses, guarantees, value framing, naming) on services/courses/coaching/high-ticket B2B, see offers.
cross-border-ecommerce
nexscope-ai/ecommerce-skills
Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.
pricing-strategy
coreyhaines31/marketingskills
When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' or 'should I offer a free plan.' Use this whenever someone is figuring out what to charge or how to structure their plans. For in-app upgrade screens, see paywall-upgrade-cro.