contract-review

contract-review is a skill for Claude Code, Codex from code-lawyer/Legal-Agent-Skills. It costs 86 tokens per session (836 once invoked), scanned A, original, MIT.

A contract-review workflow for agreements governed by Chinese law, United States law, or both. It examines clauses one by one and produces a list of legal-risk questions, with an optional marked-up Word document.

In plain words
What is it for?
Use it to review NDAs, service agreements, software agreements, sales contracts, and other agreements for clause-level risks.
Why use it?
Contracts can create different risks depending on which country's law and courts apply. This workflow organizes the review around those legal systems.

Skill for Claude CodeCodex

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

Good fit Use it to review NDAs, service agreements, software agreements, sales contracts, and other agreements for clause-level risks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/code-lawyer/legal-agent-skills/contract-review
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 code-lawyer/Legal-Agent-Skills --skill contract-review
Clone the repo
git clone --depth 1 https://github.com/code-lawyer/Legal-Agent-Skills

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/code-lawyer/legal-agent-skills/contract-review"><img src="https://agentmods.dev/badge/skills/code-lawyer/legal-agent-skills/contract-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 836 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.00086 $0.00836
Opus 5 $0.00043 $0.00418
Sonnet 5 $0.00017 $0.00167
Haiku 4.5 $0.00009 $0.00084

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

Security

Grade A, and why

contract-review 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 11d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/redline_docx.py, scripts/test_redline_docx.py, validate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

contract-review/SKILL.md · 42 lines

What it actually says

合同审查(中美双法域)

文件定位(先读)

本 skill 由多个文件组成。下文所有 references/…rules/… 路径均相对于本 SKILL.md 所在目录。开始前先确定该目录(你被指向或读取本文件时所在的位置),之后所有读取都基于它解析,不要用当前工作目录去找。

何时使用

  • 用户要求审查、审阅、markup、检查一份合同或其中条款。
  • 用户问某条款在中国法或美国法下是否有效/有风险/如何修改。
  • 上游技能路由到合同审查。
  • 或当被明确要求用本 skill 审查合同、或被指向本 SKILL.md 时。

任务边界

本技能只做合同审查 + 可选 Word 红线稿。不做合同起草、企业核验、续约提醒、版本对比、流程图、实务画像。 需要按案卷/知识库填充一份模板/文书 → 使用 document-fill

执行顺序(按阶段按需读取,不要一次读全)

  1. references/00-workflow.md,按四阶段推进。
  2. 阶段2 判定法域时,列出 references/rules/ 下每个子目录、各读其中的 _pack.md 清单(极小),不读规则正文。
  3. 阶段3 深审时,读 references/02-methodology.md + 判定法域包的 _general.md + 命中业务领域那一个卡;跨境才读第二法域包。
  4. 出问题清单读 references/06-output-and-severity.md;涉精确法条调 references/07-verification.md;要红线稿才读 references/08-redline.md

按需读取索引

  • references/00-workflow.md — 四阶段主流程
  • references/01-jurisdiction-routing.md — 法域判定与跨境
  • references/02-methodology.md — 法域中立审查骨架 + 失败模式 + 大输入纪律
  • references/rules/<法域>/ — 可插拔规则包(_pack.md 清单 / _general.md 通用 / 领域卡)
  • references/06-output-and-severity.md — 双轴评级 + 问题卡 + 来源标签 + 备忘录
  • references/07-verification.md — MCP 验证接口 + 三轮检索 + 注入防御
  • references/08-redline.md — Word 红线七步 QA

输出底线

  • 不跳过用户材料;读取失败必须说明。
  • 不用模型记忆替代法律核验;引用法规/案例必须带来源标签之一(见 06)并注明核验状态。
  • 材料不足提示缺口,不静默脑补。
  • 检查表是底线不是上限:超出审查卡的法律问题照常作答并说明;学理问题直接答,不硬塞进文件审查流程。
  • 正式审查交付附免责声明(不构成最终法律意见、需主办律师复核);格式见 references/06-output-and-severity.md
Files

What ships with it

38 files 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. 11d ago First seen · 42 lines · 86 tokens per session scan A e4315b7907c7

Subscribe to this mod's changes

contract-review is a skill published in the GitHub repository code-lawyer/Legal-Agent-Skills (2 stars, last pushed 19d ago), licensed MIT. It adds 86 tokens to every session and 836 once invoked, about $0.0004 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

contract-guardian

A contract-review workflow that checks agreements for risks, links important findings to relevant laws, and produces a written review. It covers common agreements such as sales, leases, loans, services, contracting, and intellectual property.

lawyerllsx-dotcom/Legal-Workflow-Chain · 245 tokens

法律周报

A legal-news briefing workflow that finds recent court and legal-practice articles, scores them against selected criteria, and archives chosen items in a local Obsidian notes folder. Obsidian is a local note-taking application.

lawyerllsx-dotcom/Legal-Workflow-Chain · 242 tokens

legal-research

A Chinese-language legal research workflow for finding laws, regulations, court cases, compensation standards, and legal grounds.

lawyerllsx-dotcom/Legal-Workflow-Chain · 87 tokens

legal-citation-comprehensive

A Chinese and foreign legal-citation tool for checking, completing, explaining, and formatting footnotes under the second edition of a legal citation manual. It handles laws, cases, legal documents, and academic sources when the relevant source material is provided.

lawyerllsx-dotcom/Legal-Workflow-Chain · 119 tokens

legal-fact-checker

A Chinese-language fact-checking guide for legal documents such as contracts, case analyses, legal opinions, and legal assignments. It checks provided drafts against factual and legal support without inventing laws, cases, or facts.

lawyerllsx-dotcom/Legal-Workflow-Chain · 143 tokens

workflow-overview

A workflow guide for handling complex legal matters through assessment, issue identification, source research, reasoning, fact checking, and document output.

lawyerllsx-dotcom/Legal-Workflow-Chain · 63 tokens