xldiff
Skill1 starsChanged 3 months agoMITView on GitHub
Use when the user asks to compare, diff, or find differences between two Excel spreadsheets or sheets within a spreadsheet. Also use when the user mentions xlsx diff, spreadsheet comparison, or wants to know what changed between two Excel files.
In this repository19 other files it gives its agents.
- debug-remote-pipelineSkill
- dictateSkill
- dtcatSkill
- dtdiffSkill
- dtfilterSkill
- esync-setupSkill
- hathifilesSkill
- hathitrust-lookupSkill
- julia-releaseSkill
- marginSkill
- mint-gh-tokenSkill
- nclqSkill
- pr-walkthroughSkill
- rendering-spec-docsSkill
- wrds-downloadSkill
- wrds-downloadSkill
- xlcatSkill
- xlfilterSkill
- xlsetSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 56
Positional (default, no
--key): Every column defines identity. - Very specific: line 71
Use --key if rows have a natural identity column (ID, date, etc.)
- Very specific: line 72
Use --tolerance for financial/scientific data with float rounding
- Very specific: line 73
Use --cols to ignore noisy columns (timestamps, audit fields)
- Very specific: line 74
Use --format json for structured output, --format markdown for LLM consumption
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
xldiff — Excel Sheet Comparison
Compare two Excel sheets and report added, removed, and modified rows.
Quick Reference
# Compare two files (first sheet, positional mode)
xldiff old.xlsx new.xlsx
# Compare by key column
xldiff old.xlsx new.xlsx --key ID
# Composite key
xldiff old.xlsx new.xlsx --key Date,Ticker
# Compare specific sheets in the same file
xldiff data.xlsx:Sheet1 data.xlsx:Sheet2
# Select sheet by name or 0-based index
xldiff file.xlsx:Sales other.xlsx:Revenue
# Skip metadata rows (3 in file1, 5 in file2)
xldiff file1.xlsx file2.xlsx --skip 3,5
# Float tolerance (differences <= 0.01 treated as equal)
xldiff old.xlsx new.xlsx --key ID --tolerance 0.01
# Only compare specific columns
xldiff old.xlsx new.xlsx --key ID --cols Name,Score
# Output formats
xldiff old.xlsx new.xlsx --format markdown
xldiff old.xlsx new.xlsx --key ID --format json
xldiff old.xlsx new.xlsx --format csvFlags
| Flag | Default | Purpose |
--key <cols> | (none) | Row identity columns (name or column letter), comma-separated |
--cols <cols> | all | Columns to compare (key columns always included) |
--skip <n>[,m] | 0 | Rows to skip before header row |
--tolerance <f> | (none) | Numeric tolerance for float comparisons |
--format | text | text, markdown, json, or csv |
--no-color | false | Force-disable ANSI colors (auto-detected) |
Diff Modes
Positional (default, no --key): Every column defines identity. Rows match exactly or differ. Reports added/removed only.
Key-based (--key specified): Match rows by key columns, compare remaining columns cell by cell. Reports added, removed, and modified with per-cell old/new values. Tolerance applies only in this mode.
Exit Codes
| Code | Meaning |
| 0 | No differences |
| 1 | Differences found |
| 2 | Error |
Workflow
- Identify the two files (or file + two sheets) to compare
- Use
--keyif rows have a natural identity column (ID, date, etc.) - Use
--tolerancefor financial/scientific data with float rounding - Use
--colsto ignore noisy columns (timestamps, audit fields) - Use
--format jsonfor structured output,--format markdownfor LLM consumption
Common Patterns
What changed between these files:
xldiff old.xlsx new.xlsx --key IDCompare two tabs in the same workbook:
xldiff file.xlsx:Q1 file.xlsx:Q2Ignore small rounding differences:
xldiff old.xlsx new.xlsx --key ID --tolerance 0.001Pipe structured results for further processing:
xldiff a.xlsx b.xlsx --key ID --format json | jq '.modified'Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

