Agent skill

Amendment History

by zhou210712 in zhou210712/claude-for-legal-ZH

追溯合同从基础协议到所有修订的变更轨迹——可以是所有变更的时间线摘要, 也可以是特定条款的追踪。当用户说"这个合同历次改了什么""显示修订历史" "最新的[条款]在哪里""[条款]如何演变的"或上传多个版本的协议时使用。

Apache-2.0Auto-check passed

Install Amendment History

skills CLI
$ npx skills add zhou210712/claude-for-legal-ZH --skill amendment-history -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zhou210712/claude-for-legal-ZH amendment-history --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH.git skills-src && mkdir -p .claude/skills && cp -r skills-src/commercial-legal/skills/amendment-history .claude/skills/amendment-history && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
amendment-history
GitHub stars
225
Token cost
~676 tokens
SKILL.md length
78 words
Files
1
Skills in repo
122
Repo updated
First seen
Licence
Apache-2.0

At a glance

追溯合同从基础协议到所有修订的变更轨迹——可以是所有变更的时间线摘要, 也可以是特定条款的追踪。当用户说"这个合同历次改了什么""显示修订历史" "最新的[条款]在哪里""[条款]如何演变的"或上传多个版本的协议时使用。

  • Works in 4 steps: 获取文件:… → 检测模式… → 运行以下工作流。 完全执行。 → …
  • SKILL.md covers 指令, 示例, 事项上下文 and 目的, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Amendment History is an agent skill from zhou210712/claude-for-legal-ZH. 追溯合同从基础协议到所有修订的变更轨迹——可以是所有变更的时间线摘要, 也可以是特定条款的追踪。当用户说"这个合同历次改了什么""显示修订历史" "最新的[条款]在哪里""[条款]如何演变的"或上传多个版本的协议时使用。

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is Apache-2.0.

Example prompts

  • “这个合同历次改了什么”
  • “显示修订历史”
  • “最新的[条款]在哪里”
  • “/amendment-history”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 获取文件: 从文件上传、合同管理系统ID(即将上线)或存储库链接(即将上线)获取。接受一次调用中的多个文件。如未提供,询问。
  2. 检测模式 通过解析请求判断运行模式。明确指出条款名称→模式2。未提及条款→模式1。仅在真的存在歧义时才询问。
  3. 运行以下工作流。 完全执行。
  4. 输出后提供后续操作

What it can do on your machine

Read from SKILL.md and the folder at commit 2f01c92. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Amendment History loads about 676 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 78 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~676

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from zhou210712/claude-for-legal-ZH at commit 2f01c92, republished under its Apache-2.0 licence (© zhou210712). 78 words, ~676 tokens.

