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.
Published here · 8 sources · Resume reading
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 for close evidence, Claude Code for finance for model checks, Claude Code deny rules for secret paths. Browse the Claude Code topic.
Install Legal, then write legal.local.md
claude plugin marketplace add anthropics/knowledge-work-plugins
claude plugin install legal@knowledge-work-pluginsFor 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]
# 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 inclusionYou should see GREEN / YELLOW / RED flags measured against your file, not a generic internet template. [1]
Review contracts and triage NDAs against the playbook
/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
/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.
Keep this guide
Filed under Claude Code, Security
Questions about this guide
Does the Legal plugin give legal advice?
No. Its README says it assists with legal workflows but does not provide legal advice. Licensed attorneys must review AI analysis before legal decisions.
Where does the negotiation playbook live?
In legal.local.md. For Claude Code, save it under the project's .claude/ directory. Cowork finds it in a shared folder.
Which commands cover contracts and NDAs?
The README lists /review-contract, /triage-nda, /vendor-check, /brief, and /respond.
Are the default playbook examples global?
No. The README says defaults reflect U.S. positions (Delaware, New York, California). Other jurisdictions must customize legal.local.md first.
Sources
- Anthropic Legal plugin README, accessed 2026-11-26raw.githubusercontent.com
- Claude Code best practices, accessed 2026-11-26code.claude.com
- Claude Code docs: Plugins, accessed 2026-11-26code.claude.com
- Full Byte Developer: Claude Code for accountingfullbytedeveloper.com
- Full Byte Developer: Claude Code for financefullbytedeveloper.com
- Full Byte Developer: Claude Code deny rulesfullbytedeveloper.com