latex-diff

Compare LaTeX documents and generate semantic change summaries with severity grading.

127|22|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/flonat/flonat-research --skill latex-diff
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: latex-diff
Source: https://github.com/flonat/flonat-research/tree/main/skills/latex-diff
Command: npx skills add https://github.com/flonat/flonat-research --skill latex-diff

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires latexdiff-agent, and includes scripts (resource) components.

What problem does it solve?

The latex-diff Skill solves the challenge of comparing and understanding the differences between two versions of a LaTeX document, whether they are individual files, entire project directories, or specific git revisions.

Core Features & Use Cases

  • Document Version Comparison: Compare two versions of LaTeX documents to see text, equation, and structure changes.
  • Semantic Change Reporting: Reports on semantic changes with severity grading to focus on the most impactful modifications.
  • Use Case: Ideal for researchers or writers who need to track changes between versions of their LaTeX documents, such as when preparing for a paper revision or updating a preprint.

Quick Start

Run the 'latex-diff' skill to compare 'old-version.tex' with 'new-version.tex' and get a summary of changes.

Frequently Asked Questions about latex-diff

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

FAQPage Schema
How do I compare two LaTeX documents to see what changed?

To compare LaTeX documents, the latex-diff Skill processes file, directory, or git revision inputs to identify semantic changes and generate human-readable change summaries. It highlights text, equation, and structural modifications between versions.

Can I track LaTeX file changes across different git revisions?

Yes, latex-diff handles git revision inputs to compare LaTeX file changes across different versions. It identifies semantic modifications between revisions and generates machine-readable summaries for academic writing workflows.

What is semantic change reporting for LaTeX papers?

Semantic change reporting for LaTeX papers analyzes document modifications and assigns severity grading to focus on the most impactful changes. It evaluates text, equation, and structural differences rather than just raw line-by-line text diffs.

Do I need latexdiff-agent to compare LaTeX files?

Yes, latexdiff-agent is a required dependency to compare LaTeX files using this Skill. The agent provides the underlying processing logic needed to evaluate semantic changes and generate readable summaries for academic writing.

How do I compare an entire LaTeX project directory instead of a single file?

To compare an entire LaTeX project directory, provide the directory paths as inputs to the latex-diff Skill. It processes the full directory structure to identify semantic changes across all included LaTeX documents and generates consolidated summaries.

What is the best way to prepare for a LaTeX paper revision?

The best way to prepare for a LaTeX paper revision is comparing old and new document versions to track semantic changes. This Skill generates severity-graded change summaries, helping researchers focus on the most impactful modifications before updating a preprint.