# Lead Scoring & Prioritization

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

Lead Scoring & Prioritization is a paid AI agent skill on Agensi by Shashwat Aneja, in Sales & Lead Gen. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [Shashwat Aneja](https://www.agensi.io/creators/shashwat-aneja)
- Category: [Sales & Lead Gen](https://www.agensi.io/skills/sales-lead-gen)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/lead-scoring-prioritization
- Tags: sales, python, lead-scoring, data-analysis, scikit-learn

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

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Lead Scoring & Prioritization skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific data columns do I need to have in my CSV for this skill to work?

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.

### How is this more accurate than just asking an AI to rank my leads?

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

### Is my lead data sent to any third-party services for processing?

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.

### What is included in the purchase of this skill?

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.

### What are the technical requirements for running this skill?

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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
