/legal:review-contract <contract file or text>from legal
Review a contract against your organization's negotiation playbook — flag deviations, generate redlines, provide business impact analysis. Use when reviewing vendor or customer agreements, when you need clause-by-clause analysis against standard positions, or when preparing a negotiation strategy with prioritized redlines and fallback positions.
Ships in legal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
Lark-native execution (depth core: LARK-PATTERNS, LARK-RECIPES, LARK-FUSION).
- Ingest the contract: if it's a Lark Doc URL, read it with
lark_doc_fetch(project withjq, e.g..content[:8000], P3); if it's a Lark Drive file, locate vialark_doc_search; uploads go throughlark_drive_upload. There is no native CLM — query the external CLM MCP if connected, else treat the contract register as a Lark Base.- Playbook (standard positions, acceptable ranges, escalation triggers) lives in Wiki/Docs — find with
lark_doc_search, read withlark_doc_fetch. For DocxXML editing of redlines, delegate tolark-doc(block JSON by hand is brittle).- Track the review in a Lark Base (P5): write the contract record + risk flags via
lark_base_record_upsert(dry_runfirst, P2); read prior reviews vialark_base_search(REQUIRESsearch_fields; nojq— read.data.records[], narrow withselect_fields/limit; discover field names vialark_apifields endpoint if unknown). Scaffold the schema withbase-deploy, not by hand.- Surface the GREEN/YELLOW/RED findings as an interactive card (P4) via
lark_im_card_send— coloredheaderby overall risk,itemrows per RED/YELLOW clause with a side button (e.g. Escalate, Accept fallback),panelfor the negotiation strategy.print_json→dry_run→ send.- CLM routing / approval (Step 8): RED contracts and over-threshold value should trigger a real Lark approval instance (P7,
lark_api/lark-approval) routed to the resolved approver (lark_contact_search, P1) — not a chat "ok". Capture follow-up redline tasks as Lark Tasks. Land the executed review memo in Wiki (lark_wiki_node_create, P8).
Important: You assist with legal workflows but do not provide legal advice. All analysis should be reviewed by qualified legal professionals before being relied upon.
/review-contract <contract file or URL>
Review the contract: @$1
Accept the contract in any of these formats:
lark_drive_uploadlark_doc_fetch, jq-projected), a Lark Drive file (find via lark_doc_search), or a contract in an external CLM/cloud-storage MCPIf no contract is provided, prompt the user to supply one.
Ask the user for context before beginning the review:
If the user provides partial context, proceed with what you have and note assumptions.
Look for the organization's contract review playbook in local settings (e.g., legal.local.md or similar configuration files).
The playbook should define:
If no playbook is configured:
Apply the following review process:
Analyze the contract systematically, covering at minimum:
| Clause Category | Key Review Points |
|---|---|
| Limitation of Liability | Cap amount, carveouts, mutual vs. unilateral, consequential damages |
| Indemnification | Scope, mutual vs. unilateral, cap, IP infringement, data breach |
| IP Ownership | Pre-existing IP, developed IP, work-for-hire, license grants, assignment |
| Data Protection | DPA requirement, processing terms, sub-processors, breach notification, cross-border transfers |
| Confidentiality | Scope, term, carveouts, return/destruction obligations |
| Representations & Warranties | Scope, disclaimers, survival period |
| Term & Termination | Duration, renewal, termination for convenience, termination for cause, wind-down |
| Governing Law & Dispute Resolution | Jurisdiction, venue, arbitration vs. litigation |
| Insurance | Coverage requirements, minimums, evidence of coverage |
| Assignment | Consent requirements, change of control, exceptions |
| Force Majeure | Scope, notification, termination rights |
| Payment Terms | Net terms, late fees, taxes, price escalation |
For each clause, assess against the playbook (or generic standards) and note whether it is present, absent, or unusual.
Key elements to review:
Common issues:
Key elements to review:
Common issues:
Key elements to review:
Common issues:
Key elements to review:
Common issues:
Key elements to review:
Common issues:
Key elements to review:
Common issues:
Classify each deviation from the playbook using a three-tier system:
The clause aligns with or is better than the organization's standard position. Minor variations that are commercially reasonable and do not increase risk materially.
Examples:
Action: Note for awareness. No negotiation needed.
The clause falls outside the standard position but within a negotiable range. The term is common in the market but not the organization's preference. Requires attention and likely negotiation, but not escalation.
Examples:
Action: Generate specific redline language. Provide fallback position. Estimate business impact of accepting vs. negotiating.
The clause falls outside acceptable range, triggers a defined escalation criterion, or poses material risk. Requires senior counsel review, outside counsel involvement, or business decision-maker sign-off.
Examples:
Action: Explain the specific risk. Provide market-standard alternative language. Estimate exposure. Recommend escalation path.
For each YELLOW and RED deviation, provide:
When generating redline suggestions:
For each redline:
**Clause**: [Section reference and clause name]
**Current language**: "[exact quote from the contract]"
**Proposed redline**: "[specific alternative language with additions in bold and deletions struck through conceptually]"
**Rationale**: [1-2 sentences explaining why, suitable for external sharing]
**Priority**: [Must-have / Should-have / Nice-to-have]
**Fallback**: [Alternative position if primary redline is rejected]
Provide a summary section covering:
When presenting redlines, organize by negotiation priority:
Tier 1 -- Must-Haves (Deal Breakers) Issues where the organization cannot proceed without resolution:
Tier 2 -- Should-Haves (Strong Preferences) Issues that materially affect risk but have negotiation room:
Tier 3 -- Nice-to-Haves (Concession Candidates) Issues that improve the position but can be conceded strategically:
Negotiation strategy: Lead with Tier 1 items. Trade Tier 3 concessions to secure Tier 2 wins. Never concede on Tier 1 without escalation.
If a Contract Lifecycle Management system is connected via its own MCP, use it. Otherwise approximate CLM natively with Lark:
lark_base_record_upsert, P5).lark_api approval recipe / lark-approval skill), routed to the resolved approver (lark_contact_search, P1: standard approval, senior counsel, or outside counsel).actions buttons on the findings card (P4).Structure the output as:
## Contract Review Summary
**Document**: [contract name/identifier]
**Parties**: [party names and roles]
**Your Side**: [vendor/customer/etc.]
**Deadline**: [if provided]
**Review Basis**: [Playbook / Generic Standards]
## Key Findings
[Top 3-5 issues with severity flags]
## Clause-by-Clause Analysis
### [Clause Category] -- [GREEN/YELLOW/RED]
**Contract says**: [summary of the provision]
**Playbook position**: [your standard]
**Deviation**: [description of gap]
**Business impact**: [what this means practically]
**Redline suggestion**: [specific language, if YELLOW or RED]
[Repeat for each major clause]
## Negotiation Strategy
[Recommended approach, priorities, concession candidates]
## Next Steps
[Specific actions to take]
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub larkcowork/lark-cowork-plugins --plugin legal9 skills in this plugin
/briefGenerate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context./compliance-checkRun a compliance check on a proposed action, product feature, or business initiative, surfacing applicable regulations, required approvals, and risk areas. Use when launching a feature that touches personal data, when marketing or product proposes something with regulatory implications, or when you need to know which approvals and jurisdictional requirements apply before proceeding./