compare-documents
CommunitySee exact legal edits with visual diffs
Authorjdrodriguez
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Compare two versions of a legal document to quickly surface additions, deletions, and modifications so reviewers can focus on substantive edits instead of manual line-by-line review.
Core Features & Use Cases
- Extract text from PDF, DOCX, and TXT files and align content at paragraph and word levels for accurate diffs.
- Produce a side-by-side visual comparison (comparison.html), a change heatmap (change_heatmap.html), a human-readable summary (comparison_summary.txt), and a structured change log (change_log.json) for downstream processing.
- Use cases include contract version review, policy updates, litigation document tracking, and preparing redlines or change summaries for clients or opposing counsel.
Quick Start
Compare the original and revised files to generate a visual side-by-side diff, heatmap, and structured change log for review.
Dependency Matrix
Required Modules
python-docxpdfplumberplotlydocx
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: compare-documents Download link: https://github.com/jdrodriguez/legal-toolkit/archive/main.zip#compare-documents Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.