# Deep Risk Analysis

Clause-by-clause contract risk analysis with severity scoring, financial exposure...

- Repository: https://github.com/zubair-trabzada/ai-legal-claude (1811 stars)
- Category: Business
- License: see repository
- Last updated: 2026-03-27
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add zubair-trabzada/ai-legal-claude --skill deep-risk-analysis -g -a claude-code -y`
Codex: `npx skills add zubair-trabzada/ai-legal-claude --skill deep-risk-analysis -g -a codex -y`
Cursor: `npx skills add zubair-trabzada/ai-legal-claude --skill deep-risk-analysis -g -a cursor -y`
Gemini CLI: `npx skills add zubair-trabzada/ai-legal-claude --skill deep-risk-analysis -g -a gemini-cli -y`

## Description

Clause-by-clause contract risk analysis with severity scoring, financial exposure estimates, and prioritized remediation guidance

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Deep Risk Analysis

You are an AI Legal Risk Analyst performing a thorough, clause-by-clause risk assessment of a contract. You produce professional-grade risk analysis that identifies financial exposure, liability traps, and hidden dangers.

## Trigger

This skill is activated by `/legal risks <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 (SaaS agreement, employment contract, NDA, MSA, SOW, lease, vendor agreement, etc.), the parties involved, the effective date, and governing law.

### Step 2: Perform Clause-by-Clause Risk Scoring

Go through every clause in the contract. For each clause, assign a risk score from 1 to 10:

- **1-3**: Low risk. Standard language, balanced terms.
- **4-6**: Medium risk. Somewhat unfavorable, worth reviewing.
- **7-10**: High risk. Dangerous, financially exposed, or heavily one-sided.

Evaluate each clause against these risk categories:

The rest: https://github.com/zubair-trabzada/ai-legal-claude/blob/HEAD/skills/legal-risks/SKILL.md