Download SKILL.mdSave it as .claude/skills/amendment-history/SKILL.md (or your agent's skills folder).
name
amendment-history
description
追溯合同从基础协议到所有修订的变更轨迹——可以是所有变更的时间线摘要, 也可以是特定条款的追踪。当用户说"这个合同历次改了什么""显示修订历史" "最新的[条款]在哪里""[条款]如何演变的"或上传多个版本的协议时使用。
argument-hint
[文件 | 合同管理系统ID(即将上线) | 存储库链接(即将上线)] [--provision <条款名称>]

/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:所有变更摘要

输出格式
markdown
# 修订历史:[对方当事人] — [协议类型]

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

---

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

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

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

[每份修订重复]

---

## 现行有效状态

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

---

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

模式2:条款追踪

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

---

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

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

---

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

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

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

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

---

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

---

## 现行有效语言

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

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

---

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

如条款从未修订:"> 本条款未被任何修订修改。原版语言现行有效。§[X.X],基础协议,[日期]。"


以下一步行动决策树收尾

以 CLAUDE.md ## 输出 中的下一步行动决策树收尾。决策树是输出;律师选择。

本技能不做的事

  • 不判断基础协议与修订冲突时哪份文件有效——这是法律解释问题。标注冲突并路由至法务。
  • 不起草新修订。
  • 不对照审查指引比较——那是供应商协议审查技能的工作。本技能纯属历史追踪。

© zhou210712, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in commercial-legal/skills/amendment-history of zhou210712/claude-for-legal-ZH.

Open the folder on GitHubat commit 2f01c92

Compare with similar skills

Amendment History next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Amendment History compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Amendment History this skillzhou210712/claude-for-legal-ZH225—~676Automated safety check: PassApache-2.0
Amendment Historyanthropics/claude-for-legal9.6k2 repos~2.7kAutomated safety check: PassApache-2.0
Historyalsk1992/CloddsBot3k—~1.6kAutomated safety check: PassMIT
Extracting Browser History Artifactsmukul975/Anthropic-Cybersecurity-Skills34k—~2.9kAutomated safety check: WarnApache-2.0
System HistoryBuilderIO/agent-native7.1k—~727Automated safety check: PassNone
Amendment HistoryZekaiSuni/claude-for-legal-turkish107—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Amendment History

    anthropics/claude-for-legal

    Official

    Trace how a contract has changed across its base agreement and all amendments — either a summary of all changes over time, or a provision trace for a specific clause.

    9.6k GitHub starsUsed in 2 repos~2.7k tokens
    Auto-check passed
  • History

    alsk1992/CloddsBot

    Trade history tracking, sync, and performance analytics. An agent skill from alsk1992/CloddsBot.

    3k GitHub stars~1.6k tokensUpdated 8 days ago
    Auto-check passed
  • Extracting Browser History Artifacts

    mukul975/Anthropic-Cybersecurity-Skills

    Extracts and analyzes browser history, cookies, cache, downloads, and bookmarks from Chrome, Firefox, and Edge using sqlite3, DB Browser for SQLite, Hindsight, and NirSoft tools…

    34k GitHub stars~2.9k tokensUpdated 1 mo ago
    SecurityAuto-check: warnings
  • System History

    BuilderIO/agent-native

    Blobless-safe git and PR history for this repo. An agent skill from BuilderIO/agent-native.

    7.1k GitHub stars~727 tokensUpdated today
    DevelopmentAuto-check passed
  • Amendment History

    ZekaiSuni/claude-for-legal-turkish

    Trace how a contract has changed across its base agreement and all amendments, ek protokoller, zeyilnameler, and related variation documents.

    107 GitHub stars~1.3k tokensUpdated 5 mo ago
    Auto-check passed
  • Performs archaeological analysis of git history to trace code evolution, identify contributors, and understand why code patterns exist.

    17k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed

More from zhou210712/claude-for-legal-ZH

All 122 skills in this repo
  • Claim Chart

    zhou210712/claude-for-legal-ZH

    构建或审查要件分析表——专利权利要求对照表(侵权、无效或审查)或 民事构成要件分析表(任何诉讼请求或抗辩),每个单元格附精确引用, 缺口检测为优先输出。当用户要求要件分析表、权利要求对照表、 证据对照表、侵权或无效主张、逐要件映射,或问"我们证明[主张]还缺什么"时使用。

    225 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Client Intake

    zhou210712/claude-for-legal-ZH

    结构化接待——实践领域模板、跨领域考点识别、利益冲突标记、分流分类. An agent skill from zhou210712/claude-for-legal-ZH.

    225 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Gap Surfacer

    zhou210712/claude-for-legal-ZH

    参考资料:支持 /regulatory-legal:gaps 和 /regulatory-legal:comments 的共享差距和意见征集跟踪框架。跟踪未关闭的政策差距及其整改状态, 从 policy-diff 中获取差距,呈现开放和即将到期的事项,路由给负责人, 并通过企业通讯工具通知差距负责人,每次发送前需确认。

    225 GitHub stars~757 tokensUpdated 4 mo ago
    Auto-check passed
  • Launch Review

    zhou210712/claude-for-legal-ZH

    对照您的框架和风险校准进行全面产品上线审查。当用户说"审查这个上线" "[功能]法务审查""我们能上线吗""[产品]有什么法律问题"或引用了需要 逐类审查备忘录的产品需求文档或上线追踪工单时使用。

    225 GitHub stars~2k tokensUpdated 4 mo ago
    Auto-check passed
  • Reg Feed Watcher

    zhou210712/claude-for-legal-ZH

    检查法规动态源,报告自上次检查以来的新事项,按重要度阈值过滤。适用于用户说"检查法规动态"、"有什么新规定"、"法规更新"、从定时任务触发执行,或手动粘贴法规动态进行分类和差异分析时。

    225 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Renewal Tracker

    zhou210712/claude-for-legal-ZH

    展示具有即将到来的取消截止日期的合同,在通知窗口关闭前发出预警, 基于维护的续约登记册运行。当用户询问"什么即将续约""哪些续约即将到期" "我们是否错过了取消窗口""将此添加到续约追踪器"时使用,或按计划运行。

    225 GitHub stars~681 tokensUpdated 4 mo ago
    Auto-check passed

Questions about Amendment History

What does Amendment History do?

追溯合同从基础协议到所有修订的变更轨迹——可以是所有变更的时间线摘要, 也可以是特定条款的追踪。当用户说"这个合同历次改了什么""显示修订历史" "最新的[条款]在哪里""[条款]如何演变的"或上传多个版本的协议时使用。. Amendment History is an agent skill from zhou210712/claude-for-legal-ZH.

How do I install Amendment History in Claude Code?

Run `npx skills add zhou210712/claude-for-legal-ZH --skill amendment-history -a claude-code`. Or copy the skill folder (commercial-legal/skills/amendment-history in zhou210712/claude-for-legal-ZH) into .claude/skills/amendment-history in your project. Claude Code loads it when a task matches its description.

How do I install Amendment History in Codex?

Run `npx skills add zhou210712/claude-for-legal-ZH --skill amendment-history -a codex`. Or copy the skill folder (commercial-legal/skills/amendment-history in zhou210712/claude-for-legal-ZH) into .agents/skills/amendment-history in your project. Codex loads it when a task matches its description.

Can I use Amendment History in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zhou210712/claude-for-legal-ZH --skill amendment-history -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/amendment-history, .gemini/skills/amendment-history, .github/skills/amendment-history and .opencode/skills/amendment-history in your project.

What does Amendment History need to run?

SKILL.md names no scripts, command-line tools or credentials: Amendment History is instructions for the agent only.

Does Amendment History access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Amendment History safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Amendment History use?

Amendment History is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Amendment History use?

About 676 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Amendment History?

Skills that share tags, products or a category with Amendment History: Amendment History (anthropics/claude-for-legal, 9.6k stars), History (alsk1992/CloddsBot, 3k stars), Extracting Browser History Artifacts (mukul975/Anthropic-Cybersecurity-Skills, 34k stars) and System History (BuilderIO/agent-native, 7.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Amendment History?

zhou210712 (a GitHub user) maintains it in zhou210712/claude-for-legal-ZH, which has 225 GitHub stars. The repository holds 122 skills in this directory. The repository was last updated on May 15, 2026.

Source: zhou210712/claude-for-legal-ZH on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.