legal-analysis

legal-analysis is a skill for Claude Code, Codex from beita6969/ScienceClaw. It costs 17 tokens per session (359 once invoked), scanned A, original, MIT.

A legal-document analysis toolkit for extracting contract clauses, comparing terms, and conducting structured legal research.

In plain words
What is it for?
Use it to identify parties, dates, renewal terms, liability limits, termination rights, intellectual-property terms, and other contract clauses.
Why use it?
It helps turn long contracts into organised information and highlights provisions that may be unusual, missing, or risky.

Skill for Claude CodeCodex

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

Good fit Use it to identify parties, dates, renewal terms, liability limits, termination rights, intellectual-property terms, and other contract clauses.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/beita6969/scienceclaw/legal-analysis/github.svg)](https://agentmods.dev/skills/beita6969/scienceclaw/legal-analysis)
Your own site
<a href="https://agentmods.dev/skills/beita6969/scienceclaw/legal-analysis"><img src="https://agentmods.dev/badge/skills/beita6969/scienceclaw/legal-analysis/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-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/beita6969/scienceclaw/legal-analysis"><img src="https://agentmods.dev/badge/skills/beita6969/scienceclaw/legal-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 359 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.00017 $0.00359
Opus 5 $0.00009 $0.00179
Sonnet 5 $0.00003 $0.00072
Haiku 4.5 $0.00002 $0.00036

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

Security

Grade A, and why

legal-analysis 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 9d 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.

skills/legal-analysis/SKILL.md · 31 lines

What it actually says

Purpose

Analyze legal documents, extract key clauses, and perform structured legal research.

Key Datasets

  • CUAD (atticus-project/cuad): Contract Understanding Atticus Dataset — 510 contracts, 41 clause types, 13,000+ annotations (CC-BY)
  • CaseHOLD: Legal case holding identification
  • LegalBench: Legal reasoning benchmark across 162 tasks

Clause Types (from CUAD)

Document Name, Parties, Agreement Date, Effective Date, Expiration Date, Renewal Term, Notice Period, Governing Law, Arbitration, Anti-Assignment, Non-Compete, Non-Solicitation, Termination for Convenience, IP Ownership, License Grant, Non-Disparagement, Revenue/Profit Sharing, Change of Control, Audit Rights, Uncapped Liability, Cap on Liability, Liquidated Damages, Most Favored Nation, Exclusivity, Minimum Commitment, Volume Restriction, Insurance, Covenant Not to Sue, Third Party Beneficiary

Protocol

  1. Document intake — Parse contract structure, identify parties and key dates
  2. Clause extraction — Identify and classify clauses by type
  3. Risk analysis — Flag unusual, missing, or potentially problematic provisions
  4. Comparison — Compare against standard terms for the contract type
  5. Summary — Structured output with key terms, obligations, and risks

Rules

  • This is NOT legal advice — always recommend professional legal review
  • Identify jurisdiction-specific considerations
  • Flag ambiguous language that could be interpreted multiple ways
  • Note missing standard clauses that are typically expected
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. 9d ago First seen · 31 lines · 17 tokens per session scan A 6f9dcc1e7e51

Subscribe to this mod's changes

legal-analysis is a skill published in the GitHub repository beita6969/ScienceClaw (898 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 359 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

treatment-plans

Format and structurally validate local treatment-plan documentation after clinical decisions have already been supplied and verified by authorized licensed professionals. Use for source traceability, clinician-authored intervention records, goals and checkpoints, shared-decision records, reconciliation handoffs, and…

K-Dense-AI/scientific-agent-skills · 62 tokens

redact-pii

Redact personal data from a document through the connected Superlinked MCP edge before working with the content. Use when the user asks to redact, anonymize, scrub, de-identify, or remove PII/sensitive data from a document.

superlinked/sie · 53 tokens

meta-pdf-reformat-pipeline

Modernize a legacy PDF: structural extraction → natural-language rewrite of problem pages → audit summary → re-merge into the final PDF.

opensquilla/opensquilla · 35 tokens

fill-icmje-coi

Batch-generate per-author ICMJE Conflict of Interest Disclosure Forms (coidisclosure.docx) for manuscript submission. Pre-fills all 13 disclosure items as "☒ None" + final certification ☒ using a synthetic seed template shipped with the skill, then clones the seed per author with Date, Name, and Manuscript Title…

Aperivue/medsci-skills · 122 tokens

ectd-xml-compiler

Automatically convert uploaded drug application documents (Word/PDF) into XML skeleton structure compliant with eCTD 4.0/3.2.2 specifications.

aipoch/medical-research-skills · 39 tokens

legal-writer

Legal document drafting -- contracts, memos, briefs, complaints, demand letters, opinions, discovery, settlements, ToS, privacy policies. Full pipeline: document structure, per-section writing, Bluebook citation, case law lookup (CourtListener API), regulation lookup (eCFR API), DOCX output, and TDD-style verification…

kortix-ai/suna · 161 tokens