Skip to main content
plugin official · Anthropic

legal — Claude Code plugin for contract review and installation

This Claude Code plugin checks contracts against an in-house playbook and sorts incoming NDAs. It also drafts legal briefings and templated replies.

Apache-2.0 ★ 36,654 updated 2026-10-24

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/knowledge-work-plugins
/plugin install legal@knowledge-work-plugins
Open on GitHub

What legal does

The plugin compares contracts with an organization's negotiation rules, flags deviations, and generates proposed redlines. /triage-nda assigns incoming NDAs a GREEN, YELLOW, or RED classification. /vendor-check searches connected systems for a vendor's agreements.

Store team positions and response templates in legal.local.md under the project's .claude/ directory. MCP connections can link the plugin to Slack, Box, Egnyte, Atlassian, or Microsoft 365.

The sample playbook uses U.S. legal positions, including Delaware, New York, and California. Teams working under another jurisdiction need to adapt legal.local.md; qualified legal professionals should review its analysis, since the plugin does not give legal advice.

What it helps with

  • compare a contract with the team's negotiation rules
  • sort an incoming NDA by risk level
  • find a vendor's agreements across connected systems
  • prepare a briefing on a legal question
  • draft a reply from a configured template

Example prompts for the agent

  • Review this vendor contract against our playbook: /review-contract
  • Triage this NDA and assign a risk category: /triage-nda
  • Write a briefing on data protection: /brief topic data protection

How to install legal

Plugin marketplace

/plugin marketplace add anthropics/knowledge-work-plugins
/plugin install legal@knowledge-work-plugins

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about legal

How do I install legal in Claude Code?

Run these commands in order: /plugin marketplace add anthropics/knowledge-work-plugins, then /plugin install legal@knowledge-work-plugins.

What does the legal plugin do?

It reviews contracts against a team playbook, classifies NDAs, searches connected systems for vendor agreements, and drafts briefings or templated replies.

How do I adapt legal for another jurisdiction?

Create legal.local.md in the project's .claude/ directory and configure the team's positions for that jurisdiction. The sample playbook reflects U.S. law.

Source text

legal · Apache-2.0
# Legal Productivity Plugin

