Agent skill

Deep Risk Analysis

by zubair-trabzada in zubair-trabzada/ai-legal-claude

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

No licenceAuto-check passedLegal & Compliance

Install Deep Risk Analysis

skills CLI
$ npx skills add zubair-trabzada/ai-legal-claude --skill deep-risk-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zubair-trabzada/ai-legal-claude deep-risk-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zubair-trabzada/ai-legal-claude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/legal-risks .claude/skills/deep-risk-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
deep-risk-analysis
GitHub stars
1.8k
Token cost
~1.9k tokens
SKILL.md length
670 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
None found

At a glance

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

  • Works in 5 steps: Read the Contract → Perform Clause-by-Clause Risk Scoring → Identify Hidden Risks → …
  • Tasks that involve Contract review
  • SKILL.md covers Trigger and Instructions
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Deep Risk Analysis is an agent skill from zubair-trabzada/ai-legal-claude. Clause-by-clause contract risk analysis with severity scoring, financial exposure estimates, and prioritized remediation guidance

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Legal & Compliance, covering Contract review and Legal risk assessment. The repository describes itself as: AI Legal Assistant skill for Claude Code. Contract review, risk analysis, NDA generation, compliance auditing, negotiation strategy, and PDF reports — 14 skills, 5 parallel….

When your agent uses it

  • Tasks that involve Contract review
  • Tasks that involve Legal risk assessment

Example prompts

  • “/deep-risk-analysis”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Read the Contract
  2. Perform Clause-by-Clause Risk Scoring
  3. Identify Hidden Risks
  4. For Each Risky Clause (Score 5+), Provide
  5. Generate the Output

What it can do on your machine

Read from SKILL.md and the folder at commit 19ece98. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Deep Risk Analysis loads about 1.9k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 670 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 670 words (~1,934 tokens).

“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.”

— opening of SKILL.md by zubair-trabzada
name
deep-risk-analysis
command
/legal risks <file>

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/legal-risks of zubair-trabzada/ai-legal-claude.

Open the folder on GitHubat commit 19ece98

Compare with similar skills

Deep Risk Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Deep Risk Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deep Risk Analysis this skillzubair-trabzada/ai-legal-claude1.8k—~1.9kAutomated safety check: PassNone
Contract Renewal Trackeranthropics/claude-for-legal9.6k2 repos~3.1kAutomated safety check: PassApache-2.0
Msp LegalRTFM-IT-Services-LLC/msp-claude-skills115—~3.7kAutomated safety check: PassCustom licence
Omh Legal Compliance Reviewrlaope/oh-my-hermes3.2k—~1.9kAutomated safety check: PassMIT
Legal Compliancetravisjneuman/.claude100—~3.4kAutomated safety check: PassMIT
Contract Reviewmohitagw15856/pm-claude-skills1.4k—~857Automated safety check: PassMIT

Similar skills

  • Contract Renewal Tracker

    anthropics/claude-for-legal

    Official

    Shows which contracts renew soon and when notice must be sent by, working from a maintained renewal register, and warns about missed cancellation windows.

    9.6k GitHub starsUsed in 2 repos~3.1k tokens
    Legal & ComplianceAuto-check passed
  • Msp Legal

    RTFM-IT-Services-LLC/msp-claude-skills

    A skill your agent uses for ANY legal or contract work for your MSP: reviewing, drafting, or revising an MSA, Service Order, SOW, SLA, NDA, waiver, DPA, or BAA; triaging a contract a client or…

    115 GitHub stars~3.7k tokensUpdated 8 days ago
    Legal & ComplianceAuto-check passed
  • Omh Legal Compliance Review

    rlaope/oh-my-hermes

    [omh] Business contract, NDA, or policy with legal risk: surface contract and compliance risks, questions, and escalation points before a legal decision or action.

    3.2k GitHub stars~1.9k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • Legal Compliance

    travisjneuman/.claude

    Legal and compliance expertise for corporate governance, contract analysis, regulatory compliance (SOX, GDPR, HIPAA), risk assessment, intellectual property, and litigation management.

    100 GitHub stars~3.4k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • Contract Review

    mohitagw15856/pm-claude-skills

    Review and summarise any contract or legal agreement. An agent skill from mohitagw15856/pm-claude-skills.

    1.4k GitHub stars~857 tokensUpdated 2 days ago
    Legal & ComplianceAuto-check passed
  • Contract Review

    evolsb/claude-legal-skill

    Review legal contracts, NDAs, employment agreements, SaaS terms, and M&A documents.

    464 GitHub starsUsed in 1 repo~3.6k tokens
    Legal & ComplianceAuto-check passed

