# Compare Files

> compare-files

- Skill: `claudiawong522/compare-files` (Agent Skill)
- Install (CLI): `npx skillmds@latest add claudiawong522/compare-files`
- Raw SKILL.md: https://api.skillmd.com/api/skills/claudiawong522/compare-files/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: claudiawong522 (https://skillmd.com/u/claudiawong522)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/claudiawong522/compare-files

---

# compare-files

Compare the contents of two files to identify differences and similarities.

# Compare Files

This skill reads two files and compares their contents to help you understand what's different between them.

## When to Use
- You need to see what changed between two versions of a file
- You want to identify differences in configuration files, code, or documentation
- You're tracking variations between similar files in different locations

## Steps
1. Specify the paths to the two files you want to compare
2. The skill reads both files completely
3. Review the contents side-by-side or ask Claude to highlight the key differences
4. Use the comparison to understand changes, spot issues, or merge updates

## Tips
- Works best with text-based files (code, config, markdown, etc.)
- For large files, consider asking Claude to focus on specific sections
- Use this before making edits to understand the current state of related files
- Great for code reviews, configuration audits, and documentation tracking

