legal-contract-basics

legal-contract-basics is a skill for Claude Code from anhnguyen0905/codex-mcp. It costs 108 tokens per session (1,242 once invoked), scanned A, original, MIT.

A guide for reviewing business contracts, such as service agreements and non-disclosure agreements. It identifies clauses and risks for a lawyer or business reviewer; it is not legal advice.

In plain words
What is it for?
Use it to check parties, prices, renewal and termination terms, liability, indemnity, intellectual property, confidentiality, warranties, and governing law.
Why use it?
It provides a consistent first pass so important terms are less likely to be missed before counsel reviews the document.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the codex-flow plugin — 65 skills, 2 commands, 1 MCP server shipped together

Good fit Use it to check parties, prices, renewal and termination terms, liability, indemnity, intellectual property, confidentiality, warranties, and governing law.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anhnguyen0905/codex-mcp/legal-contract-basics
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 anhnguyen0905/codex-mcp --skill legal-contract-basics
Clone the repo
git clone --depth 1 https://github.com/anhnguyen0905/codex-mcp

Made for: Claude Code.

Or install codex-flow, the plugin that ships this one along with the rest of its 65 skills, 2 commands, 1 MCP server.

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-contract-basics

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/anhnguyen0905/codex-mcp/legal-contract-basics"><img src="https://agentmods.dev/badge/skills/anhnguyen0905/codex-mcp/legal-contract-basics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,242 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 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.00108 $0.01242
Opus 5 $0.00054 $0.00621
Sonnet 5 $0.00022 $0.00248
Haiku 4.5 $0.00011 $0.00124

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

Security

Grade A, and why

legal-contract-basics 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 12d 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-contract-basics/SKILL.md · 93 lines

How it starts

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

This is not legal advice. The output of this skill is a flag list for counsel review, never a legal opinion or a sign-off. Anything marked HIGH must go to a qualified lawyer before signature; never state that a contract is "safe to sign."

Method — read in this order

  1. Parties and defined terms. Confirm the legal entity names match who you think you're contracting with (parent vs subsidiary matters for enforcement). Skim the Definitions section first — a benign clause can hide behind a hostile definition ("Confidential Information", "Services", "Deliverables").
  2. Commercials. Price, payment terms (net-30/60/90), late fees, price-increase mechanics, minimum commitments, true-up clauses.
  3. Term and exit. Initial term, renewal mechanics, termination for convenience vs for cause, cure periods, what survives termination, data return/deletion on exit.
  4. Risk allocation. Liability cap, carve-outs from the cap, indemnification (who indemnifies whom, for what), warranties and disclaimers, insurance requirements.
  5. Ownership and confidentiality. IP in deliverables (assignment vs license), background IP, feedback clauses, confidentiality scope and duration, residuals clauses.
  6. Boilerplate that isn't. Governing law and venue, dispute resolution (arbitration?), assignment on change of control, force majeure, entire-agreement, amendment mechanics.

Clause checklist — what "market" roughly looks like

Liability cap        : commonly 12 months of fees paid; uncapped = HIGH flag
Cap carve-outs       : typical — confidentiality breach, IP infringement, gross negligence;
                       carve-outs that swallow the cap (e.g. "any breach") = HIGH flag
Indemnification      : mutual for third-party IP/bodily-injury claims; one-way broad
                       indemnity from you = HIGH flag
Term / auto-renewal  : auto-renew with 30–60 day non-renewal notice window; note the
                       calendar deadline explicitly in the summary
Termination          : for-convenience with 30–90 days notice is buyer-friendly;
                       no exit before end of term = MEDIUM flag
IP ownership         : work-for-hire/assignment for paid custom work; vendor keeping
                       ownership of paid deliverables = HIGH flag
Confidentiality      : mutual, 2–5 year term (trade secrets often perpetual); one-way
                       NDA where both sides disclose = MEDIUM flag
Payment              : net-30 typical; prepayment of >3 months or non-refundable fees = MEDIUM
Warranties           : conformance to spec + non-infringement; "AS IS" in a paid B2B
                       deal = MEDIUM flag
Governing law/venue  : neutral or your jurisdiction preferred; foreign law + mandatory
                       foreign venue + arbitration = flag for counsel, always

Read the full file on GitHub · 93 lines

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. 12d ago First seen · 93 lines · 108 tokens per session scan A 637a837fd499

Subscribe to this mod's changes

legal-contract-basics is a skill published in the GitHub repository anhnguyen0905/codex-mcp (3 stars, last pushed yesterday), licensed MIT. It adds 108 tokens to every session and 1,242 once invoked, about $0.0005 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-08-31.

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