review-contract

review-contract is a command for coding agents from fergupa/claude_plugins. It costs 21 tokens per session (1,579 once invoked), scanned A, a copy of review-contract, Apache-2.0.

A command for reviewing a contract against your organization’s negotiation playbook—a set of preferred terms and fallback positions.

In plain words
What is it for?
Use it with a PDF, DOCX, link, or pasted text to analyze clauses, suggest redlines, and provide business-impact notes.
Why use it?
It helps find clauses that differ from your agreed approach and explains which differences may matter to the business before negotiation.

Command

Part of the legal plugin — 2 commands shipped together

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.

agentmods
npx agentmods add commands/fergupa/claude_plugins/review-contract
Clone the repo
git clone --depth 1 https://github.com/fergupa/claude_plugins

Or install legal, the plugin that ships this one along with the rest of its 2 commands.

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 review-contract

README.md
[![agentmods](https://agentmods.dev/badge/commands/fergupa/claude_plugins/review-contract.svg)](https://agentmods.dev/commands/fergupa/claude_plugins/review-contract)
Your own site
<a href="https://agentmods.dev/commands/fergupa/claude_plugins/review-contract"><img src="https://agentmods.dev/badge/commands/fergupa/claude_plugins/review-contract.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,579 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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 $0.00021 $0.01579
Opus 5 $0.00010 $0.00790
Sonnet 5 $0.00004 $0.00316
Haiku 4.5 $0.00002 $0.00158

Measured 4d ago against content hash 5e6ab577c63a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

review-contract 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 4d 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

100% identical to review-contract — 0 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.

legal/commands/review-contract.md · 170 lines

How it starts

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

/review-contract -- Contract Review Against Playbook

If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.

Review a contract against your organization's negotiation playbook. Analyze each clause, flag deviations, generate redline suggestions, and provide business impact analysis.

Invocation

/review-contract

Workflow

Step 1: Accept the Contract

Accept the contract in any of these formats:

  • File upload: PDF, DOCX, or other document format
  • URL: Link to a contract in your CLM, cloud storage (e.g., Box, Egnyte, SharePoint), or other document system
  • Pasted text: Contract text pasted directly into the conversation

If no contract is provided, prompt the user to supply one.

Step 2: Gather Context

Ask the user for context before beginning the review:

  1. Which side are you on? (vendor/supplier, customer/buyer, licensor, licensee, partner -- or other)
  2. Deadline: When does this need to be finalized? (Affects prioritization of issues)
  3. Focus areas: Any specific concerns? (e.g., "data protection is critical", "we need flexibility on term", "IP ownership is the key issue")
  4. Deal context: Any relevant business context? (e.g., deal size, strategic importance, existing relationship)

If the user provides partial context, proceed with what you have and note assumptions.

Step 3: Load the Playbook

Look for the organization's contract review playbook in local settings (e.g., legal.local.md or similar configuration files).

The playbook should define:

  • Standard positions: The organization's preferred terms for each major clause type
  • Acceptable ranges: Terms that can be agreed to without escalation
  • Escalation triggers: Terms that require senior counsel review or outside counsel involvement

If no playbook is configured:

  • Inform the user that no playbook was found
  • Offer two options:
    1. Help the user set up their playbook (walk through defining positions for key clauses)
    2. Proceed with a generic review using widely-accepted commercial standards as the baseline
  • If proceeding generically, clearly note that the review is based on general commercial standards, not the organization's specific positions

Read the full file on GitHub · 170 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. 4d ago First seen · 170 lines · 21 tokens per session scan A 5e6ab577c63a

Subscribe to this mod's changes

review-contract is a command published in the GitHub repository fergupa/claude_plugins (2 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 1,579 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to review-contract, differing in 0 lines, and is treated as a copy.