with one click
document-comparison
Compare two or more PDF documents by extracting targeted sections, building a structured comparison matrix, and highlighting differences with page references.
Menu
Compare two or more PDF documents by extracting targeted sections, building a structured comparison matrix, and highlighting differences with page references.
| name | document-comparison |
| description | Compare two or more PDF documents by extracting targeted sections, building a structured comparison matrix, and highlighting differences with page references. |
Document comparison skill.
Use this skill when the user asks you to:
List available files and confirm which documents to compare. If the user is vague ("compare the two contracts"), list the PDFs and ask which ones they mean.
Call extract_pdf_metadata on each document to get:
This helps you understand the scope and identify if one is a revision of the other (same title, different dates).
Use the think tool to decide what to compare. Common dimensions:
Ask the user what matters most if it is not clear from context.
Extract the relevant sections from each document. Use page ranges to keep extractions focused:
Use the think tool to construct a comparison. Structure it as:
| Dimension | Document A (page) | Document B (page) | Difference |
|----------------|--------------------|--------------------|------------|
| Term length | 12 months (p.3) | 24 months (p.4) | B is 2x |
| Payment terms | Net 30 (p.5) | Net 60 (p.5) | B is longer |
For numerical differences, use the calculator to compute deltas and percentages.
Structure the comparison report as:
Translate natural language image descriptions into detailed, structured DALL-E prompts with subject, style, composition, lighting, and mood specifications.
Decompose mathematical problems into sub-expressions, evaluate each one with the calculator tool, and present the full working chain. Handles arithmetic, trigonometry, logarithms, and financial formulas.
Extract structured data from web pages using browser snapshot and text tools, then process it into tables, comparisons, or summaries using Python.
Analyze endpoint latency trends using historical check data from memory. Detects slow degradation, spikes vs sustained issues, and calculates baseline deviations.
Validate API response structure and content. Detects schema drift, unexpected null values, and abnormal response sizes.
Check SSL/TLS certificate expiry and chain validity using openssl. Alerts on certificates expiring within 30 days.