An AI-powered productivity plugin for in-house legal teams, primarily designed for [Cowork](https://claude.com/product/cowork), Anthropic's agentic desktop application — though it also works in Claude Code. Automates contract review, NDA triage, compliance workflows, legal briefings, and templated responses -- all configurable to your organization's specific playbook and risk tolerances.

> **Disclaimer:** This plugin assists with legal workflows but does not provide legal advice. Always verify conclusions with qualified legal professionals. AI-generated analysis should be reviewed by licensed attorneys before being relied upon for legal decisions. The default playbook examples in this plugin reflect U.S. legal positions and jurisdictions (Delaware, New York, California). If you operate under different legal systems (EU, UK, Netherlands, Australia, etc.), you must customize the playbook in .claude/legal.local.md to reflect your jurisdiction's specific legal requirements, standard contract terms, and compliance obligations before relying on the plugin's analysis.

## Target Personas

- **Commercial Counsel** -- Contract negotiation, vendor management, deal support
- **Product Counsel** -- Product reviews, terms of service, privacy policies, IP matters
- **Privacy / Compliance** -- Data protection regulations, DPA reviews, data subject requests, regulatory monitoring
- **Litigation Support** -- Discovery holds, document review prep, case briefings

## Installation

```
claude plugin marketplace add anthropics/knowledge-work-plugins
claude plugin install legal@knowledge-work-plugins
```

## Quick Start

### 1. Install the plugin

```
claude plugin marketplace add anthropics/knowledge-work-plugins
claude plugin install legal@knowledge-work-plugins
```

### 2. Configure your playbook

Create a local settings file to define your organization's standard positions. This is where you encode your team's negotiation playbook, risk tolerances, and standard terms.

Create a `legal.local.md` file where Claude can find it:

- **Cowork**: Save it in any folder you've shared with Cowork (via the folder picker). The plugin finds it automatically.
- **Claude Code**: Save it in your project's `.claude/` directory.

```markdown
# Legal Playbook Configuration

## Contract Review Positions

### Limitation of Liability
- Standard position: Mutual cap at 12 months of fees paid/payable
- Acceptable range: 6-24 months of fees
- Escalation trigger: Uncapped liability, consequential damages inclusion

### Indemnification
- Standard position: Mutual indemnification for IP infringement and data breach
- Acceptable: Indemnification limited to third-party claims only
- Escalation trigger: Unilateral indemnification obligations, uncapped indemnification

### IP Ownership
- Standard position: Each party retains pre-existing IP; customer owns customer data
- Escalation trigger: Broad IP assignment clauses, work-for-hire provisions for pre-existing IP

### Data Protection
- Standard position: Require DPA for any personal data processing
- Requirements: Sub-processor notification, data deletion on termination, breach notification within 72 hours
- Escalation trigger: No DPA offered, cross-border transfer without safeguards

### Term and Termination
- Standard position: Annual term with 30-day termination for convenience
- Acceptable: Multi-year with termination for convenience after initial term
- Escalation trigger: Auto-renewal without notice period, no termination for convenience

### Governing Law
- Preferred: [Your jurisdiction]
- Acceptable: Major commercial jurisdictions (NY, DE, CA, England & Wales)
- Escalation trigger: Non-standard jurisdictions, mandatory arbitration in unfavorable venue

## NDA Defaults
- Mutual obligations required
- Term: 2-3 years standard, 5 years for trade secrets
- Standard carveouts: independently developed, publicly available, rightfully received from third party
- Residuals clause: acceptable if narrowly scoped

## Response Templates
Configure paths to your template files or define inline templates for common inquiries.
```

### 3. Connect your tools

The plugin works best when connected to your existing tools via MCP. Pre-configured servers include Slack, Box, Egnyte, Atlassian, and Microsoft 365. See [CONNECTORS.md](CONNECTORS.md) for the full list of supported categories and options.

## Commands

### `/review-contract` -- Contract Review Against Playbook

Review a contract against your organization's negotiation playbook. Flags deviations, generates redlines, and provides business impact analysis.

```
/review-contract
```

Accepts: file upload, URL, or pasted contract text. Will ask for context (your side, deadline, focus areas) and review clause-by-clause against your configured playbook.

### `/triage-nda` -- NDA Pre-Screening

Rapid triage of incoming NDAs against standard criteria. Categorizes as GREEN (standard approval), YELLOW (counsel review), or RED (significant issues).

```
/triage-nda
```

### `/vendor-check` -- Vendor Agreement Status

Check the status of existing agreements with a vendor across your connected systems.

```
/vendor-check [vendor name]
```

Reports on existing NDAs, MSAs, DPAs, expiration dates, and key terms.

### `/brief` -- Legal Team Briefing

Generate contextual briefings for your legal work.

```
/brief daily          # Morning brief of legal-relevant items
/brief topic [query]  # Research brief on a specific legal question
/brief incident       # Rapid brief on a developing situation
```

### `/respond` -- Generate Templated Response

Generate a response from your configured templates for common inquiry types.

```
/respond [inquiry-type]
```

Supported inquiry types include: data subject request, discovery hold, vendor question, NDA request, and custom categories you define.

## Skills

| Skill | Description |
|-------|-------------|
| `contract-review` | Playbook-based contract analysis, deviation classification, redline generation |
| `nda-triage` | NDA screening criteria, classification rules, routing recommendations |
| `compliance` | Privacy regulations (GDPR, CCPA), DPA review, data subject requests |
| `canned-responses` | Template management, response categories, escalation triggers |
| `legal-risk-assessment` | Risk severity framework, classification levels, escalation criteria |
| `meeting-briefing` | Meeting prep methodology, context gathering, action item tracking |

## Example Workflows

### Contract Review

1. Receive a vendor contract via email
2. Run `/review-contract` and upload the document
3. Provide context: "We are the customer, need to close by end of quarter, focus on data protection and liability"
4. Receive clause-by-clause analysis with GREEN/YELLOW/RED flags
5. Get specific redline language for YELLOW and RED items
6. Share the analysis with your deal team

### NDA Triage

1. Sales team sends an NDA from a new prospect
2. Run `/triage-nda` and paste or upload the NDA
3. Get instant classification: GREEN (route for signature), YELLOW (specific issues to review), or RED (needs full counsel review)
4. For GREEN NDAs, approve directly; for YELLOW/RED, address flagged issues

### Daily Brief

1. Start your morning with `/brief daily`
2. Get a summary of overnight contract requests, compliance questions, upcoming deadlines, and calendar items needing legal prep
3. Prioritize your day based on urgency and deadlines

### Vendor Check

1. Business team asks about a new engagement with an existing vendor
2. Run `/vendor-check Acme Corp`
3. See existing agreements, expiration dates, and key terms at a glance
4. Know immediately whether you need a new NDA or can proceed under existing terms

## MCP Integration

> If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](CONNECTORS.md).

