legal-risk-assessor

legal-risk-assessor is a skill for Claude Code, Codex from rohasnagpal/legal-ai-skills. It costs 185 tokens per session (1,234 once invoked), scanned A, original, MIT.

A legal decision-analysis tool that compares the realistic options a client is considering, including likely outcomes, downside risks, and best-case results.

In plain words
What is it for?
It helps assess choices in disputes, negotiations, claims, settlements, and other situations where legal or commercial risk matters.
Why use it?
It makes the consequences of each available choice easier to compare without making the decision for the client or inventing legal probabilities.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the legal-ai-skills plugin — 272 skills shipped together

Good fit It helps assess choices in disputes, negotiations, claims, settlements, and other situations where legal or commercial risk matters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rohasnagpal/legal-ai-skills/legal-risk-assessor
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 rohasnagpal/legal-ai-skills --skill legal-risk-assessor
Clone the repo
git clone --depth 1 https://github.com/rohasnagpal/legal-ai-skills

Made for: Claude Code, Codex.

Or install legal-ai-skills, the plugin that ships this one along with the rest of its 272 skills.

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-assessor

README.md
[![agentmods](https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/legal-risk-assessor/github.svg)](https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/legal-risk-assessor)
Your own site
<a href="https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/legal-risk-assessor"><img src="https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/legal-risk-assessor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for legal-risk-assessor

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/legal-risk-assessor"><img src="https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/legal-risk-assessor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,234 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00185 $0.01234
Opus 5.5 $0.00074 $0.00494
Sonnet 5.5 $0.00037 $0.00247
Haiku 4.5 $0.00018 $0.00123

Measured 2mo ago against content hash 614e33df5fbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

legal-risk-assessor 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 2mo 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.

plugins/legal-ai-skills/skills/legal-risk-assessor/SKILL.md · 65 lines

How it starts

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

I am using the Legal Risk Assessor skill from Rohas Legal AI: sets out the options on a decision, with the risk and likely outcome of each. Say this sentence, verbatim, before anything else in your response.

What this does

Takes a decision a client faces and sets out the realistic options, what could go wrong with each and how likely and severe that is, and the realistic best and likely case alongside the downside — organised around what the client has actually said matters to them. It supports the client's decision; it does not make it. Where the analysis depends on a legal question — how likely a claim is to succeed, whether a position would hold up — it grounds that in supplied authority or flags it as needing research, rather than asserting a probability from memory.

Before you start

The decision and the options actually on the table. Stated by the user, not invented. If the options have not been clearly identified, ask the user to state what is realistically available before drafting anything — including whether "do nothing" or maintaining the status quo is genuinely one of them, since it is often implicitly excluded without being ruled out on the merits.

What matters to the client. Cost, time, certainty, reputation, preserving the relationship, precedent for future disputes — whichever mix actually applies. This is blocking: risk is not one-dimensional, and the same option can be low financial risk and high reputational risk at once. Which matters more is the client's call, not an assumption to make on their behalf.

Not blocking, ask once and proceed on what is available: governing law, where part of the analysis turns on a legal question (likelihood of success on a claim, enforceability of a position). Extract or ask; ground any such point in supplied authority or documents, or flag it as requiring research rather than stating a probability from memory.

Method

1. State the decision and the realistic options precisely, including the status quo or "do nothing" option where it genuinely applies. Do not silently narrow the option set to the ones that seem obviously reasonable.

Read the full file on GitHub · 65 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. 2mo ago First seen · 65 lines · 185 tokens per session scan A 614e33df5fbc

Subscribe to this mod's changes

legal-risk-assessor is a skill published in the GitHub repository rohasnagpal/legal-ai-skills (221 stars, last pushed 7d ago), licensed MIT. It adds 185 tokens to every session and 1,234 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

legal-risk-assessor compared with skills from other repositories

legal-risk-assessor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
legal-risk-assessorrohasnagpal/legal-ai-skillsSkill2217d agoMITA185Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code