Missing Protections Finder logo

Missing Protections Finder

CommunityPopular
zubair-trabzada
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

Overview

Publisherzubair-trabzada
Repositoryai-legal-claude
Skill namemissing-protections-finder
Stars
1.7K
Forks
387
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by zubair-trabzada on GitHub. Read the source before you install it.

Installation

Install the Missing Protections Finder AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zubair-trabzada/ai-legal-claude.git /tmp/ai-legal-claude
mkdir -p .claude/skills
cp -r /tmp/ai-legal-claude/skills/legal-missing .claude/skills/missing-protections-finder
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Missing Protections Finder in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Missing Protections Finder on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Missing Protections Finder is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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:

  1. Protection name: Clear, descriptive title
  2. Category: Which area of risk this covers
  3. 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.
  4. Risk indicator:
    • CRITICAL = HIGH RISK
    • IMPORTANT = MEDIUM RISK
    • RECOMMENDED = LOW RISK
  5. Why it matters: Plain English explanation of what could go wrong without this protection
  6. Real-world scenario: A concrete example of how the absence of this protection could hurt the user
  7. 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:

ProtectionWhy It Matters
Limitation of LiabilityCaps the maximum amount either party can owe the other
Liability Cap AmountThe actual cap should be defined (e.g., fees paid in last 12 months), not just referenced
Consequential Damages ExclusionExcludes indirect, incidental, and consequential damages
Indemnification CapIndemnification obligations should have a financial ceiling
Termination for ConvenienceEither party can exit with reasonable notice, not just for cause
Termination for Cause with Cure PeriodThe breaching party gets a chance to fix the problem before termination
Force MajeureExcuses performance during events beyond reasonable control
Dispute Resolution MechanismSpecifies how disputes are resolved (mediation, arbitration, litigation)
Notice RequirementsHow formal notices must be delivered (email, certified mail, etc.)
Amendment ProcedureHow the contract can be modified (must be in writing, signed by both)
SeverabilityIf one clause is invalid, the rest of the contract survives
Entire Agreement / IntegrationThis contract is the complete agreement, superseding prior discussions
Assignment RestrictionsNeither party can transfer the contract without consent
Governing LawWhich jurisdiction's laws apply
Waiver ProvisionFailure to enforce a term once does not waive the right to enforce it later
ConfidentialityObligations to keep contract terms and shared information confidential
Survival ClauseSpecifies 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).

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

Frequently asked questions

What does the Missing Protections Finder AI skill do?

Identifies critical clauses and protections that should be in a contract but are missing, with urgency ratings and ready-to-insert language

Why use Missing Protections Finder on TypingMind?

Because you install it once and use it with any model. Missing Protections Finder is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Missing Protections Finder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/zubair-trabzada/ai-legal-claude/tree/main/skills/legal-missing. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Missing Protections Finder?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Missing Protections Finder?

As many as you like. As long as a model supports skills, you can use Missing Protections Finder with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Missing Protections Finder AI skill free?

It is published on GitHub by zubair-trabzada. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