amendment-history

amendment-history is a skill for Claude Code from Buildwise-Studios/claude-for-hk-law. It costs 84 tokens per session (2,520 once invoked), scanned A, a copy of amendment-history, Apache-2.0.

A comparison tool for a base contract and its later amendments, which are documents that change selected parts of the original agreement. It can summarise changes over time or trace one clause to its latest wording.

In plain words
What is it for?
Comparing an agreement with multiple amendments, finding the current language for a clause such as indemnity, and summarising the contract's change history.
Why use it?
It helps determine what changed and which version of a particular contract provision currently controls.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

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

Good fit Comparing an agreement with multiple amendments, finding the current language for a clause such as indemnity, and summarising the contract's change history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/buildwise-studios/claude-for-hk-law/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 Buildwise-Studios/claude-for-hk-law --skill amendment-history
Clone the repo
git clone --depth 1 https://github.com/Buildwise-Studios/claude-for-hk-law

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/buildwise-studios/claude-for-hk-law/amendment-history/github.svg)](https://agentmods.dev/skills/buildwise-studios/claude-for-hk-law/amendment-history)
Your own site
<a href="https://agentmods.dev/skills/buildwise-studios/claude-for-hk-law/amendment-history"><img src="https://agentmods.dev/badge/skills/buildwise-studios/claude-for-hk-law/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/buildwise-studios/claude-for-hk-law/amendment-history"><img src="https://agentmods.dev/badge/skills/buildwise-studios/claude-for-hk-law/amendment-history.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,520 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 91% copy Near-identical to another mod 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.00084 $0.02520
Opus 5 $0.00042 $0.01260
Sonnet 5 $0.00017 $0.00504
Haiku 4.5 $0.00008 $0.00252

Measured 11d ago against content hash 0cf13b6e7e2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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.

Origin

This is a copy

91% identical to amendment-history — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

How it starts

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

/amendment-history

Loads a base agreement and all amendments, then either summarizes what changed over time or traces a specific provision to its current controlling language.

Instructions

  1. Get the documents: From file upload, [CLM ID (coming soon)], or [repository link (coming soon)]. Accept multiple files in one invocation. If none provided, ask.

  2. Detect the mode by parsing the request per the mode detection rules below. If a provision name is clearly stated, go straight to Mode 2. If no provision is mentioned, run Mode 1. Ask only if genuinely ambiguous.

  3. Run the workflow below. Follow it fully.

  4. Offer follow-ups after output:

    • "Want me to trace another provision?"
    • "Want a full playbook review of the current agreement as amended?" (routes to vendor-agreement-review)
    • "Want a stakeholder summary of the key changes?" (routes to stakeholder-summary)

Examples

/commercial-legal:amendment-history acme-msa.pdf amendment-1.pdf amendment-2.pdf
/commercial-legal:amendment-history --provision indemnity
/commercial-legal:amendment-history
[paste agreement and amendment text]

Matter context

Matter context. Check ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is (the default for in-house users), skip the rest of this paragraph — skills use practice-level context and the matter machinery is invisible. If enabled and there is no active matter, ask: "Which matter is this for? Run /commercial-legal:matter-workspace switch <slug> or say practice-level." Load the active matter's matter.md for matter-specific context and overrides. Write outputs to the matter folder at ~/.claude/plugins/config/claude-for-hk-law/commercial-legal/matters/<matter-slug>/. Never read another matter's files unless Cross-matter context is on.


Purpose

Contracts accumulate amendments. By the third amendment, nobody remembers what the original said or which version of a clause controls. This skill reads the base agreement and all amendments in chronological order and either summarizes what changed across the whole contract or traces a specific provision through every version to find the current controlling language.

Read the full file on GitHub · 299 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. 11d ago First seen · 299 lines · 84 tokens per session scan A 0cf13b6e7e2d

Subscribe to this mod's changes

amendment-history is a skill published in the GitHub repository Buildwise-Studios/claude-for-hk-law (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 84 tokens to every session and 2,520 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to amendment-history, differing in 6 lines, and is treated as a copy.

Related

Other skills, from other repositories

cloud-service-agreement

Draft and fill SaaS agreement templates — cloud contract, MSA, order form, software license, pilot agreement, design partner agreement. Includes variants with SLAs and AI terms. Produces signable DOCX from Common Paper standard forms. Use when user says "SaaS agreement," "cloud contract," "MSA," "order form,"…

open-agreements/open-agreements · 103 tokens

data-privacy-agreement

Draft and fill data privacy contract and agreement templates — DPA, data processing contract, GDPR, HIPAA BAA, business associate agreement, AI addendum. Produces signable DOCX files from Common Paper standard forms. Use when user says "DPA," "data processing agreement," "HIPAA BAA," "business associate agreement," or…

open-agreements/open-agreements · 123 tokens

analyze-document

Forensically analyse a family court document using the 13-point protocol. Use when the user says "analyse this document", "review this affidavit", "what does this report say", "break down this letter", uploads a court document, affidavit, family report, solicitor letter, or any legal document related to their family…

odin33g/family-court-strategist · 71 tokens

case-setup

Set up a new family court case vault from scratch. Use when the user says "set up my case", "start my case vault", "I need to organise my family court case", "help me build a case", "create my evidence vault", or is beginning a new family court matter and needs structure.

odin33g/family-court-strategist · 67 tokens

nda

Draft and fill NDA contract templates — mutual NDA, one-way NDA, confidentiality agreement. Produces signable DOCX files from Common Paper and Bonterms standard forms. Use when user says "NDA," "non-disclosure agreement," "confidentiality contract," "confidentiality agreement," "mutual NDA," or "one-way NDA." Includes…

open-agreements/open-agreements · 86 tokens

services-agreement

Draft and fill services agreement templates — consulting contract, contractor agreement, SOW, statement of work, professional services agreement. Produces signable DOCX files from Common Paper and Bonterms standard forms. Use when user says "consulting contract," "contractor agreement," "SOW," "statement of work,"…

open-agreements/open-agreements · 92 tokens