amendment-history

amendment-history is a skill for Claude Code from uk-agents/uk-legal-plugins. It costs 84 tokens per session (2,373 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 either summarises changes over time or traces one clause to its latest wording.

In plain words
What is it for?
Building an amendment timeline, finding the current text of a specific provision, and preparing follow-up playbook or stakeholder reviews.
Why use it?
It removes the need to manually compare several contract files to find which terms changed and which version 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-uk plugin — 10 skills, 3 agents shipped together

Good fit Building an amendment timeline, finding the current text of a specific provision, and preparing follow-up playbook or stakeholder reviews.

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

Made for: Claude Code.

Or install commercial-legal-uk, the plugin that ships this one along with the rest of its 10 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/uk-agents/uk-legal-plugins/amendment-history/github.svg)](https://agentmods.dev/skills/uk-agents/uk-legal-plugins/amendment-history)
Your own site
<a href="https://agentmods.dev/skills/uk-agents/uk-legal-plugins/amendment-history"><img src="https://agentmods.dev/badge/skills/uk-agents/uk-legal-plugins/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/uk-agents/uk-legal-plugins/amendment-history"><img src="https://agentmods.dev/badge/skills/uk-agents/uk-legal-plugins/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,373 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.00084 $0.02373
Opus 5 $0.00042 $0.01187
Sonnet 5 $0.00017 $0.00475
Haiku 4.5 $0.00008 $0.00237

Measured 11d ago against content hash 93a3e5d89806, 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.

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

How it starts

The opening of the file, as written. The whole thing — 237 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 summarises 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-uk:amendment-history acme-msa.pdf amendment-1.pdf amendment-2.pdf
/commercial-legal-uk:amendment-history --provision indemnity
/commercial-legal-uk:amendment-history
[paste agreement and amendment text]

Matter context

Matter context. Check ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is , skip the rest of this paragraph. If enabled and there is no active matter, ask: "Which matter is this for? Run /commercial-legal-uk:matter-workspace switch <slug> or say practice-level." Load the active matter's matter.md. 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 summarises what changed across the whole contract or traces a specific provision through every version to find the current controlling language.

Mode detection

Read the full file on GitHub · 237 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 · 237 lines · 84 tokens per session scan A 93a3e5d89806

Subscribe to this mod's changes

amendment-history is a skill published in the GitHub repository uk-agents/uk-legal-plugins (9 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 84 tokens to every session and 2,373 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

brand-safety-compliance

Scans outbound copy or creator-submitted content for 6 compliance red lines — medical/efficacy, exaggeration/absolute, beauty-permanence, financial/income, fake-scarcity, fake-rapport — and returns a block/warn verdict with fix suggestions. Use when the user asks to check, scan, review, or vet copy before sending, or…

crevideo/crevideo-reach · 139 tokens

blind

แทนที่ข้อมูล sensitive ในเอกสารด้วยข้อมูลสมมติที่ดูสมจริง (pseudonymization) — รักษารูปแบบและโครงสร้างเดิมไว้ แต่ข้อมูลจริงถูกซ่อนทั้งหมด รองรับทุกประเภทเอกสาร: ข้อความทั่วไป, เอกสารราชการ, ตาราง Excel/CSV, PPTX, รายงานการเงิน ใช้เมื่อผู้ใช้ต้องการซ่อน ปิดบัง หรือสลับข้อมูลจริงออก เช่น "ช่วย blind ข้อมูลนี้"…

natthasath/natthasath-marketplace · 0 tokens

corporate-docs

La parte densa. Y la que más se arma mal, porque se mezclan tres cosas distintas.

Danielmc09/jurisdiction-latam · 75 tokens

doc-review

Casi ninguna empresa parte de cero. Parte de una plantilla que alguien copió y nadie volvió a mirar.

Danielmc09/jurisdiction-latam · 76 tokens

subcontract-writer

Generate a complete subcontract from a firm's template, awarded bid, and project specs. Outputs a Word document. Triggers: 'subcontract', 'sub agreement', 'write contract', 'draft subcontract'. Requires awarded bid.

dleerdefi/claude-code-construction · 49 tokens

diligence-issue-extraction

Read VDR documents and extract issues per house categories and materiality thresholds, producing findings in house memo format. Use when user says "review the data room", "extract issues from [folder]", "diligence review", "what's in the VDR", or points at VDR documents.

Buildwise-Studios/claude-for-hk-law · 68 tokens