More from zubair-trabzada/ai-legal-claude

  • 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

    1.8k GitHub stars~1.8k tokensUpdated 6 mo ago
    Auto-check passed
  • Counter Proposal Generator

    zubair-trabzada/ai-legal-claude

    Generates specific counter-proposals for every unfavorable clause, with replacement language, negotiation talking points, and a ready-to-send email template

    1.8k GitHub stars~2.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Custom Nda Generator

    zubair-trabzada/ai-legal-claude

    Generates a complete, customized Non-Disclosure Agreement with plain English annotations, tailored to the specific parties and situation

    1.8k GitHub stars~2.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Plain English Translation

    zubair-trabzada/ai-legal-claude

    Translates every clause of a contract from legalese into clear, plain English with flags for deliberately confusing or misleading language

    1.8k GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Terms Of Service Generator

    zubair-trabzada/ai-legal-claude

    Generates complete, GDPR/CCPA-compliant Terms of Service for a website or SaaS product, with plain English summaries for each section

    1.8k GitHub stars~2.9k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Deep Risk Analysis

What does Deep Risk Analysis do?

Clause-by-clause contract risk analysis with severity scoring, financial exposure estimates, and prioritized remediation guidance. Deep Risk Analysis is an agent skill from zubair-trabzada/ai-legal-claude.

When should I use Deep Risk Analysis?

Deep Risk Analysis fits situations like: tasks that involve Contract review; tasks that involve Legal risk assessment.

How do I install Deep Risk Analysis in Claude Code?

Run `npx skills add zubair-trabzada/ai-legal-claude --skill deep-risk-analysis -a claude-code`. Or copy the skill folder (skills/legal-risks in zubair-trabzada/ai-legal-claude) into .claude/skills/deep-risk-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Deep Risk Analysis in Codex?

Run `npx skills add zubair-trabzada/ai-legal-claude --skill deep-risk-analysis -a codex`. Or copy the skill folder (skills/legal-risks in zubair-trabzada/ai-legal-claude) into .agents/skills/deep-risk-analysis in your project. Codex loads it when a task matches its description.

Can I use Deep Risk Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zubair-trabzada/ai-legal-claude --skill deep-risk-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deep-risk-analysis, .gemini/skills/deep-risk-analysis, .github/skills/deep-risk-analysis and .opencode/skills/deep-risk-analysis in your project.

What does Deep Risk Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Deep Risk Analysis is instructions for the agent only.

Does Deep Risk Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Deep Risk Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Deep Risk Analysis use?

No licence was found for Deep Risk Analysis or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Deep Risk Analysis use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Deep Risk Analysis?

Skills that share tags, products or a category with Deep Risk Analysis: Contract Renewal Tracker (anthropics/claude-for-legal, 9.6k stars), Msp Legal (RTFM-IT-Services-LLC/msp-claude-skills, 115 stars), Omh Legal Compliance Review (rlaope/oh-my-hermes, 3.2k stars) and Legal Compliance (travisjneuman/.claude, 100 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deep Risk Analysis?

zubair-trabzada (a GitHub user) maintains it in zubair-trabzada/ai-legal-claude, which has 1,780 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on March 27, 2026.

Source: zubair-trabzada/ai-legal-claude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.