Lead Scoring & Prioritization

    by Shashwat Aneja

    1

    Train a local logistic regression model to score and prioritize sales leads based on historical conversion data.

    $10

    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 & Prioritization

    Example session with this skill installed

    I have historical_data.csv and today_leads.csv. Can you score the new leads using a high threshold of 80% and a medium threshold of 50%?

    • Read your context and instructions
    • Compiled the lead scoring
    • Generated the data export

    I have processed your leads using the provided CSV files. I trained a logistic regression model on historical_data.csv and applied it to today_leads.csv with your custom thresholds (High >= 80%, Medium >= 50%).

    The model has been executed, and the results are saved to scored_leads.csv.

    Lead Scoring Results Summary

    Priority TierThresholdCountAvg. Probability
    High>= 80%1487.2%
    Medium50% - 79%3264.5%
    Low< 50%5821.3%

    Scored Leads Preview (Top 5)

    EmailInteraction ScoreVisitsTotal SpentProbabilityPriority
    j.doe@example.com8812450.000.92High
    tech-lead@startup.io7581200.000.89High
    m.smith@corp.com62150.000.74Medium
    sales@retailer.net454250.000.52Medium
    info@blog.org1210.000.08Low

    Next steps

    1. Open scored_leads.csv to see the full ranked list.
    2. Import the "High" priority leads into your CRM for immediate outreach.
    3. Perform a holdout test on a segment of these leads to validate the model's precision before scaling.

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

    Sales teams often struggle with overflowing lead lists and no objective way to prioritize outreach. This skill automates lead scoring by training a local logistic regression model on your historical data to rank new prospects by conversion probability.

    What it does

    • Model Training trains a logistic regression model using your labeled historical CSV data.
    • Lead Scoring calculates conversion probabilities for new prospects based on interaction metrics.
    • Priority Tiering categorizes leads into High, Medium, and Low buckets for immediate follow-up.
    • Data Validation checks for required features like interaction scores, site visits, and historical spend.
    • Result Export generates a new CSV containing the original data plus scores and priority labels.

    How it works

    1. Provide a labeled training CSV and a separate CSV of new prospective leads.
    2. The agent validates that your files contain required columns like interaction_score and visits.
    3. The agent runs a Python script to train the model and score the new leads locally.
    4. Review the summary of lead distribution across priority tiers and access the output CSV.

    Frameworks & tools

    This skill uses Python and standard data science libraries (scikit-learn, pandas). It executes scripts locally and does not require external API connections to lead enrichment services.

    Why this beats prompting it yourself

    Prompting an LLM to "score leads" often results in hallucinations or inconsistent logic based on vibes. This skill uses actual statistical regression on your specific data, ensuring the prioritization is mathematically grounded in your historical conversion patterns.

    Use cases

    • Prioritize daily sales outreach for a growing SDR team.
    • Identify high-value prospects for targeted marketing campaigns.
    • Re-engage old leads by re-scoring them against recent conversion trends.
    • Filter out low-probability prospects to save sales resources.

    Known limitations

    Requires CSVs with specific headers: interaction_score, visits, and total_spent. The model is a simple logistic regression and does not account for complex non-linear relationships.

    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 17 days ago

    Software
    Python

    Permissions

    Terminal / Shell
    Write Files
    Listed17 days ago

    What's inside

    Frequently Asked Questions

    The skill requires CSV files containing `interaction_score`, `visits`, and `total_spent` columns. It uses these specific features to build a mathematically grounded model based on your historical conversion patterns.

    Unlike LLM prompts that use general logic, this skill trains a local Scikit-Learn model on your actual historical data. This ensures your lead scores are based on your specific sales history rather than the AI's 'best guess.'

    Since the logistic regression model is trained and executed locally using Python, your sensitive lead data never leaves your environment or gets sent to external enrichment APIs.

    You receive the logic for the Lead Scoring agent, including the Python-based training and inference scripts, data validation protocols, and the configuration required to run it within your AI agent framework.

    This skill is designed for agents with Python execution capabilities. It requires a local environment with the Pandas and Scikit-Learn libraries installed to perform the statistical modeling.

    New in Sales & Lead Gen

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Sales & Lead Gen.