Signature Page Detector
What it does
Legal documents are only as good as their execution. A contract with missing signatures, absent witnesses, or an unfilled notary block may be unenforceable. This skill detects all execution-related elements in a legal document — whether the input is a native-text PDF, a scanned document (after OCR via [[voice-multimodal-scanned-pdf-handler]]), or a set of page images — and produces a structured execution status report.
Detection patterns
Text-based signature block detection (native text PDFs)
Signature blocks contain recognizable text markers. Detect:
| Marker type |
Examples |
| Role indicators |
"By:", "Executed by:", "Signed by:", "For and on behalf of:" |
| Name/title fields |
"Name:", "Title:", "Designation:" |
| Date fields |
"Date:", "Dated this ___ day of" |
| Witness indicators |
"Witness:", "Witnessed by:", "In the presence of:" |
| Notary indicators |
"Notary Public:", "This instrument was acknowledged before me", "Certified correct by:" |
| Arabic equivalents |
بتوقيع، اسم الشاهد، توثيق |
Visual signature detection (scanned documents and images)
When processing image content:
- Signature lines: horizontal underscores or printed lines followed by or preceded by a name/title field.
- Handwritten signatures: visual strokes that deviate from printed text — irregular baseline, variable stroke width, cursive-style marks.
- Initials on pages: short handwritten marks at bottom corners of pages (required in many MENA jurisdictions for multi-page contracts).
- Rubber stamps / corporate seals: circular or rectangular impression marks, often with company name text around the rim.
- Electronic signature markers: DocuSign completion flags ("Signed by [Name] [ID]"), Adobe Acrobat signature fields with completion status, HelloSign blue completion banners.
- MENA e-signature markers: Tawqi3i (UAE government e-signature platform) completion indicators.
Stamp detection
- Corporate seals: round or rectangular stamps bearing company name, registration number, jurisdiction. Common in UAE, KSA, and Lebanon.
- Notary stamps: official stamps from a Notary Public (UAE, Lebanon, Egypt) bearing their registration number and jurisdiction.
- Ministry attestation stamps: UAE Ministry of Foreign Affairs, Saudi MOFA, Lebanese Foreign Ministry — required for documents going through apostille or consular legalization chains.
Validation against required execution
After detection, validate completeness. The required elements depend on the document type and jurisdiction:
| Document type |
Jurisdiction |
Required execution elements |
| Simple contract |
UAE onshore |
Signatures of all named parties; date |
| Contract > AED 500k (court-enforceable) |
UAE onshore |
Signatures + potentially witness or notary depending on type |
| Employment contract |
UAE |
Employer + employee signatures; MOHRE registration |
| Power of attorney |
UAE / Lebanon |
Notary stamp + signatures; in Lebanon, also Civil Registry |
| Real estate SPA |
UAE |
Dubai Land Department format; notarization |
| Wills |
UK / DIFC |
Testator + two witnesses (no beneficiary witness) |
| Share transfer |
ADGM / DIFC |
Corporate resolution + transfer form signatures |
| Court submission |
Lebanon |
Lawyer signature + bar number |
Key MENA-specific requirements
Tawqi3i (UAE): The UAE government's official e-signature platform. Documents executed through Tawqi3i are legally equivalent to notarized wet-ink signatures for most civil and commercial purposes. Detect Tawqi3i completion certificates and treat them as equivalent to notarization.
Witness requirements: Many jurisdictions require witnesses for wills, real property deeds, and powers of attorney:
- UAE: wills before a UAE Will Registry require two witnesses.
- Lebanon: most formal acts before a notaire require two witnesses.
- KSA: court documents may require male Muslim witnesses per classical interpretation (varies by court/context).
Initials on every page: In Lebanon and many civil law jurisdictions, multi-page contracts require initials (paraphe) on every page from all parties, not just on the signature page. Flag if initials are absent from interior pages.
Apostille and consular legalization: For cross-border documents, the full execution chain must be present — notarization, then Ministry of Foreign Affairs attestation, then receiving country's consular legalization. Flag incomplete chains.
Output format
The skill returns a structured execution report:
{
"total_pages": 12,
"signature_pages": [10, 11],
"detected_signers": [
{"role": "Party 1", "name": "ABC LLC", "signature_present": true, "date_present": true, "page": 10},
{"role": "Party 2", "name": "[blank]", "signature_present": false, "date_present": false, "page": 10}
],
"witness_blocks": [
{"required": true, "present": true, "page": 11}
],
"notary_block": {"required": true, "present": false, "page": 11},
"initials_on_all_pages": false,
"missing_pages_with_initials": [3, 5, 7],
"stamps_detected": ["Corporate seal — ABC LLC", "Notary stamp — incomplete"],
"flags": [
"Party 2 signature missing",
"Notary block present but stamp absent",
"Initials missing on pages 3, 5, 7"
]
}
Critical handling rules
- Do not paraphrase or reformat signature blocks during OCR. The exact text, layout, and spacing of a signature block are legally significant. Return them as-is.
- Do not redact signature images. Signature images should be preserved even when PII redaction is applied to the surrounding text.
- Flag, do not auto-fill. If a date field is blank, flag it — do not infer a date from surrounding context and fill it in.
- Multi-party complex documents: for documents with more than four signatories (e.g., a shareholders' agreement or a syndicated facility), produce a per-party execution checklist rather than a simple pass/fail.
Related skills
- [[voice-multimodal-scanned-pdf-handler]]
- [[voice-image-of-contract-page-handler]]
- [[voice-signature-page-detector]]
- [[voice-dictation-cleanup]]
1---2name: voice-multimodal-signature-page-detector3description: Use when processing a legal document (PDF, image, or OCR output) to detect signature pages, validate that all required signatures and witness blocks are present, and flag missing or incomplete execution elements. This skill covers detection patterns for wet signatures, electronic signatures, notary stamps, and MENA-specific instruments (Tawqi3i, Ministry attestation), plus per-jurisdiction validation of witness and notarization requirements.4license: MIT5---67# Signature Page Detector89## What it does1011Legal documents are only as good as their execution. A contract with missing signatures, absent witnesses, or an unfilled notary block may be unenforceable. This skill detects all execution-related elements in a legal document — whether the input is a native-text PDF, a scanned document (after OCR via [[voice-multimodal-scanned-pdf-handler]]), or a set of page images — and produces a structured execution status report.1213## Detection patterns1415### Text-based signature block detection (native text PDFs)1617Signature blocks contain recognizable text markers. Detect:1819| Marker type | Examples |20|-------------|---------|21| Role indicators | "By:", "Executed by:", "Signed by:", "For and on behalf of:" |22| Name/title fields | "Name:", "Title:", "Designation:" |23| Date fields | "Date:", "Dated this ___ day of" |24| Witness indicators | "Witness:", "Witnessed by:", "In the presence of:" |25| Notary indicators | "Notary Public:", "This instrument was acknowledged before me", "Certified correct by:" |26| Arabic equivalents | بتوقيع، اسم الشاهد، توثيق |2728### Visual signature detection (scanned documents and images)2930When processing image content:31- **Signature lines**: horizontal underscores or printed lines followed by or preceded by a name/title field.32- **Handwritten signatures**: visual strokes that deviate from printed text — irregular baseline, variable stroke width, cursive-style marks.33- **Initials on pages**: short handwritten marks at bottom corners of pages (required in many MENA jurisdictions for multi-page contracts).34- **Rubber stamps / corporate seals**: circular or rectangular impression marks, often with company name text around the rim.35- **Electronic signature markers**: DocuSign completion flags ("Signed by [Name] [ID]"), Adobe Acrobat signature fields with completion status, HelloSign blue completion banners.36- **MENA e-signature markers**: Tawqi3i (UAE government e-signature platform) completion indicators.3738### Stamp detection39- **Corporate seals**: round or rectangular stamps bearing company name, registration number, jurisdiction. Common in UAE, KSA, and Lebanon.40- **Notary stamps**: official stamps from a Notary Public (UAE, Lebanon, Egypt) bearing their registration number and jurisdiction.41- **Ministry attestation stamps**: UAE Ministry of Foreign Affairs, Saudi MOFA, Lebanese Foreign Ministry — required for documents going through apostille or consular legalization chains.4243## Validation against required execution4445After detection, validate completeness. The required elements depend on the document type and jurisdiction:4647| Document type | Jurisdiction | Required execution elements |48|---------------|-------------|---------------------------|49| Simple contract | UAE onshore | Signatures of all named parties; date |50| Contract > AED 500k (court-enforceable) | UAE onshore | Signatures + potentially witness or notary depending on type |51| Employment contract | UAE | Employer + employee signatures; MOHRE registration |52| Power of attorney | UAE / Lebanon | Notary stamp + signatures; in Lebanon, also Civil Registry |53| Real estate SPA | UAE | Dubai Land Department format; notarization |54| Wills | UK / DIFC | Testator + two witnesses (no beneficiary witness) |55| Share transfer | ADGM / DIFC | Corporate resolution + transfer form signatures |56| Court submission | Lebanon | Lawyer signature + bar number |5758### Key MENA-specific requirements5960**Tawqi3i (UAE)**: The UAE government's official e-signature platform. Documents executed through Tawqi3i are legally equivalent to notarized wet-ink signatures for most civil and commercial purposes. Detect Tawqi3i completion certificates and treat them as equivalent to notarization.6162**Witness requirements**: Many jurisdictions require witnesses for wills, real property deeds, and powers of attorney:63- UAE: wills before a UAE Will Registry require two witnesses.64- Lebanon: most formal acts before a notaire require two witnesses.65- KSA: court documents may require male Muslim witnesses per classical interpretation (varies by court/context).6667**Initials on every page**: In Lebanon and many civil law jurisdictions, multi-page contracts require initials (paraphe) on every page from all parties, not just on the signature page. Flag if initials are absent from interior pages.6869**Apostille and consular legalization**: For cross-border documents, the full execution chain must be present — notarization, then Ministry of Foreign Affairs attestation, then receiving country's consular legalization. Flag incomplete chains.7071## Output format7273The skill returns a structured execution report:7475```json76{77 "total_pages": 12,78 "signature_pages": [10, 11],79 "detected_signers": [80 {"role": "Party 1", "name": "ABC LLC", "signature_present": true, "date_present": true, "page": 10},81 {"role": "Party 2", "name": "[blank]", "signature_present": false, "date_present": false, "page": 10}82 ],83 "witness_blocks": [84 {"required": true, "present": true, "page": 11}85 ],86 "notary_block": {"required": true, "present": false, "page": 11},87 "initials_on_all_pages": false,88 "missing_pages_with_initials": [3, 5, 7],89 "stamps_detected": ["Corporate seal — ABC LLC", "Notary stamp — incomplete"],90 "flags": [91 "Party 2 signature missing",92 "Notary block present but stamp absent",93 "Initials missing on pages 3, 5, 7"94 ]95}96```9798## Critical handling rules99100- **Do not paraphrase or reformat signature blocks during OCR.** The exact text, layout, and spacing of a signature block are legally significant. Return them as-is.101- **Do not redact signature images.** Signature images should be preserved even when PII redaction is applied to the surrounding text.102- **Flag, do not auto-fill.** If a date field is blank, flag it — do not infer a date from surrounding context and fill it in.103- **Multi-party complex documents**: for documents with more than four signatories (e.g., a shareholders' agreement or a syndicated facility), produce a per-party execution checklist rather than a simple pass/fail.104105## Related skills106107- [[voice-multimodal-scanned-pdf-handler]]108- [[voice-image-of-contract-page-handler]]109- [[voice-signature-page-detector]]110- [[voice-dictation-cleanup]]