# Claude Code for compliance: contracts with a playbook

> Install Anthropic's Legal plugin, encode positions in legal.local.md, and keep a lawyer on the final call.

Source: https://fullbytedeveloper.com/blog/claude-code-for-compliance-contracts
Published here: 2026-11-26

Nobody should treat Claude Code plugin output as legal advice. Compliance and contract work is a playbook loop: encode your positions, triage against them, draft redlines, then stop for a qualified human. Anthropic's Legal Productivity plugin documents that loop for Claude Code and Cowork. It is not counsel. [1] [2]

**This page is not legal advice.** The Legal plugin README states the same disclaimer in full: the plugin assists with workflows, does not provide legal advice, and AI-generated analysis must be reviewed by licensed attorneys before anyone relies on it for legal decisions. Default playbook examples reflect U.S. positions (Delaware, New York, California); other systems must customize `.claude/legal.local.md` first. [1]

After this page you can install Legal, write `.claude/legal.local.md`, triage NDAs against the playbook, and keep redlines human-gated. Related: [Claude Code for accounting](/blog/claude-code-for-accounting) for close evidence, [Claude Code for finance](/blog/claude-code-for-finance) for model checks, [Claude Code deny rules](/blog/claude-code-deny-rules) for secret paths. Browse the [Claude Code topic](https://fullbytedeveloper.com/blog/topic/claude-code).

## Install Legal, then write legal.local.md

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

For Claude Code, save the playbook at `.claude/legal.local.md`. The README's sample covers limitation of liability, indemnification, IP ownership, data protection, term and termination, governing law, and NDA defaults with standard positions, acceptable ranges, and escalation triggers. [1]

```md title=".claude/legal.local.md"
# 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
```

You should see GREEN / YELLOW / RED flags measured against *your* file, not a generic internet template. [1]

## Review contracts and triage NDAs against the playbook

```text
/review-contract
/triage-nda
```

`/review-contract` accepts upload, URL, or pasted text, then reviews clause-by-clause against the playbook with redline language for YELLOW and RED items. `/triage-nda` classifies GREEN (standard approval), YELLOW (counsel review), or RED (significant issues). Paste your side, deadline, and focus areas before the run. [1]

**Warning:** share only contracts you are allowed to put in this session. Keep privilege-sensitive matter out of shared logs; use deny rules on private folders. [8]

## Vendor status and templated responses stay human-gated

```text
/vendor-check Acme Corp
/respond data-subject-request
```

`/vendor-check` reports existing NDAs, MSAs, DPAs, expirations, and key terms when storage connectors are present. `/respond` fills configured templates for inquiry types such as data subject request, discovery hold, vendor question, and NDA request. Templates include escalation triggers for cases that must not stay canned. [1]

## Compliance prep is not an audit opinion

The plugin's `compliance` skill covers privacy regulations, DPA review, and data subject requests as workflow help. For assurance topics such as SOC 2, treat AICPA and CIMA's audit and assurance materials as the professional reference lane, and keep a CPA or qualified assessor on the engagement. Claude drafts workpapers; it does not issue opinions. [1] [3]

Best practices still apply: tell Claude jurisdiction and risk appetite it cannot see, give it a check (playbook path present, attorney named on the ticket), and enforce non-negotiable denials with hooks or permissions. [4]

Morning `/brief daily` can surface overnight contract requests and deadlines; `/brief incident` is for rapid context only, not a public statement. [1]

You now have a compliance loop: install Legal, encode `legal.local.md`, review and triage against it, keep templates and vendor checks human-gated, and never treat the output as advice or an audit opinion.

Send this to the counsel who wants Claude Code for triage without treating drafts as advice.

## Sources

1. [Anthropic Legal plugin README, accessed 2026-11-26](https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/legal/README.md)
2. [Anthropic Legal plugin tree, accessed 2026-11-26](https://github.com/anthropics/knowledge-work-plugins/tree/main/legal)
3. [AICPA and CIMA: Audit and assurance topic, accessed 2026-11-26](https://www.aicpa-cima.com/topic/audit-assurance)
4. [Claude Code best practices, accessed 2026-11-26](https://code.claude.com/docs/en/best-practices)
5. [Claude Code docs: Plugins, accessed 2026-11-26](https://code.claude.com/docs/en/plugins)
6. [Full Byte Developer: Claude Code for accounting](https://fullbytedeveloper.com/blog/claude-code-for-accounting)
7. [Full Byte Developer: Claude Code for finance](https://fullbytedeveloper.com/blog/claude-code-for-finance)
8. [Full Byte Developer: Claude Code deny rules](https://fullbytedeveloper.com/blog/claude-code-deny-rules)
