document-congruence-checker

Compare multiple documents for congruency and consistency. Use when: User needs to verify that multiple documents (contracts, reports, forms, specs) contain consistent information, identify conflicting data points, or ensure alignment across document sets.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "document-congruence-checker" with this command: npx skills add dorjenorbulim/document-congruence-checker

Document Congruence Checker

Purpose

Compare 2+ documents to identify:

  • Conflicting information (dates, names, amounts, terms)
  • Missing fields in some documents
  • Inconsistent terminology or values
  • Version mismatches

Input

User provides:

  • 2 or more documents (PDF, DOCX, TXT, MD, JSON, XML)
  • Optional: specific fields to focus on
  • Optional: tolerance rules (e.g., date format differences OK)

Process

1. Document Parsing

  • Extract text and structured data from each document
  • Identify document type and key fields
  • Normalize data formats (dates, currencies, names)

2. Field Mapping

  • Create unified field schema across all documents
  • Map equivalent fields (e.g., "Client Name" = "Customer Name" = "Party A")
  • Note fields present in some docs but not others

3. Congruence Analysis

For each mapped field:

  • Congruent: Values match exactly (or within tolerance)
  • Incongruent: Values conflict
  • Missing: Field absent in one or more documents
  • Ambiguous: Values unclear or unparseable

4. Report Generation

Output a discrepancy table with:

FieldDoc ADoc BDoc CStatusNotes

Output Format

## 📊 Document Congruence Report

**Documents Compared:** {list}
**Analysis Date:** {date}
**Overall Congruence:** {High/Medium/Low} - {X}% fields aligned

### ✅ Congruent Fields ({count})
| Field | Value | Present In |
|-------|-------|------------|
| {field} | {value} | All docs |

### ⚠️ Incongruent Fields ({count})
| Field | Doc A | Doc B | Doc C | Discrepancy Type |
|-------|-------|-------|-------|------------------|
| Date | 2026-04-01 | 2026-04-10 | 2026-04-01 | Value mismatch |
| Amount | $10,000 | $10,000 | - | Missing in Doc C |

### 📋 Missing Fields ({count})
| Field | Missing In | Impact |
|-------|------------|--------|
| Signature | Doc B | High - legal validity |

### 🔍 Recommendations
1. {action item}
2. {action item}

Congruence Levels

LevelCriteria
High90%+ fields congruent, no critical conflicts
Medium70-89% congruent, minor conflicts only
Low<70% congruent, or critical conflicts present

Critical vs Non-Critical Fields

Critical (incongruence = high risk):

  • Dates (effective, expiry, delivery)
  • Amounts (prices, fees, penalties)
  • Names (parties, signatories)
  • Legal terms (liability, termination)
  • Identifiers (contract #, account #)

Non-Critical (incongruence = low risk):

  • Formatting differences
  • Typos in non-legal text
  • Optional fields
  • Descriptive language variations

Usage Examples

Example 1: Contract Comparison

User: Compare these 3 contract versions for inconsistencies
Agent: [parses docs, outputs congruence table]

Example 2: Financial Report Alignment

User: Check if Q1 report matches Q2 report for opening balances
Agent: [compares specific fields, flags mismatches]

Example 3: Form Data Validation

User: Verify all application forms have consistent applicant info
Agent: [cross-checks names, IDs, dates across forms]

Tools Used

  • read - Parse document contents
  • exec - Run document parsing tools (pdftotext, docx2txt, etc.)
  • write - Generate congruence report

Limitations

  • Scanned PDFs require OCR (may have accuracy issues)
  • Handwritten content not reliably parseable
  • Semantic equivalence (same meaning, different words) requires human judgment
  • Images/charts not analyzed for data congruence

Security Notes

  • Never send sensitive documents to external APIs
  • Process locally when possible
  • Redact confidential data from reports if sharing
  • Delete temp files after analysis

Skill ready for document congruence analysis

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Custom Mysql

Provides a secure, least-privilege interface for managing user data, personas, and config snapshots in MySQL with input validation and secret redaction.

Registry SourceRecently Updated
General

Mapick

Mapick — Skill recommendation & privacy protection for OpenClaw. Scans your local skills, suggests what you're missing, and keeps other skills from seeing yo...

Registry SourceRecently Updated
General

Docker Container Rerun All

Sequentially check and optionally update all docker run containers that already have fixed recreate commands recorded in long-term memory. Use when the user...

Registry SourceRecently Updated
General

public-media-curator

On-demand German public-media documentary picks filtered against a personal profile, delivered via the configured output channel

Registry SourceRecently Updated