The plugin connects to your tools through MCP (Model Context Protocol) servers:

| Category | Examples | Purpose |
|----------|----------|---------|
| Chat | Slack, Teams | Team requests, notifications, triage |
| Cloud storage | Box, Egnyte | Playbooks, templates, precedents |
| Office suite | Microsoft 365 | Email, calendar, documents |
| Project tracker | Atlassian (Jira/Confluence) | Matter tracking, tasks |

See [CONNECTORS.md](CONNECTORS.md) for the full list of supported integrations, including CLM, CRM, e-signature, and additional options.

Configure connections in `.mcp.json`. The plugin gracefully degrades when tools are unavailable -- it will note gaps and suggest manual checks.

## Customization

### Playbook Configuration

Your playbook is the heart of the contract review system. Define your positions in `legal.local.md`:

- **Standard positions**: Your preferred contract terms
- **Acceptable ranges**: What you can agree to without escalation
- **Escalation triggers**: Terms that require senior review or outside counsel

### Response Templates

Define templates for common inquiries. Templates support variable substitution and include built-in escalation triggers for situations that should not use a templated response.

### Risk Framework

Customize the risk assessment matrix to match your organization's risk appetite and classification scheme.

## File Structure

```
legal/
├── .claude-plugin/plugin.json
├── .mcp.json
├── README.md
├── commands/
│   ├── review-contract.md
│   ├── triage-nda.md
│   ├── vendor-check.md
│   ├── brief.md
│   └── respond.md
└── skills/
    ├── contract-review/SKILL.md
    ├── nda-triage/SKILL.md
    ├── compliance/SKILL.md
    ├── canned-responses/SKILL.md
    ├── legal-risk-assessment/SKILL.md
    └── meeting-briefing/SKILL.md
```

© Anthropic · Apache-2.0 · anthropics/knowledge-work-plugins

Similar plugins

All plugins for Finance and business →

From the same set263

The whole set →
bio-research The bio-research Claude Code plugin connects preclinical research tools and databases. It supports literature searches, single-cell analysis, sequencing workflows, and drug-target prioritization. ★ 36,654repo stars product-management Claude Code plugin for product management that writes specs, builds roadmaps, and synthesizes research. ★ 36,654repo stars customer-support The customer-support Claude Code plugin sorts support tickets and helps prepare replies, escalations, and knowledge base articles. Its commands cover tasks from ticket routing to customer research. ★ 36,654repo stars marketing This plugin for Claude Code drafts copy, plans marketing campaigns, and tracks channel performance. It checks tone against brand guidelines and audits search optimization. ★ 36,654repo stars data Enables advanced data analysis and SQL workflows. It turns your agent into a data collaborator capable of exploring datasets, generating insights, and building dashboards. ★ 36,654repo stars finance finance — a plugin for Claude Code handles financial accounting and month-end close routines. Runs journal entries, balance reconciliations, and SOX audit test papers. ★ 36,654repo stars sales sales is a sales plugin for Claude Code that prepares calls, reviews deals, and builds forecasts. Skills run from a matching request or by name, such as /sales:call-summary. ★ 36,654repo stars cowork-plugin-management The cowork-plugin-management Claude Code plugin creates and manages plugins for an organization’s tools and workflows. It can configure MCP servers, change plugin behavior, and tailor templates to a team’s process. ★ 36,654repo stars

Project sponsors

Companies that keep this analytics open