Performs deep clause-by-clause risk scoring across 10 categories with poison pill detection and financial exposure estimation.

MITAuto-check passedLegal & Compliance

Install Risk Analysis

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill risk-analysis -a claude-code

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace 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/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/risk-analysis .claude/skills/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
risk-analysis
GitHub stars
2.8k
Token cost
~2k tokens
SKILL.md length
726 words
Files
1
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Performs deep clause-by-clause risk scoring across 10 categories with poison pill detection and financial exposure estimation.

  • Works in 7 steps: Read the full contract. Use the Read… → Identify all material clauses. Extract… → Score each clause across 10 risk… → …
  • A user needs to understand the specific risks in a contract before signing
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Risk Analysis is an agent skill from jeremylongshore/tons-of-skills-marketplace. Performs deep clause-by-clause risk scoring across 10 categories with poison pill detection and financial exposure estimation. Use when a user needs to understand the specific risks in a contract before signing. Trigger with "/risk-analysis" or "what are the risks in this contract".

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code

It sits in Legal & Compliance. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • A user needs to understand the specific risks in a contract before signing
  • With /risk-analysis
  • What are the risks in this contract

Example prompts

  • “/risk-analysis”
  • “what are the risks in this contract”
  • “Use the risk-analysis skill to perform deep clause-by-clause risk scoring across 10 categories with poison pill detection and financial exposure…”
  • “/risk-analysis”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Glob, Grep

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Read the full contract. Use the Read tool if a file path is provided.
  2. Identify all material clauses. Extract each numbered section or clause
  3. Score each clause across 10 risk categories (1 = minimal risk,
  4. Detect poison pills. Scan for these specific patterns
  5. Estimate financial exposure. For each high-risk clause (score >= 7),
  6. Build the risk heat map. Rank all clauses by composite risk score
  7. Generate recommendations. For each high-risk clause, provide

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    Links to these hosts (documentation or services it may open):

    • commonpaper.com
    • americanbar.org
    • ftc.gov
    • ali.org

    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.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Risk Analysis loads about 2k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 726 words of instructions outside code blocks.

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

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

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 726 words, ~1,987 tokens.

Download SKILL.mdSave it as .claude/skills/risk-analysis/SKILL.md (or your agent's skills folder).
name
risk-analysis
description
Performs deep clause-by-clause risk scoring across 10 categories with poison pill detection and financial exposure estimation. Use when a user needs to understand the specific risks in a contract before signing. Trigger with "/risk-analysis" or "what are the risks in this contract".
allowed-tools
Read, Glob, Grep
compatibility
Designed for Claude Code
version
1.1.0
author
Intent Solutions <jeremy@intentsolutions.io>
license
MIT
tags
legal, contracts, risk, analysis, due-diligence, compliance

Risk Analysis — Clause-by-Clause Risk Scoring

Standalone deep-dive skill that scores every material clause in a contract against ten risk categories, flags poison pills, and estimates financial exposure. Designed to surface the clauses that could cost the most money or create the most liability.

Overview

Every contract contains trade-offs. This skill systematically identifies which trade-offs are reasonable and which are dangerous by scoring clauses on a 1-10 severity scale across ten categories. It specifically hunts for "poison pills" — clauses that appear innocuous but create disproportionate risk when triggered.

Unlike a general review, this skill produces a quantified risk profile: a heat map of where the danger lives, what it could cost, and what to do about it.

Prerequisites

  • A contract must be provided as a file path or pasted text.
  • The user should ideally specify which party's perspective to analyze from (e.g., "I am the service provider" or "I am the client"). If not specified, the analysis defaults to the party that did not draft the contract.

Instructions

  1. Read the full contract. Use the Read tool if a file path is provided.

  2. Identify all material clauses. Extract each numbered section or clause that creates obligations, rights, restrictions, or liabilities.

  3. Score each clause across 10 risk categories (1 = minimal risk, 10 = extreme risk):

    #CategoryWhat to Evaluate
    1Financial LiabilityUncapped damages, liquidated damages, penalty clauses
    2IndemnificationScope, carve-outs, caps, duty to defend vs. hold harmless
    3Intellectual PropertyWork-for-hire, assignment breadth, background IP protection
    4TerminationFor-cause vs. convenience, cure periods, termination fees
    5Non-Compete / Non-SolicitDuration, geographic scope, industry breadth
    6ConfidentialityDuration, scope of "confidential," residual knowledge carve-outs
    7Limitation of LiabilityCap amount, exclusion of consequential damages, mutual vs. one-sided
    8Data & PrivacyData ownership, breach notification, sub-processor controls
    9Dispute ResolutionArbitration vs. litigation, venue, fee allocation, class action waiver
    10Regulatory / ComplianceRepresentations of compliance, audit rights, change-in-law provisions
  4. Detect poison pills. Scan for these specific patterns:

    • Clauses buried in definitions that create substantive obligations
    • Cross-references that expand scope (e.g., "including but not limited to" chains that remove boundaries)
    • Survival clauses that extend obligations indefinitely post-termination
    • Automatic renewal with silent rollover and difficult opt-out
    • Unilateral amendment rights ("Company may modify these terms at any time")
    • Fee escalation triggers hidden in appendices or schedules
    • Broad assignment rights that allow transfer to unknown third parties
    • Waiver of jury trial buried in boilerplate
  5. Estimate financial exposure. For each high-risk clause (score >= 7), estimate the potential financial impact:

    • Direct costs: Stated penalties, liquidated damages, fee caps
    • Indirect costs: Lost IP value, opportunity cost of non-compete, litigation expenses
    • Worst-case scenario: Maximum realistic exposure if the clause triggers
  6. Build the risk heat map. Rank all clauses by composite risk score (severity x probability). Flag the top 5 as "Critical Attention Required."

  7. Generate recommendations. For each high-risk clause, provide:

    • What to negotiate (specific language changes)
    • Fallback position if negotiation fails
    • Walk-away threshold
Show full SKILL.md (239 more words)Show less

Output

Filename: RISK-ANALYSIS-{YYYY-MM-DD}.md

# Risk Analysis Report
## Contract Summary
## Risk Perspective: [which party]
## Risk Heat Map
| Clause | Section | Category | Severity (1-10) | Probability | Composite |
## Poison Pill Alerts
## Financial Exposure Summary
| Risk | Best Case | Expected | Worst Case |
## Top 5 Critical Risks (detailed analysis)
## Negotiation Recommendations
## Overall Risk Rating: [LOW / MODERATE / HIGH / CRITICAL]
## Disclaimer

Error Handling

Failure ModeCauseResolution
Missing party perspectiveUser did not specify their roleAsk which party they represent before proceeding
Incomplete contractSchedules or exhibits referenced but not providedNote the gaps explicitly; score only what is available
Ambiguous clause languageDeliberately vague or circular definitionsFlag as a risk in itself; score higher for intentional ambiguity
No financial terms statedContract omits dollar amountsEstimate exposure qualitatively (low/medium/high) instead of dollar amounts
Multiple governing lawsContract references conflicting jurisdictionsFlag the conflict as a dispute-resolution risk

Examples

Example 1 — SaaS Agreement risk analysis:

User: Analyze the risks in this SaaS agreement. I am the customer.

Top Risks:
1. Section 9.3 — Indemnification: 9/10
   Customer indemnifies vendor for "any claims arising from use" with no cap.
   Exposure: Potentially unlimited. Negotiate mutual indemnification with cap.

2. Section 14.1 — Unilateral Amendment: 8/10
   "Company may modify terms with 30 days notice." No opt-out except
   termination. Poison pill: effectively allows price increases mid-term.
   Negotiate: Require mutual consent for material changes.

3. Section 5.2 — Data Ownership: 8/10
   "Customer grants Company a perpetual, irrevocable license to use
   Customer Data for product improvement." Survives termination.
   Negotiate: Limit to anonymized, aggregated data only.

Overall Risk Rating: HIGH

Example 2 — Employment agreement:

User: What are the risks in ~/contracts/offer-letter.pdf? I am the employee.

Poison Pill Detected:
Section 12(c) — "Inventions Assignment" includes work created
"using any Company equipment" with no time-of-day limitation.
Combined with Section 3(a) requiring use of company laptop,
this effectively assigns ALL inventions to employer — including
personal side projects.

Resources


Legal Disclaimer: This skill provides AI-generated risk analysis for informational and educational purposes only. It does not constitute legal advice, create an attorney-client relationship, or substitute for consultation with a qualified attorney. Risk scores are heuristic estimates, not legal determinations. Actual risk depends on jurisdiction, specific facts, and applicable law. Always consult a licensed attorney before making decisions based on this analysis.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/.curated/risk-analysis of jeremylongshore/tons-of-skills-marketplace.

Open the folder on GitHubat commit cfae287

Compare with similar skills

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.

Risk Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Risk Analysis this skilljeremylongshore/tons-of-skills-marketplace2.8k—~2kAutomated safety check: PassMIT
Paper to Chinese Patent DrafterYuan1z0825/nature-skills47k1 repos~1.1kAutomated safety check: PassApache-2.0
C15tc15t/c15t1.9k1 repos~1.6kAutomated safety check: PassApache-2.0
Contract Reviewevolsb/claude-legal-skill4641 repos~3.6kAutomated safety check: PassMIT
Legal Clinic Client Intakeanthropics/claude-for-legal9.6k3 repos~3.2kAutomated safety check: PassApache-2.0
Paper To Cn Patentsnipp-zha/Paper-to-patent-Skill1071 repos~959Automated safety check: PassNone

Similar skills

  • Paper to Chinese Patent Drafter

    Yuan1z0825/nature-skills

    Drafts Chinese invention patent applications and technical disclosures from research papers or inventor materials, tying each claim feature to source evidence.

    47k GitHub starsUsed in 1 repo~1.1k tokens
    Legal & ComplianceAuto-check passed
  • C15t

    c15t/c15t

    Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.

    1.9k GitHub starsUsed in 1 repo~1.6k tokens
    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
  • Legal Clinic Client Intake

    anthropics/claude-for-legal

    Official

    Structures a legal clinic client intake interview and produces a case summary with cross-area issue spotting, conflict flags and triage classification.

    9.6k GitHub starsUsed in 3 repos~3.2k tokens
    Legal & ComplianceAuto-check passed
  • Paper To Cn Patent

    snipp-zha/Paper-to-patent-Skill

    Convert scientific papers, theses, technical reports, source code, figures, or research manuscripts into evidence-grounded Chinese invention patent drafts.

    107 GitHub starsUsed in 1 repo~959 tokens
    Legal & ComplianceAuto-check passed
  • Employment Contract Templates

    ynulihao/AgentSkillOS

    Create employment contracts, offer letters, and HR policy documents following legal best practices.

    618 GitHub starsUsed in 12 repos~4.1k tokens
    Legal & ComplianceAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Risk Analysis

What does Risk Analysis do?

Performs deep clause-by-clause risk scoring across 10 categories with poison pill detection and financial exposure estimation. Risk Analysis is an agent skill from jeremylongshore/tons-of-skills-marketplace. Performs deep clause-by-clause risk scoring across 10 categories with poison pill detection and financial exposure estimation.

When should I use Risk Analysis?

Risk Analysis fits situations like: A user needs to understand the specific risks in a contract before signing; with /risk-analysis; what are the risks in this contract.

How do I install Risk Analysis in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill risk-analysis -a claude-code`. Or copy the skill folder (skills/.curated/risk-analysis in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/risk-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Risk Analysis in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill risk-analysis -a codex`. Or copy the skill folder (skills/.curated/risk-analysis in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/risk-analysis in your project. Codex loads it when a task matches its description.

Can I use 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 jeremylongshore/tons-of-skills-marketplace --skill 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/risk-analysis, .gemini/skills/risk-analysis, .github/skills/risk-analysis and .opencode/skills/risk-analysis in your project.

What does Risk Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Risk Analysis is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep. Compatibility (from SKILL.md): Designed for Claude Code.

Does Risk Analysis access the network?

SKILL.md names 4 domains. As links in the text: commonpaper.com, americanbar.org, ftc.gov and ali.org. This is read from the text; nothing was executed.

Is 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 Risk Analysis use?

Risk Analysis is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Risk Analysis use?

About 2k tokens (SKILL.md is roughly 7.9k 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 Risk Analysis?

Skills that share tags, products or a category with Risk Analysis: Paper to Chinese Patent Drafter (Yuan1z0825/nature-skills, 47k stars), C15t (c15t/c15t, 1.9k stars), Contract Review (evolsb/claude-legal-skill, 464 stars) and Legal Clinic Client Intake (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Risk Analysis?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.