- Home
- Skills
- Productivity
- B2B Lead Sheet Cleaner & Deduplicator
Works with the AI Agents you already use
B2B Lead Sheet Cleaner & Deduplicator
by Isaac Chavez
Turn messy spreadsheets and B2B lead exports into a clean, deduplicated, formula-safe 3-sheet Excel workbook without touching your original file.
Free
What it does
- Cleans messy spreadsheets and lead exports into a polished three-sheet Excel workbook
- Merges duplicate leads by email, phone, website, or business name without losing missing fields
- Logs every merged duplicate row and match rule in a transparent audit sheet
- Scores each lead as High, Medium, or Low contact readiness with color-coded badges
- Neutralizes unsafe spreadsheet formulas while leaving your original file untouched
Who it's for
Sales reps and agencies with messy CRM exports
Deduplicates prospect sheets, fills missing phone or email fields from merged rows, and scores outreach readiness.
Try asking: “Clean and deduplicate messy_prospects.csv into a formatted Excel workbook with a duplicate log.”
Founders and freelancers doing local B2B outreach
Turns raw CSV, JSON, or Excel lists into filterable spreadsheets without installing heavy data libraries.
Try asking: “Merge duplicate businesses in my_leads.xlsx and highlight High-readiness leads.”
Operations managers auditing vendor directories
Preserves the original file untouched and logs every merged duplicate row with the exact match rule used.
Try asking: “Audit vendor_list.csv for duplicate contacts and save a clean 3-sheet Excel report.”
Marketing analysts sharing external lead files
Neutralizes unsafe spreadsheet formulas and removes N/A or blank rows before sending files to clients.
Try asking: “Sanitize external_leads.json and export a clean Excel workbook with contact coverage metrics.”
B2B Lead Sheet Cleaner & Deduplicator
Example session with this skill installed
Clean and deduplicate messy_leads.csv, merge missing contact fields from duplicates, score contact readiness, and export to cleaned_leads.xlsx without modifying my original file.
- Read your context and instructions
- Compiled the b2b lead sheet
- Generated the data export
Done — your original file messy_leads.csv was left untouched, and the cleaned 3-sheet workbook was saved to cleaned_leads.xlsx.
Audit Summary
- Input Format: CSV (
12raw rows) - Clean Unique Leads:
9 - Duplicates Merged:
2(row 3 merged into Café Mirador del Valle by Phone; row 5 merged into Tostadores Laureles by Email, rescuing missing phone+57 604 555 0102) - Empty Rows Skipped:
1 - Contact Coverage:
5valid emails (56%),7phones (78%),6verified websites (67%) - Contact Readiness:
6High (67%),2Medium (22%),1Low (11%) - Safety: Neutralized unsafe formula strings (
=HYPERLINK,+cmd,-2+3) and blockedjavascript:links across all sheets.
Worksheets Created
Clean Leads— Formatted navy headers, auto-filter, frozen top row, verified clickable links, and color-coded High/Medium/Low Contact Readiness cells.Duplicates Merged— Exact row-by-row duplicate audit log with match rules and merged fields.Summary— Input totals, contact coverage KPIs, readiness breakdown, and top cities.
messy_leads.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
The Problem
Exported lead lists from CRMs, web forms, events, and local directories are full of duplicate businesses, inconsistent phone formats, N/A placeholders, broken website links, and risky external text. Cleaning them manually in Excel wastes hours and risks silently losing contact fields that only existed on a duplicate row.
How It Works
B2B Lead Sheet Cleaner & Deduplicator runs locally on your machine with zero paid tool fees and zero heavy dependencies (only lightweight openpyxl):
- Auto-detects your input format: Reads
.csv(comma, semicolon, tab, or pipe separated),.json, or.xlsxfiles — automatically mapping common English and Spanish lead column names. - Cleans and normalizes every field: Removes
N/A/null/TBDplaceholders, trims whitespace, validates email addresses, upgrades bare website domains to verified clickablehttps://links, and preserves accented international text. - Deduplicates without losing data: Matches duplicates by Record/Place ID, Email, Phone, Website Domain, or accent-folded Business Name + Address, merging missing contact fields from duplicate rows into the kept record.
- Scores Contact Readiness: Tags each unique lead as High (2+ contact channels), Medium (1 channel), or Low (0 channels) with color-coded cells.
- Protects your workbook and original file: Neutralizes unsafe spreadsheet formulas (
=,+,-,@, tab/CR), strips illegal control characters, and refuses to overwrite your original file.
What You Get (3 Formatted Worksheets)
Clean Leads— Styled navy header, frozen top row, auto-filter, alternating row shading, verified clickable links, numeric ratings/reviews, and color-coded Contact Readiness tiers.Duplicates Merged— Transparent audit log showing every duplicate input row number, which lead it merged into, which rule matched, and which missing fields were rescued.Summary— Total raw rows, unique leads kept, duplicates merged, empty rows skipped, Email/Phone/Website coverage percentages, readiness breakdown, and top cities.
Example Prompts (English & Español)
- "Clean and deduplicate
raw_prospects.csvand export a formatted Excel workbook with a duplicate audit log." - "Merge duplicate businesses in
leads_export.xlsx, score contact readiness, and save toclean_leads.xlsx." - "Limpia y elimina duplicados de
prospectos_sucios.csvy genera un Excel formateado con hoja de resumen y registro de duplicados."
Cleans and deduplicates local files only—does not search the web or enrich missing emails/phones from external databases. Reads the active (first) worksheet when given an Excel (.xlsx) input file. Requires Python 3.9+ and openpyxl locally.
- **Standalone script:** `scripts/clean_leads.py` (19.5 KB, Python stdlib + `openpyxl` only—no `pandas` or `numpy` required). Zero network calls, zero subprocesses, zero environment variable reads. - **Supported inputs:** `.csv` (auto-detects `,`, `;`, tab, `|` delimiters + UTF-8 BOM), `.json` (lists or objects with `results`/`leads`/`items`), and `.xlsx` (active sheet). - **Files written:** Only the new `.xlsx` output path (refuses to overwrite the input file). - **One-time setup:** `pip install openpyxl` (Python 3.9+).
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
- Software
Python 3.9+openpyxl
Permissions
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.