compare-docs
Installation
SKILL.md
Semantic Document Comparison Command
Task: Compare two documents semantically: {{arg1}} vs {{arg2}}
Goal: Determine if documents contain the same semantic content AND preserve relationships (temporal, conditional, cross-document) despite different wording/organization.
Method: Enhanced claim extraction + relationship extraction + execution equivalence scoring
⚠️ CRITICAL: Independent Extraction Required
This command MUST extract claims from BOTH documents independently. NEVER:
- Pre-populate with "items to verify" or "improvements to check"
- Prime the extractor with knowledge of what changed between documents
- Use targeted confirmation instead of full extraction
Targeted validation (telling extractor what to look for) inflates scores by confirming a checklist rather than independently discovering all claims.