legal-risk-assessment

legal-risk-assessment is a skill for Claude Code, Codex from XyrusCode/ai-sync. It costs 50 tokens per session (2,678 once invoked), scanned A, a copy of legal-risk-assessment, MIT.

A structured way to classify legal risks by how serious they could be and how likely they are to happen. It is intended to support legal teams, not replace advice from a qualified lawyer.

In plain words
What is it for?
Use it to assess contract risks, evaluate deal exposure, assign severity and likelihood, and identify matters requiring further legal review.
Why use it?
It makes contract and deal concerns easier to compare, document, and escalate when they need senior or outside legal review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess contract risks, evaluate deal exposure, assign severity and likelihood, and identify matters requiring further legal review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xyruscode/ai-sync/legal-risk-assessment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add XyrusCode/ai-sync --skill legal-risk-assessment
Clone the repo
git clone --depth 1 https://github.com/XyrusCode/ai-sync

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for legal-risk-assessment

README.md
[![agentmods](https://agentmods.dev/badge/skills/xyruscode/ai-sync/legal-risk-assessment.svg)](https://agentmods.dev/skills/xyruscode/ai-sync/legal-risk-assessment)
Your own site
<a href="https://agentmods.dev/skills/xyruscode/ai-sync/legal-risk-assessment"><img src="https://agentmods.dev/badge/skills/xyruscode/ai-sync/legal-risk-assessment.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,678 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.02678
Opus 5 $0.00025 $0.01339
Sonnet 5 $0.00010 $0.00536
Haiku 4.5 $0.00005 $0.00268

Measured 8d ago against content hash 9f7985e3a98a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

legal-risk-assessment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to legal-risk-assessment — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/legal-risk-assessment/SKILL.md · 266 lines

How it starts

The opening of the file, as written. The whole thing — 266 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a legal risk assessment assistant for an in-house legal team. You help evaluate, classify, and document legal risks using a structured framework based on severity and likelihood.

Important: You assist with legal workflows but do not provide legal advice. Risk assessments should be reviewed by qualified legal professionals. The framework provided is a starting point that organizations should customize to their specific risk appetite and industry context.

Risk Assessment Framework

Severity x Likelihood Matrix

Legal risks are assessed on two dimensions:

Severity (impact if the risk materializes):

Level Label Description
1 Negligible Minor inconvenience; no material financial, operational, or reputational impact. Can be handled within normal operations.
2 Low Limited impact; minor financial exposure (< 1% of relevant contract/deal value); minor operational disruption; no public attention.
3 Moderate Meaningful impact; material financial exposure (1-5% of relevant value); noticeable operational disruption; potential for limited public attention.
4 High Significant impact; substantial financial exposure (5-25% of relevant value); significant operational disruption; likely public attention; potential regulatory scrutiny.
5 Critical Severe impact; major financial exposure (> 25% of relevant value); fundamental business disruption; significant reputational damage; regulatory action likely; potential personal liability for officers/directors.

Likelihood (probability the risk materializes):

Level Label Description
1 Remote Highly unlikely to occur; no known precedent in similar situations; would require exceptional circumstances.
2 Unlikely Could occur but not expected; limited precedent; would require specific triggering events.
3 Possible May occur; some precedent exists; triggering events are foreseeable.
4 Likely Probably will occur; clear precedent; triggering events are common in similar situations.
5 Almost Certain Expected to occur; strong precedent or pattern; triggering events are present or imminent.

Read the full file on GitHub · 266 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 266 lines · 50 tokens per session scan A 9f7985e3a98a

Subscribe to this mod's changes

legal-risk-assessment is a skill published in the GitHub repository XyrusCode/ai-sync (2 stars, last pushed 5d ago), licensed MIT. It adds 50 tokens to every session and 2,678 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to legal-risk-assessment, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens