Lead Scoring and Prioritization for CRM CSV Exports

    by Nate Freed

    1

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    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

    #ScoreLeadCompany / titleStageWhyNext action
    1100Elena GarciaHarborline Freight, COOConnected14 activities, active yesterday, all ICP rulesAvery: book a scoping call this week and ask who else signs off
    291Dana ReyesNorthwind Analytics, VP of OperationsIn Progress9 activities, 2 days ago, full ICP matchAvery: send a recap and propose a demo slot
    380Ravi KumarQuantleaf, VP EngineeringIn ProgressSenior, right industry and size, not an ops/data roleJordan: ask who owns operations or data and request an intro
    462Ivy ChenNorthwind Analytics, Marketing ManagerOpenSame account as Dana; not seniorAvery: qualify her role in the decision and coordinate with the Dana thread
    551Marcus LeeBluepeak Logistics, Director of Supply ChainOpen17 days quiet; 1,200 staff is above range; no phoneAvery: 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

    Generated

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    Reads
    the
    lead
    CSV
    and
    optional
    activity-log
    user
    names
    (read-only)
    config
    mapping
    JSON
    files
    Writes
    only
    output
    paths
    given
    on
    command
    line
    normally
    in
    current
    working
    directory:
    ranked
    summary
    agent's
    markdown
    report

    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.

    Listed7 days ago

    What's inside

    Creator

    N

    Nate Freed

    24 skills on Agensi

    Frequently Asked Questions

    Any CRM or spreadsheet that can export CSV. It detects common header names from typical HubSpot, Pipedrive and Salesforce exports and from hand-made sheets. Run the inspect step to see what was matched. For any header it misses, add one line to a JSON mapping file.

    That category is skipped, its weight goes to the other categories, and the summary says what was not scored. You can also pass a separate activity-log CSV (one row per email, call or meeting) to supply engagement and recency.

    Yes. Weights, points per activity type, recency bands, the stale penalty, tier thresholds, excluded stages, and every ICP rule and exclusion are in one JSON config. Each lead's breakdown shows exactly how its score was reached.

    No. The script uses only the Python standard library, makes no network calls, and never changes your input file.

    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.