A sophisticated comparison tool that identifies every discrepancy between digital contract templates and scanned, signed documents.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install contract-diff
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install contract-diff using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Contract Diff is a powerful utility within the Openclaw Skills library designed to streamline the verification of legal documents. It addresses the common challenge of comparing a clean digital template (Word or PDF) against a physical, scanned, and stamped version that has been returned by a counterparty. By utilizing advanced optical character recognition and text alignment algorithms, the skill ensures that no unauthorized changes go unnoticed in the final signed version.
This tool is essential for legal teams and procurement professionals who need to maintain version control over physical documents. As part of the Openclaw Skills ecosystem, it provides a structured way to handle OCR errors and similarity matching, ensuring that even minor modifications in punctuation or wording are flagged for human review.
To integrate this capability from Openclaw Skills, ensure you have the Tesseract OCR engine installed on your system.
# For Windows users
winget install tesseract-ocr.tesseract
# Install required Python libraries
pip install python-docx PyMuPDF pillow pytesseract
# Execute a comparison
python scripts/compare.py template.docx signed_contract.pdf -o report.docx
The skill organizes comparison data into structured outputs to facilitate easy review. The following table describes the primary data outputs generated during the workflow:
| Output Component | Format | Description |
|---|---|---|
| Comparison Report | .docx | A formatted Word document containing the summary, risk level, and detailed tables of changes. |
| Visual Highlight | .png | An image of the scanned contract with yellow highlights overlaid on modified text regions. |
| Difference Metadata | JSON/Internal | Structured data mapping template sentences to their scanned counterparts with similarity ratios. |
Loading
An advanced AI-driven research skill for deep literature analysis, automated synthesis, and structured knowledge extraction.

A comprehensive media acquisition skill utilizing yt-dlp to download video, audio, and metadata from 1000+ platforms with automated Telegram delivery.

A powerful integration that leverages the GitHub CLI to automate pull requests, issues, and workflow monitoring directly within your AI agent environment.

A unified command-line interface for managing Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

A sophisticated command-line router that enables AI agents to perform deep code editing, refactoring, and reviews using Cursor and Qoder.

Analyze YouTube channel posting patterns to identify the high-performance golden hours for maximum views and engagement.








































