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.
npx skills add uk-agents/uk-legal-plugins --skill amendment-historygit clone --depth 1 https://github.com/uk-agents/uk-legal-pluginsWrote 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.
[](https://agentmods.dev/skills/uk-agents/uk-legal-plugins/amendment-history)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
-
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.
-
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.
-
Run the workflow below. Follow it fully.
-
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
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.
- 11d ago First seen · 237 lines · 84 tokens per session scan A 93a3e5d89806
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.
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…
blind
แทนที่ข้อมูล sensitive ในเอกสารด้วยข้อมูลสมมติที่ดูสมจริง (pseudonymization) — รักษารูปแบบและโครงสร้างเดิมไว้ แต่ข้อมูลจริงถูกซ่อนทั้งหมด รองรับทุกประเภทเอกสาร: ข้อความทั่วไป, เอกสารราชการ, ตาราง Excel/CSV, PPTX, รายงานการเงิน ใช้เมื่อผู้ใช้ต้องการซ่อน ปิดบัง หรือสลับข้อมูลจริงออก เช่น "ช่วย blind ข้อมูลนี้"…
corporate-docs
La parte densa. Y la que más se arma mal, porque se mezclan tres cosas distintas.
doc-review
Casi ninguna empresa parte de cero. Parte de una plantilla que alguien copió y nadie volvió a mirar.
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.
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.