Commercial Clause Extraction
Overview
Perform NLP-based clause extraction from commercial contracts, identifying, classifying, and tagging all contractual clauses with source references for downstream commercial operations.
Announce at start: "I'm using the commercial-clause-extraction skill to extract clauses from the contract document."
When to Use This Skill
Trigger Conditions:
- New contract received requiring clause analysis
- Contract amendment requires clause re-evaluation
- Obligation tracking needs clause source identification
- Compliance monitoring requires clause reference verification
Prerequisites:
- Contract document available in text or searchable PDF format
- Contract metadata available (contract number, parties, effective date)
- Clause index or clause dictionary available for reference
Step-by-Step Procedure
Step 1: Document Preparation
- Verify contract document is complete (all pages, annexures, schedules)
- Convert to text format if necessary (OCR for scanned documents)
- Identify document sections and structure
- Verify contract metadata (contract number, parties, dates)
Step 2: Clause Boundary Detection
Apply clause boundary detection:
- Identify section headers and numbering
- Detect paragraph-level clause boundaries
- Identify sub-clause hierarchy (numbering patterns: 1, 1.1, 1.1.1)
- Flag ambiguous boundaries for manual review
Step 3: Clause Classification
Classify each identified clause into commercial clause categories:
| Clause Category |
Examples |
Extraction Priority |
| Payment Terms |
Pricing, invoicing, payment schedule, currency, taxes |
Critical |
| Liquidated Damages |
LD rates, caps, trigger conditions |
Critical |
| Termination |
Termination rights, notice periods, consequences |
Critical |
| Variation/Change |
Change procedures, variation order process, rate adjustments |
Critical |
| Dispute Resolution |
Arbitration, adjudication, jurisdiction, escalation procedure |
Critical |
| Force Majeure |
Force majeure definition, notice requirements, consequences |
High |
| Indemnity/Liability |
Indemnification, liability caps, exclusions |
High |
| Performance |
Performance standards, deliverables, acceptance criteria |
High |
| Confidentiality |
Confidentiality obligations, duration, exceptions |
Medium |
| Insurance |
Required insurance, coverage amounts, certificates |
Medium |
| Warranties/Guarantees |
Warranty periods, guarantee terms, defect liability |
Medium |
| Governing Law |
Jurisdiction, applicable law, language |
Medium |
| Subcontracting |
Subcontracting rights, consent requirements |
Medium |
| Compliance |
Regulatory compliance, anti-corruption, environmental |
Medium |
Step 4: Clause Extraction
For each classified clause:
- Extract clause text verbatim
- Record source location (section number, page number, paragraph)
- Identify key data elements within clause:
- Monetary values (amounts, rates, caps)
- Time periods (notice periods, durations, deadlines)
- Conditions (triggers, requirements, exceptions)
- References (to other clauses, documents, standards)
- Tag with clause category and classification confidence
Step 5: Reference and Cross-Reference Tagging
- Identify intra-contract references (clause-to-clause references)
- Identify external references (standards, regulations, other documents)
- Create cross-reference map for all identified references
- Flag broken or missing references for manual review
Step 6: Obligation Identification
- From payment terms: Extract payment obligations, amounts, schedules
- From performance clauses: Extract deliverable obligations, standards
- From compliance clauses: Extract regulatory obligations
- From termination clauses: Extract notice obligations, handover obligations
- Tag each obligation with source clause reference
Step 7: Structured Output
Generate structured JSON output:
{
"contract_id": "CON-2026-XXXX",
"extraction_date": "2026-04-01T20:00:00Z",
"total_clauses_extracted": 0,
"clauses": [
{
"clause_id": "CL-001",
"section_number": "12.3",
"clause_category": "Payment Terms",
"clause_text": "...",
"page_number": 0,
"key_elements": {
"monetary_values": [],
"time_periods": [],
"conditions": [],
"references": []
},
"obligations_identified": ["OBL-001", "OBL-002"],
"confidence": 0.95
}
],
"cross_references": [],
"summary": {
"by_category": {},
"obligations_count": 0,
"critical_clauses_count": 0
}
}
Step 8: Validation and Quality Check
- Verify all clause categories are represented
- Check that critical clauses (payment, LD, termination) are extracted
- Validate that cross-references resolve within the document
- Confirm obligation extraction completeness
- Flag low-confidence extractions (<80%) for human review
Success Criteria
Common Pitfalls
- Scan Quality Issues — Poor OCR quality leads to misidentified clause boundaries. Always verify OCR accuracy before extraction.
- Annexure/Schedule Separation — Clauses in annexures and schedules are often missed. Ensure all document components are processed.
- Cross-Reference Resolution — Many contracts reference clauses that don't exist or use informal references. Flag all unresolved references.
- Hidden Obligations — Some obligations are embedded within non-obligation clauses (e.g., notice requirements in dispute clauses). Review thoroughly.
- Version Mismatch — Ensure the document being processed matches the executed version. Check dates, signatures, and amendment references.
Cross-References
Related Skills
commercial-contract-interpretation — Clause interpretation and meaning analysis
commercial-obligation-tracking — Obligation lifecycle management
commercial-compliance-monitoring — Compliance against extracted clauses
Related Agents
COM-007 Commercial Clause Extraction Agent — Primary agent
COM-002 Commercial Contract Administrator Agent — Supporting agent
1---2name: commercial-clause-extraction3description: NLP-based extraction of contract clauses with reference tagging, obligation identification, and structured output for commercial compliance4---56# Commercial Clause Extraction78## Overview910Perform NLP-based clause extraction from commercial contracts, identifying, classifying, and tagging all contractual clauses with source references for downstream commercial operations.1112**Announce at start:** "I'm using the commercial-clause-extraction skill to extract clauses from the contract document."1314## When to Use This Skill1516**Trigger Conditions:**17- New contract received requiring clause analysis18- Contract amendment requires clause re-evaluation19- Obligation tracking needs clause source identification20- Compliance monitoring requires clause reference verification2122**Prerequisites:**23- Contract document available in text or searchable PDF format24- Contract metadata available (contract number, parties, effective date)25- Clause index or clause dictionary available for reference2627## Step-by-Step Procedure2829### Step 1: Document Preparation30311. Verify contract document is complete (all pages, annexures, schedules)322. Convert to text format if necessary (OCR for scanned documents)333. Identify document sections and structure344. Verify contract metadata (contract number, parties, dates)3536### Step 2: Clause Boundary Detection3738Apply clause boundary detection:391. Identify section headers and numbering402. Detect paragraph-level clause boundaries413. Identify sub-clause hierarchy (numbering patterns: 1, 1.1, 1.1.1)424. Flag ambiguous boundaries for manual review4344### Step 3: Clause Classification4546Classify each identified clause into commercial clause categories:4748| Clause Category | Examples | Extraction Priority |49|----------------|----------|---------------------|50| Payment Terms | Pricing, invoicing, payment schedule, currency, taxes | Critical |51| Liquidated Damages | LD rates, caps, trigger conditions | Critical |52| Termination | Termination rights, notice periods, consequences | Critical |53| Variation/Change | Change procedures, variation order process, rate adjustments | Critical |54| Dispute Resolution | Arbitration, adjudication, jurisdiction, escalation procedure | Critical |55| Force Majeure | Force majeure definition, notice requirements, consequences | High |56| Indemnity/Liability | Indemnification, liability caps, exclusions | High |57| Performance | Performance standards, deliverables, acceptance criteria | High |58| Confidentiality | Confidentiality obligations, duration, exceptions | Medium |59| Insurance | Required insurance, coverage amounts, certificates | Medium |60| Warranties/Guarantees | Warranty periods, guarantee terms, defect liability | Medium |61| Governing Law | Jurisdiction, applicable law, language | Medium |62| Subcontracting | Subcontracting rights, consent requirements | Medium |63| Compliance | Regulatory compliance, anti-corruption, environmental | Medium |6465### Step 4: Clause Extraction6667For each classified clause:681. Extract clause text verbatim692. Record source location (section number, page number, paragraph)703. Identify key data elements within clause:71 - Monetary values (amounts, rates, caps)72 - Time periods (notice periods, durations, deadlines)73 - Conditions (triggers, requirements, exceptions)74 - References (to other clauses, documents, standards)754. Tag with clause category and classification confidence7677### Step 5: Reference and Cross-Reference Tagging78791. Identify intra-contract references (clause-to-clause references)802. Identify external references (standards, regulations, other documents)813. Create cross-reference map for all identified references824. Flag broken or missing references for manual review8384### Step 6: Obligation Identification85861. From payment terms: Extract payment obligations, amounts, schedules872. From performance clauses: Extract deliverable obligations, standards883. From compliance clauses: Extract regulatory obligations894. From termination clauses: Extract notice obligations, handover obligations905. Tag each obligation with source clause reference9192### Step 7: Structured Output9394Generate structured JSON output:95```json96{97 "contract_id": "CON-2026-XXXX",98 "extraction_date": "2026-04-01T20:00:00Z",99 "total_clauses_extracted": 0,100 "clauses": [101 {102 "clause_id": "CL-001",103 "section_number": "12.3",104 "clause_category": "Payment Terms",105 "clause_text": "...",106 "page_number": 0,107 "key_elements": {108 "monetary_values": [],109 "time_periods": [],110 "conditions": [],111 "references": []112 },113 "obligations_identified": ["OBL-001", "OBL-002"],114 "confidence": 0.95115 }116 ],117 "cross_references": [],118 "summary": {119 "by_category": {},120 "obligations_count": 0,121 "critical_clauses_count": 0122 }123}124```125126### Step 8: Validation and Quality Check1271281. Verify all clause categories are represented1292. Check that critical clauses (payment, LD, termination) are extracted1303. Validate that cross-references resolve within the document1314. Confirm obligation extraction completeness1325. Flag low-confidence extractions (<80%) for human review133134## Success Criteria135136- [ ] All contract sections processed137- [ ] Critical clause categories identified (payment, LD, termination, variation, dispute)138- [ ] Each clause tagged with source location (section, page)139- [ ] Key elements extracted (monetary values, time periods, conditions, references)140- [ ] Cross-reference map generated141- [ ] Obligations identified and linked to source clauses142- [ ] Low-confidence extractions flagged for human review143- [ ] Structured output generated and validated144145## Common Pitfalls1461471. **Scan Quality Issues** — Poor OCR quality leads to misidentified clause boundaries. Always verify OCR accuracy before extraction.1482. **Annexure/Schedule Separation** — Clauses in annexures and schedules are often missed. Ensure all document components are processed.1493. **Cross-Reference Resolution** — Many contracts reference clauses that don't exist or use informal references. Flag all unresolved references.1504. **Hidden Obligations** — Some obligations are embedded within non-obligation clauses (e.g., notice requirements in dispute clauses). Review thoroughly.1515. **Version Mismatch** — Ensure the document being processed matches the executed version. Check dates, signatures, and amendment references.152153## Cross-References154155### Related Skills156- `commercial-contract-interpretation` — Clause interpretation and meaning analysis157- `commercial-obligation-tracking` — Obligation lifecycle management158- `commercial-compliance-monitoring` — Compliance against extracted clauses159160### Related Agents161- `COM-007` Commercial Clause Extraction Agent — Primary agent162- `COM-002` Commercial Contract Administrator Agent — Supporting agent