- Home
- Skills
- Business & Operations
- Lead Scoring and Prioritization for CRM CSV Exports
Lead Scoring and Prioritization for CRM CSV Exports
by Nate Freed
Score and rank leads from any CRM CSV export with a transparent, editable rubric, then get next actions for top leads and a pipeline summary.
$5
Lead Scoring and Prioritization for CRM CSV Exports
Example session with this skill installed
Here's our HubSpot export, contacts.csv (12 contacts; columns include First Name, Last Name, Email, Phone Number, Company Name, Job Title, Industry, Number of Employees, Lead Status, Contact owner, Original Source, Last Activity Date, Number of Sales Activities). We sell analytics software to ops and data leaders at software, fintech and logistics companies with 50-1000 staff. No students or interns. Who should we call this week? Top 5.
- Read your context and instructions
- Compiled the lead scoring
- Generated the data export
Lead priorities: contacts.csv (as of 2026-11-27)
Pipeline summary
- 11 leads scored: 3 hot, 2 warm, 6 cold (1 excluded as Unqualified).
- Momentum is in Avery Kim's book: 2 of the 3 hot leads, average score 76 vs 29.7 for Jordan Patel.
- Risk: 2 leads have gone 90+ days quiet (118 and 209 days); a CTO created yesterday has never been contacted.
- Data quality: 4 of 12 records have no phone; row 12 has no name or email.
Top 5 leads
| # | Score | Lead | Company / title | Stage | Why | Next action |
|---|---|---|---|---|---|---|
| 1 | 100 | Elena Garcia | Harborline Freight, COO | Connected | 14 activities, active yesterday, all ICP rules | Avery: book a scoping call this week and ask who else signs off |
| 2 | 91 | Dana Reyes | Northwind Analytics, VP of Operations | In Progress | 9 activities, 2 days ago, full ICP match | Avery: send a recap and propose a demo slot |
| 3 | 80 | Ravi Kumar | Quantleaf, VP Engineering | In Progress | Senior, right industry and size, not an ops/data role | Jordan: ask who owns operations or data and request an intro |
| 4 | 62 | Ivy Chen | Northwind Analytics, Marketing Manager | Open | Same account as Dana; not senior | Avery: qualify her role in the decision and coordinate with the Dana thread |
| 5 | 51 | Marcus Lee | Bluepeak Logistics, Director of Supply Chain | Open | 17 days quiet; 1,200 staff is above range; no phone | Avery: re-engage with a yes/no question on timing; find a phone number |
Breakdown (rank 1): engagement 35.0/35.0 (activities 14x1=12 (max); 12/12) | recency 20.0/20.0 (1 day ago) | fit 35.0/35.0 | completeness 10.0/10.0
Notes
- ICP rules: senior title 25, ops/data role 15, industry 30, 50-1000 employees 30; students/interns capped at 25.
- Files: contacts_ranked.csv, contacts_summary.json, lead-scoring.config.json
contacts.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
Turn a raw CRM export into a ranked call list you can explain. A standard-library Python script maps your columns, then scores every lead from 0 to 100. It detects common HubSpot, Pipedrive, Salesforce and spreadsheet headers on its own, and takes a small mapping file for anything else. The score has four parts:
- Engagement: emails, calls, meetings and other activities, taken from count columns or from a separate activity log
- Recency: days since the last activity, with an optional stale-lead penalty
- Fit: rules built from the ideal customer profile you describe (titles, industries, company size, target accounts), plus caps or penalties for bad fits
- Completeness: whether contact and company fields are filled in
Weights, tiers, recency bands, excluded stages and ICP rules all live in one JSON config. Each lead gets a rank, a per-category breakdown and flags (duplicate, invalid email, never contacted, stale). If a column is missing, its signal is dropped and the weight goes to the other parts, so no lead is scored zero for data the export never had. Your agent then writes a one-line next action for each top lead and a short pipeline summary. It handles semicolon files, day-first dates and European number formats, and runs locally with no network access.
Works only on CSV files. It does not connect to any CRM, and it does not read Excel files, so save the sheet as CSV first. Scores come from a transparent rule-based rubric, not a trained conversion model. Header auto-detection covers common names; unusual headers need a small JSON mapping file. Fit rules match whole words and number ranges, not meaning, so title variants have to be listed in the rules. Ambiguous numbers like "1,200" are read US-style unless the file is semicolon-delimited or number_format is set. Ambiguous slash dates are read month-first unless the column shows otherwise or date_format is set. Duplicates and bad emails are flagged, not fixed. Free-text notes are not scored. Next actions are written by the agent from the data in the file and are suggestions only. Nothing is sent or updated anywhere.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Python 3.8+ (standard library only)
A CSV export of leads, contacts,ordeals
Permissions
File Scopes
No network access. The script never modifies the input CSV and refuses to write over it. init-config and inspect --write-mapping will not overwrite an existing file unless --force is passed. Output text cells that start with = + - @ get a leading apostrophe so spreadsheet apps do not run them as formulas.
What's inside
Frequently Asked Questions
New in Business & Operations
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Business & Operations.