document-comparison

Compare PDF documents and highlight differences with page references.

39|6|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/vladkesler/initrunner --skill document-comparison
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-comparison
Source: https://github.com/vladkesler/initrunner/tree/main/examples/roles/pdf-analyst/skills/document-comparison
Command: npx skills add https://github.com/vladkesler/initrunner --skill document-comparison

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compare two or more PDF documents by extracting targeted sections, building a structured comparison matrix, and highlighting differences with page references.

Core Features & Use Cases

  • Identify the documents to compare and confirm which PDFs to analyze.
  • Extract metadata and targeted sections (clauses, terms, pages) from each document for accurate comparison.
  • Build a side-by-side matrix that highlights differences and includes precise page references.

Quick Start

Compare two PDFs (e.g., contract-a.pdf and contract-b.pdf) and generate a structured difference matrix with page references.

Frequently Asked Questions about document-comparison

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare two PDF documents to identify clause differences?

To compare PDF documents, the Skill extracts targeted sections from each file and builds a structured side-by-side difference matrix that highlights specific clause variations with precise page references.

What is the best way to generate a diff matrix for legal contracts?

Generating a diff matrix for legal contracts involves extracting targeted clauses from multiple PDFs and presenting the differences in a structured report with precise page references for easy review.

Can I extract and compare specific sections from multiple PDFs?

Yes, you can extract targeted sections like clauses, terms, or specific pages from multiple PDFs to ensure accurate comparison of precise document areas rather than analyzing the entire file.

Does document comparison work for technical and policy PDFs?

Document comparison works effectively for technical, policy, and legal PDFs where identifying precise section, term, or clause differences matters and requires structured reporting with page references.

How are page references included in PDF comparison results?

Page references are included directly within the structured difference matrix, allowing users to pinpoint exactly where variations occur across the compared PDF documents during review.