csv-excel-merger
Skill1 starsChanged 4 months agoMITView on GitHub
Merge multiple CSV/Excel files with intelligent column matching, data deduplication, and conflict resolution. Handles different schemas, formats, and combines data sources. Use when users need to merge spreadsheets, combine data exports, or consolidate multiple files into one.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- OneWave-AI/claude-skillstheir own version, first seen Sep 21, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- OneWave-AI/claude-skills★ 321same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository112 other files it gives its agents.
- llms.txtllms.txt
- accessibility-auditorSkill
- agent-armySkill
- agent-swarm-deployerSkill
- agent-team-builderSkill
- agent-to-agentSkill
- animateSkill
- api-documentation-writerSkill
- api-endpoint-scaffolderSkill
- api-load-testerSkill
- brand-consistency-checkerSkill
- brandkitSkill
- brand-voice-analyzerSkill
- industrial-brutalist-uiSkill
- cavecrewSkill
- caveman-commitSkill
- caveman-compressSkill
- caveman-helpSkill
- caveman-reviewSkill
- cavemanSkill
- caveman-statsSkill
- claude-design-criticSkill
- claude-design-system-architectSkill
- claude-landing-composerSkill
- code-review-proSkill
- competitor-intel-agentSkill
- compliance-checkerSkill
- content-repurposerSkill
- cowork-sop-writerSkill
- cross-conversation-project-managerSkill
- css-animation-creatorSkill
- customer-journey-mapperSkill
- customer-panel-of-expertsSkill
- customer-review-aggregatorSkill
- dark-mode-converterSkill
- database-migratorSkill
- database-schema-designerSkill
- data-pipeline-builderSkill
- debate-simulatorSkill
- dependency-auditorSkill
- design-style-installerSkill
- design-system-generatorSkill
- design-tokens-syncSkill
- docker-debuggerSkill
- env-setup-wizardSkill
- error-boundary-creatorSkill
- expert-panelSkill
- font-pairing-suggesterSkill
- frontend-designSkill
- full-codebase-migratorSkill
- game-builderSkill
- game-recap-generatorSkill
- game-strategy-simulatorSkill
- git-pr-reviewerSkill
- gmail-to-crm-pipelineSkill
- gpt-tasteSkill
- hyperframes-local-promoSkill
- hypothesis-testing-engineSkill
- imagegen-frontend-mobileSkill
- imagegen-frontend-webSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 44
Verify the result: before reporting — see Verification.
- Distinctive: line 50
Never hand back a merge without checking it.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
CSV/Excel Merger
Merge multiple CSV or Excel files with automatic column matching, deduplication, and conflict resolution.
Contents
- Workflow — the step-by-step merge process
- Verification — confirm the merge before handing it back
- Special cases — encoding, compound keys, large files
- Guidelines — quality and transparency standards
- Example triggers
references/merge_strategies.md— column matching, conflict resolution, and dedup optionsreferences/output_template.md— the merge-report format
Workflow
- Inspect the inputs. Determine file count, format (CSV / Excel / TSV), and whether the files are attached or read from disk. Read each header; identify column names, data types, and encoding (UTF-8, Latin-1). Note the candidate primary key.
- Plan the merge. Match columns across files to one unified schema, choose a conflict-resolution rule, and pick a deduplication strategy. See
references/merge_strategies.mdfor the matching heuristics and the full set of options. Execute the merge with pandas:
import pandas as pd df1 = pd.read_csv("file1.csv") df2 = pd.read_csv("file2.csv") # Normalize, then map column names onto the unified schema for df in (df1, df2): df.columns = df.columns.str.lower().str.strip() df2 = df2.rename(columns={"firstname": "first_name", "e_mail": "email"}) merged = pd.concat([df1, df2], ignore_index=True) merged = merged.drop_duplicates(subset=["email"], keep="last") merged.to_csv("merged_output.csv", index=False)- Verify the result before reporting — see Verification.
- Report using the layout in
references/output_template.md, then offer export options: CSV (UTF-8), Excel (.xlsx), JSON, SQL INSERT statements, or Parquet for large datasets.
Verification
Never hand back a merge without checking it. After merging, assert the row math holds and the key is actually unique:
total_in = len(df1) + len(df2)
assert len(merged) > 0, "merge produced an empty frame"
assert len(merged) <= total_in, "more rows than inputs — check the concat/join"
assert merged["email"].is_unique, "duplicate keys remain after dedup"
print(f"in: {total_in} rows | out: {len(merged)} rows | removed: {total_in - len(merged)}")
print(f"null keys: {merged['email'].isna().sum()} | columns: {list(merged.columns)}")Report rows in vs. out, duplicates removed, and per-column completeness so the user can sanity-check the numbers against their own expectations.
Special cases
- Compound keys — when no single column is unique, key on a tuple:
subset=["email", "company"]. - Mixed data types — standardize dates, phone numbers, and country codes; strip whitespace and normalize casing before deduping, or near-duplicates slip through.
- Missing columns — fill absent columns with empty values and flag them in the report; never silently drop data.
- Large files (>100MB) — read in chunks (
pd.read_csv(path, chunksize=...)), report progress, and estimate memory before loading everything at once.
Guidelines
- Column matching — prefer exact, then case-insensitive, then fuzzy. Always emit the original → unified mapping so every match is auditable, and allow manual override.
- Data quality — trim whitespace, standardize formats, flag invalid values, preserve types.
- Transparency — track the source file for every surviving row, log each merge decision, and report all conflicts with their resolutions.
- Performance — chunk large files, process in batches, and show progress on long-running merges.
Example triggers
- "Merge these three CSV files"
- "Combine multiple Excel sheets into one file"
- "Deduplicate and merge customer data"
- "Join spreadsheets with different column names"
- "Consolidate contact lists from different sources"
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.

