- Home
- Skills
- Sales & Lead Gen
- Lead Scoring & Prioritization
Lead Scoring & Prioritization
Train a local logistic regression model to score and prioritize sales leads based on historical conversion data.
$10
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 Tier | Threshold | Count | Avg. Probability |
|---|---|---|---|
| High | >= 80% | 14 | 87.2% |
| Medium | 50% - 79% | 32 | 64.5% |
| Low | < 50% | 58 | 21.3% |
Scored Leads Preview (Top 5)
| Interaction Score | Visits | Total Spent | Probability | Priority | |
|---|---|---|---|---|---|
| j.doe@example.com | 88 | 12 | 450.00 | 0.92 | High |
| tech-lead@startup.io | 75 | 8 | 1200.00 | 0.89 | High |
| m.smith@corp.com | 62 | 15 | 0.00 | 0.74 | Medium |
| sales@retailer.net | 45 | 4 | 250.00 | 0.52 | Medium |
| info@blog.org | 12 | 1 | 0.00 | 0.08 | Low |
Next steps
- Open
scored_leads.csvto see the full ranked list. - Import the "High" priority leads into your CRM for immediate outreach.
- Perform a holdout test on a segment of these leads to validate the model's precision before scaling.
historical_data.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
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
- Provide a labeled training CSV and a separate CSV of new prospective leads.
- The agent validates that your files contain required columns like
interaction_scoreandvisits. - The agent runs a Python script to train the model and score the new leads locally.
- 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
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 17 days ago
- Software
Python
Permissions
What's inside
Frequently Asked Questions
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.