Contract intake and clause extraction
Read incoming contracts, extract the clauses that matter into a comparison table, flag deviations from your standard positions, and route by risk. Counsel reviews a diff of what changed, not the whole document cold.
Trigger
A contract arrives by email or is uploaded to the intake folder.
Required tools & APIs
Gmail or shared folder for intake · Postgres for standard positions and history · Claude API for extraction
Built for
Any industry
Time-to-value (typical)
About 4 days
Build size
Project
How the agents hand off work
Each step names the agent, what it does, and where the work goes next.
Intake
Log the contract: counterparty, type, governing law, value, who sent it.
Hands the document to the Extractor.
Extractor
Pull the key clauses: term, termination, liability cap, indemnity, payment, IP, data protection.
Hands clause text with locations to the Comparator.
Comparator
Diff each clause against your standard positions and mark each as standard, acceptable deviation or material.
Hands the deviation table to the Router.
Router
Material deviations go to counsel with the specific language highlighted; standard deals go to the fast lane.
Counsel reviews a targeted diff, not the full document.
Copy the recipe
The SKILL.md runs as-is in Claude Code, OpenCode or Cursor. The workflow JSON is a portable spec that maps onto n8n, Make or Zapier style tools.
---
name: contract-intake-clause-extraction
description: Extract key clauses from an incoming contract, diff them against your standard positions, and route by risk. Use when a contract reaches legal intake.
---
# Contract Intake and Clause Extraction
## When to use
- Contracts queue up for review without triage.
- The same clauses get re-read on every deal of the same type.
## Inputs
- The contract document (required).
- Standard positions per contract type: your fallback language for each key clause (required, stored once).
- Routing rules: who reviews material deviations (required).
## Process
1. Log intake: counterparty, contract type, governing law, stated value, sender.
2. Extract each key clause with its exact location: term, termination, liability cap, indemnity, payment, IP, data protection.
3. Diff against the standard position for that clause. Classify: standard, acceptable deviation, material.
4. Route: material to counsel with the exact language highlighted; acceptable deviations to the deal owner with a note; standard to the fast lane.
5. Store the extraction so the next contract of this type starts from this history.
## Outputs
- Deviation table: clause, your standard, their language, classification, location.
- Routing decision with the specific language counsel must look at.
## Tools and integrations
- Gmail or shared folder: intake.
- Postgres: standard positions and extraction history.
- Claude API: clause extraction and classification with locations.
## Guardrails
- Never present a summary as legal advice. The output is a triage aid for counsel.
- Every extracted clause must quote the source text and its location.
- Never mark a material deviation as standard when the text differs from your fallback.
## Examples
- "MSA from a new vendor." -> deviation table, liability cap flagged as material, routed to counsel.
- "Renewal of last quarte’ standard SaaS terms." -> standard classification, fast lane.Locked: the deeper blueprint
Architecture, guardrails, metrics worth watching and the failure modes that break first. Unlock it with your email and we will send the blueprint with the recipe link.
One email per unlock. Unsubscribe by replying to any message.
More Legal recipes
Browse all →Want this built for real?
This recipe shows the shape of the work. Turning it into a running system with your data, your tools and review gates is what we build. If this bottleneck is one you live with, book a call and we will scope it.