Data Compare Engine
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_26bdbd50/data-compare-engine into your AI assistant.
About this skill
Problem Being Solved
When two CSV/XLSX files come from different systems, export formats, or manual edits, manually checking column names, row counts, and amount discrepancies can be costly. The problem is sharper when column names are not identical but refer to similar business concepts. Data Compare Engine targets this kind of structured data reconciliation, turning column matching, difference counting, amount-difference calculation, and report generation into one workflow.
How The Skill Works
The skill accepts two uploaded files, reads them with pandas, attempts to detect encoding, and stores them under /tmp/data-compare-engine/. It then uses an LLM via environment variables such as OPENAI_API_KEY or ANTHROPIC_API_KEY to infer likely corresponding columns between the two files. If automatic matching is not precise enough, you can manually specify the Join Key. During comparison, it reports fully matched rows, rows only in the left file, rows only in the right file, difference ratio, and, when an amount column is specified, the total amount discrepancy. The final Markdown report includes a statistical summary, an AI explanation of the differences, grouped details, and an optional CSV export of the discrepancy results.
Boundaries And Notes
This skill is best suited to tabular CSV/XLSX files, not direct database queries, message streams, or unstructured logs. Column matching depends on the LLM's interpretation of field names, so ambiguous columns should be handled with an explicit Join Key. Amount comparison only works if the relevant amount column is identified; otherwise the output remains row-level difference statistics. Different plans may also impose call-count and row-size limits, so large files should be checked against the applicable tier before running the comparison.
Use Cases
- A finance analyst compares receivable system exports with bank statements to find mismatched order amounts and export discrepancy details
- A data engineer receives two customer lists with different column names, then auto-matches equivalent columns and counts rows present only on one side
- An operations manager compares two event signup sheets to identify added or missing users and export CSV discrepancy results
- An analyst compares row-level differences between two reports and generates a Markdown summary with total amount discrepancies
Best For
- A finance analyst handling monthly reconciliation who needs to quickly locate amount-mismatch rows between two accounting spreadsheets
- A data engineer merging customer exports from two systems and relying on automatic column matching to identify equivalent fields
- A business analyst comparing before-and-after data snapshots who needs a reviewable Markdown discrepancy report
- A product operations manager validating data quality and needing to count added or missing records across two signup sheets
Related Skills
Batch-classify pasted text or CSV rows with preset and custom templates, outputting structured labels and confidence scores for data organization and annotation workflows.
Analyzes product VOC and brand reputation events across public news, community, and social pages, delivering Markdown, Excel, and optional HTML reports.
Reads Excel/CSV files, cleans and analyzes them, then generates a charted Excel summary and interactive HTML dashboard.
Performs local, paragraph-level cross-document similarity checks and produces an HTML report with revision suggestions.