amendment-history

amendment-history is a skill for Claude Code from zhou210712/claude-for-legal-ZH. It costs 87 tokens per session (1,655 once invoked), scanned A, original, Apache-2.0.

A contract-history tool that compares a base agreement with its amendments, which are later documents that change the original contract. It can summarize the full timeline or track how one provision, such as liability or pricing, changed over time.

In plain words
What is it for?
Use it with an original contract and its amendments to list changes or trace a specific provision. It helps answer what changed, where the current clause appears, and whether the revised agreement needs another full review.
Why use it?
After several amendments, it becomes difficult to tell which wording is currently effective. This organizes the versions and identifies the latest language for the requested topic.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Part of the commercial-legal plugin — 9 skills, 3 agents shipped together

Good fit Use it with an original contract and its amendments to list changes or trace a specific provision. It helps answer what changed, where the current clause appears, and whether the revised agreement needs another full review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhou210712/claude-for-legal-zh/amendment-history
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 zhou210712/claude-for-legal-ZH --skill amendment-history
Clone the repo
git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH

Made for: Claude Code.

Or install commercial-legal, the plugin that ships this one along with the rest of its 9 skills, 3 agents.

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 amendment-history

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhou210712/claude-for-legal-zh/amendment-history/github.svg)](https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/amendment-history)
Your own site
<a href="https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/amendment-history"><img src="https://agentmods.dev/badge/skills/zhou210712/claude-for-legal-zh/amendment-history/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 amendment-history

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/amendment-history"><img src="https://agentmods.dev/badge/skills/zhou210712/claude-for-legal-zh/amendment-history.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,655 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.00087 $0.01655
Opus 5 $0.00044 $0.00827
Sonnet 5 $0.00017 $0.00331
Haiku 4.5 $0.00009 $0.00166

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

Security

Grade A, and why

amendment-history 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 13d 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.

commercial-legal/skills/amendment-history/SKILL.md · 192 lines

How it starts

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

/amendment-history

加载基础协议及所有修订,然后总结历次变更内容或追踪特定条款的当前有效语言。

指令

  1. 获取文件: 从文件上传、合同管理系统ID(即将上线)或存储库链接(即将上线)获取。接受一次调用中的多个文件。如未提供,询问。

  2. 检测模式 通过解析请求判断运行模式。明确指出条款名称→模式2。未提及条款→模式1。仅在真的存在歧义时才询问。

  3. 运行以下工作流。 完全执行。

  4. 输出后提供后续操作:

    • "是否需要追踪其他条款?"
    • "是否需要对修正后的现行协议进行完整审查指引审查?(路由至供应商协议审查)"
    • "是否需要关键变更的利益方摘要?(路由至利益方摘要)"

示例

/commercial-legal:amendment-history acme-msa.pdf amendment-1.pdf amendment-2.pdf
/commercial-legal:amendment-history --provision 赔偿
/commercial-legal:amendment-history
[粘贴协议和修订文本]

事项上下文

事项上下文。 检查业务领域级 CLAUDE.md 中的 ## 事项工作区。如果 Enabled(法务用户的默认值),跳过本段其余内容。如果已启用且没有活动事项,询问。加载活动事项的 matter.md


目的

合同不断积累修订。到第三份修订时,没有人记得原版写了什么或哪个条款版本现行有效。本技能按时间顺序阅读基础协议及所有修订,总结整个合同的变更或追踪特定条款的当前有效语言。

模式检测

模式1 — 摘要(未提及具体条款) 触发语:"改了什么""修订历史""显示历次变更"

模式2 — 条款追踪(指明具体条款或主题) 触发语:"[条款]在哪里""最新的[条款]""[条款]如何变化的"

常见条款映射:

  • "赔偿" → 赔偿章节
  • "责任""责任上限" → 责任限制
  • "终止" → 期限和终止
  • "数据""隐私""数据处理协议" → 数据保护条款
  • "知识产权" → 知识产权所有权和许可
  • "价格""费用""支付" → 支付条款
  • "自动续约""续约" → 续约机制

步骤1:加载并排列文件

从以下来源接受文件:

合同管理系统集成(即将上线): 按对方当事人名称搜索。获取基础协议及所有修订。

直接上传: 用户直接提供文件。大多数情况下文件标题自解释("修订协议一""第二份修订协议")。仅在以下情况要求用户确认顺序:文件名无顺序指示、日期缺失、两份文件似为同一修订版本。

排列规则: 始终在阅读内容前建立时间顺序。使用执行日期、文件头日期或修订编号。


保密特权继承

本技能读取基础协议及修订——这些文件本身通常具有保密性。输出继承来源文件的保密地位。在输出前加上工作成果文件头,仅在保密特权圈内分发。

步骤2:阅读并索引

按时间顺序阅读每个文件。提取:文件类型、执行日期、当事人、明确修改/新增/删除的条款清单。构建内部工作索引。


模式1:所有变更摘要

输出格式

# 修订历史:[对方当事人] — [协议类型]

**基础协议:** [日期]
**修订:** [N]份([首份日期] → [末份日期])
**最后修订:** [日期]

---

## 变更内容——按时间顺序

### 修订一 — [日期]
**目的:** [一句话——此修订存在的原因]

**实质变更:**
- [条款](§[X.X]):[变更前 → 变更后]

[每份修订重复]

---

## 现行有效状态

| 条款 | 当前立场 | §引用 | 最后变更 |
|---|---|---|---|
| [条款] | [中文摘要] | §[X.X] | 修订N, [日期] |
| [条款] | [与基础协议一致] | §[X.X] | 基础协议 |

---

## 观察事项
[标注不一致之处——如修订修改了已删除的条款、修订间矛盾语言、名称变更等。每项标注附带条款引用。]

模式2:条款追踪

# 条款追踪:[条款名称]
## [对方当事人] — [协议类型]

---

### 原版 — [基础协议日期], §[X.X]
> "[精确引用原文]"

*中文说明:* [一句话]

---

### 修订[N] — [日期], §[X.X]

**曾为:**
> "[先前的精确引用]"

**现为:**
> "[替代语言的精确引用]"

*变更内容:* [一句话——对当事人的实际影响]

---

[仅包含触及该条款的后续修订。其他省略。]

---

## 现行有效语言

**§[X.X] — [来源文件, 日期]**
> "[精确引用原文]"

*中文说明:* [一句话]

---

## 观察事项
[标志、不一致、待解决问题——附带条款引用。]

Read the full file on GitHub · 192 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. 13d ago First seen · 192 lines · 87 tokens per session scan A 354308e142aa

Subscribe to this mod's changes

amendment-history is a skill published in the GitHub repository zhou210712/claude-for-legal-ZH (212 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 87 tokens to every session and 1,655 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-30.

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