analyze-related-contracts

analyze-related-contracts is a skill for Claude Code, Codex from microsoft/cat-agent-skills. It costs 170 tokens per session (3,291 once invoked), scanned A, original, MIT.

A report that works out how a group of related contracts fits together, including which document amends, replaces, supplements, or ends another. It also gives the effective sequence and the currently operative wording for key terms.

In plain words
What is it for?
Use it to map a contract family and identify the provision currently in force for each important term. It is read-only and does not assume every set of documents has a simple master-agreement structure.
Why use it?
It helps resolve which version of an agreement controls when amendments, renewals, side letters, assignments, or related documents make the contract history difficult to follow.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to map a contract family and identify the provision currently in force for each important term. It is read-only and does not assume every set of documents has a simple master-agreement structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/cat-agent-skills/analyze-related-contracts
About the project

microsoft/cat-agent-skills is a static website that catalogs reusable instruction sets and related packages for AI agents. People use it to search, filter, rate, and download skills for Cowork, Copilot Studio, and Scout, along with Copilot plugins and Scout automations. The catalogue entries are the skills, instructions, plugins, and settings displayed by the site.

microsoft/cat-agent-skills · 101 stars · on GitHub

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 microsoft/cat-agent-skills --skill analyze-related-contracts
Clone the repo
git clone --depth 1 https://github.com/microsoft/cat-agent-skills

Made for: Claude Code, Codex.

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 analyze-related-contracts

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/analyze-related-contracts/github.svg)](https://agentmods.dev/skills/microsoft/cat-agent-skills/analyze-related-contracts)
Your own site
<a href="https://agentmods.dev/skills/microsoft/cat-agent-skills/analyze-related-contracts"><img src="https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/analyze-related-contracts/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 analyze-related-contracts

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/cat-agent-skills/analyze-related-contracts"><img src="https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/analyze-related-contracts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,291 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.00170 $0.03291
Opus 5.5 $0.00068 $0.01316
Sonnet 5.5 $0.00034 $0.00658
Haiku 4.5 $0.00017 $0.00329

Measured 2d ago against content hash 9dfb4693d516, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

analyze-related-contracts 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 2d 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.

submissions/legal-for-cowork/skills/analyze-related-contracts/SKILL.md · 252 lines

How it starts

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

Take the set of related contract documents the user supplies and produce one Related Contracts Report for a lawyer or contract manager. A contract family takes many forms and no single shape is assumed — a master agreement with amendments and SOWs, a lease with rent reviews and licences to alter, a facility agreement with accession deeds and waivers, a share purchase agreement with disclosure letters and deeds of variation, a settlement deed superseding earlier terms, a chain of NDAs and side letters, or any mix of novations, assignments, renewals and terminations. Derive the family's actual shape from the documents; never force them into an assumed master-and-amendment structure.

The report answers three questions:

  1. How do these documents relate? Which one amends, restates, replaces, terminates, supplements, or is incorporated by reference into which.
  2. In what sequence did they take effect? A dated chronology of the family.
  3. What is operative today? For each key term, the version currently in force and the exact provision that governs it.

The output is a deliverable — a Word report, an Excel workbook, or a complete chat report — marked "Draft — for counsel review". It is not legal advice and not a determination that any document is validly executed or enforceable.

When NOT to Use

  • A question answered inline about one agreement family, including assembling an agreement with its amendments into the current position in chat — use legal-reasoning. This skill is for a set of documents where the deliverable is a Related Contracts Report; the moment the ask is a chat answer about a single stack, hand it over and stop.
  • The same fields compared side by side across documents — use compare-key-terms.
  • Obligations, deadlines, or who must do what by when — use extract-obligations-and-deadlines.
  • Tracked changes inside one document — use summarize-redlines.
  • A memorandum of advice — use draft-legal-memo; review guidance from many precedents — use create-playbook; a new agreement from one precedent — use draft-new-contract.
  • Whether one document is complete enough to sign — use check-execution-readiness.
  • A single contract with no amendments or related documents — there is no family to map; use legal-reasoning.
  • A legal opinion on validity, enforceability or which party wins — out of scope; see Guardrails.

Read the full file on GitHub · 252 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 252 lines · 170 tokens per session scan A 9dfb4693d516

Subscribe to this mod's changes

analyze-related-contracts is a skill published in the GitHub repository microsoft/cat-agent-skills (101 stars, last pushed yesterday), licensed MIT. It adds 170 tokens to every session and 3,291 once invoked, about $0.0007 per session on Opus 5.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-11-06.

Related

analyze-related-contracts compared with skills from other repositories

analyze-related-contracts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analyze-related-contractsmicrosoft/cat-agent-skillsSkill101yesterdayMITA170Claude Code, Codex
fto-triageanthropics/claude-for-legalSkill9.9kyesterdayApache-2.0A81Claude Code
legal-holdanthropics/claude-for-legalSkill9.9kyesterdayApache-2.0A68Claude Code
specification-writingwanshuiyin/Auto-claude-code-research-in-sleepSkill19ktodayMITA49Claude Code
regulatory-research-fallbackHKUDS/OpenSpaceSkill7.9k2d agoMITA20Claude Code, Codex
terms-of-servicegenspark-ai/genofficeSkill12ktodayApache-2.0A32Claude Code, Codex
x-scorecardx-cmd/x-cmdSkill4.7k8d agoApache-2.0A57Claude Code, Codex